24 changed files with 386 additions and 7 deletions
@ -0,0 +1,28 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2022/11/16 13:26 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class RHZKStatisticsFormDTO implements Serializable { |
||||
|
private static final long serialVersionUID = -4474168123286467820L; |
||||
|
|
||||
|
private String orgId; |
||||
|
|
||||
|
private List<String> orgIds; |
||||
|
|
||||
|
/** |
||||
|
* grid:网格;village:小区; |
||||
|
*/ |
||||
|
private String orgType; |
||||
|
|
||||
|
private String staffId; |
||||
|
private String customerId; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,38 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import com.epmet.commons.tools.constant.NumConstant; |
||||
|
import com.fasterxml.jackson.annotation.JsonIgnore; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2022/11/16 09:15 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class RHZKStatisticsResultDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 6493812449146476415L; |
||||
|
|
||||
|
private Integer userTotal = NumConstant.ZERO; |
||||
|
|
||||
|
/** |
||||
|
* 人户一致,人在户不在,户在人不在, |
||||
|
* 为空的 暂不清楚 |
||||
|
*/ |
||||
|
private Integer rhyzUserTotal = NumConstant.ZERO; |
||||
|
private BigDecimal rhyzUserRatio = NumConstant.ZERO_DECIMAL; |
||||
|
private Integer rzhbzUserTotal = NumConstant.ZERO; |
||||
|
private BigDecimal rzhbzUserRatio = NumConstant.ZERO_DECIMAL; |
||||
|
private Integer hzrbzUserTotal = NumConstant.ZERO; |
||||
|
private BigDecimal hzrbzUserRatio = NumConstant.ZERO_DECIMAL; |
||||
|
private Integer zbqcUserTotal = NumConstant.ZERO; |
||||
|
private BigDecimal zbqcUserRatio = NumConstant.ZERO_DECIMAL; |
||||
|
|
||||
|
private String orgId; |
||||
|
@JsonIgnore |
||||
|
private Integer total; |
||||
|
@JsonIgnore |
||||
|
private String rhzk; |
||||
|
} |
||||
@ -0,0 +1,52 @@ |
|||||
|
package com.epmet.enums; |
||||
|
|
||||
|
import org.apache.commons.lang3.StringUtils; |
||||
|
|
||||
|
public enum RenHuConditionEnum { |
||||
|
|
||||
|
/** |
||||
|
* 人户一致,人在户不在,户在人不在, |
||||
|
* 为空的 暂不清楚 |
||||
|
*/ |
||||
|
RHYZ("rhyz","人户一致"), |
||||
|
RZHBZ("rzhbz","人在户不在"), |
||||
|
HZRBZ("hzrbz","户在人不在"), |
||||
|
ZBQC("","暂不清楚"), |
||||
|
; |
||||
|
|
||||
|
private String code; |
||||
|
private String name; |
||||
|
|
||||
|
public static String getNameByCode(String code){ |
||||
|
if (StringUtils.isBlank(code)){ |
||||
|
return ZBQC.name; |
||||
|
} |
||||
|
for (RenHuConditionEnum e : values()) { |
||||
|
if (e.getCode().equals(code)){ |
||||
|
return e.getName(); |
||||
|
} |
||||
|
} |
||||
|
return ZBQC.name; |
||||
|
} |
||||
|
|
||||
|
RenHuConditionEnum(String code, String name) { |
||||
|
this.code = code; |
||||
|
this.name = name; |
||||
|
} |
||||
|
|
||||
|
public String getCode() { |
||||
|
return code; |
||||
|
} |
||||
|
|
||||
|
public void setCode(String code) { |
||||
|
this.code = code; |
||||
|
} |
||||
|
|
||||
|
public String getName() { |
||||
|
return name; |
||||
|
} |
||||
|
|
||||
|
public void setName(String name) { |
||||
|
this.name = name; |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,4 @@ |
|||||
|
-- 核酸记录表增加非必填字段“试管编号” 对应产蛋4679 |
||||
|
ALTER TABLE `ic_nat` |
||||
|
ADD COLUMN `TEST_TUBE_CODE` varchar(255) NULL COMMENT '试管编号' AFTER `ATTACHMENT_URL`; |
||||
|
|
||||
Binary file not shown.
Loading…
Reference in new issue