Browse Source

业务数据--方法DTO

master
buaixuexideshitongxue 1 month ago
parent
commit
a21a0e1012
  1. 27
      src/main/java/com/biutag/supervision/pojo/dto/businessPolice/ZfbaAggDTO.java

27
src/main/java/com/biutag/supervision/pojo/dto/businessPolice/ZfbaAggDTO.java

@ -0,0 +1,27 @@
package com.biutag.supervision.pojo.dto.businessPolice;
import com.biutag.supervision.pojo.entity.GBaseAJJBXX;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.util.List;
@Getter
@Setter
@Schema(description = "执法办案按天聚合 DTO(受/立/破)")
public class ZfbaAggDTO {
@Schema(description = "类型:4=受案,5=立案,6=破案")
private Integer type;
@Schema(description = "聚合后的办案人数据(按天+办案人ID聚合)")
private List<GBaseAJJBXX> list;
public static ZfbaAggDTO of(Integer type, List<GBaseAJJBXX> list) {
ZfbaAggDTO dto = new ZfbaAggDTO();
dto.setType(type);
dto.setList(list);
return dto;
}
}
Loading…
Cancel
Save