Commit 8e349b7c authored by huyuchen's avatar huyuchen

huych-商险自动化逻辑调整

parent 583dccca
...@@ -202,6 +202,9 @@ public class InsuranceAddParam implements Serializable { ...@@ -202,6 +202,9 @@ public class InsuranceAddParam implements Serializable {
@Schema(description = "项目名称") @Schema(description = "项目名称")
private String deptName; private String deptName;
@Schema(description = "投标类型")
private Integer buyType;
@Schema(description ="客户id") @Schema(description ="客户id")
private String unitId; private String unitId;
......
...@@ -27,6 +27,16 @@ public class InsuranceAutoParam implements Serializable { ...@@ -27,6 +27,16 @@ public class InsuranceAutoParam implements Serializable {
*/ */
@Schema(description = "项目编码") @Schema(description = "项目编码")
private String deptNo; private String deptNo;
/**
* 项目名称
*/
@Schema(description = "项目名称")
private String deptName;
/**
* 投标类型
*/
@Schema(description = "投标类型")
private Integer buyType;
/** /**
* 员工姓名 * 员工姓名
......
...@@ -199,6 +199,12 @@ public class InsuranceBatchParam implements Serializable { ...@@ -199,6 +199,12 @@ public class InsuranceBatchParam implements Serializable {
@JsonIgnore @JsonIgnore
private LocalDate policyEnd; private LocalDate policyEnd;
@Schema(description = "项目名称")
private String deptName;
@Schema(description = "投标类型")
private Integer buyType;
/** /**
* EKP的 是否BPO: 是 否 * EKP的 是否BPO: 是 否
*/ */
......
...@@ -138,6 +138,9 @@ public class InsuranceReplaceParam implements Serializable { ...@@ -138,6 +138,9 @@ public class InsuranceReplaceParam implements Serializable {
@Schema(description = "项目名称") @Schema(description = "项目名称")
private String deptName; private String deptName;
@Schema(description = "投标类型")
private Integer buyType;
@Schema(description ="客户id") @Schema(description ="客户id")
private String unitId; private String unitId;
......
...@@ -767,6 +767,8 @@ public class TEmployeeInsurancePreServiceImpl extends ServiceImpl<TEmployeeInsur ...@@ -767,6 +767,8 @@ public class TEmployeeInsurancePreServiceImpl extends ServiceImpl<TEmployeeInsur
autoParam.setInsurancePreId(addParam.getInsurancePreId()); autoParam.setInsurancePreId(addParam.getInsurancePreId());
autoParam.setCustomerUserName(addParam.getCustomerUserName()); autoParam.setCustomerUserName(addParam.getCustomerUserName());
autoParam.setIsExit(addParam.getIsExit()); autoParam.setIsExit(addParam.getIsExit());
autoParam.setDeptName(addParam.getDeptName());
autoParam.setBuyType(addParam.getBuyType());
autoParam.setInProgressList(addParam.getInProgressList()); autoParam.setInProgressList(addParam.getInProgressList());
return autoParam; return autoParam;
} }
...@@ -790,6 +792,8 @@ public class TEmployeeInsurancePreServiceImpl extends ServiceImpl<TEmployeeInsur ...@@ -790,6 +792,8 @@ public class TEmployeeInsurancePreServiceImpl extends ServiceImpl<TEmployeeInsur
autoParam.setInsurancePreId(batchParam.getInsurancePreId()); autoParam.setInsurancePreId(batchParam.getInsurancePreId());
autoParam.setCustomerUserName(batchParam.getCustomerUserName()); autoParam.setCustomerUserName(batchParam.getCustomerUserName());
autoParam.setIsExit(batchParam.getIsExit()); autoParam.setIsExit(batchParam.getIsExit());
autoParam.setDeptName(batchParam.getDeptName());
autoParam.setBuyType(batchParam.getBuyType());
autoParam.setInProgressList(batchParam.getInProgressList()); autoParam.setInProgressList(batchParam.getInProgressList());
return autoParam; return autoParam;
} }
...@@ -813,6 +817,8 @@ public class TEmployeeInsurancePreServiceImpl extends ServiceImpl<TEmployeeInsur ...@@ -813,6 +817,8 @@ public class TEmployeeInsurancePreServiceImpl extends ServiceImpl<TEmployeeInsur
autoParam.setInsurancePreId(replaceParam.getInsurancePreId()); autoParam.setInsurancePreId(replaceParam.getInsurancePreId());
autoParam.setCustomerUserName(replaceParam.getCustomerUserName()); autoParam.setCustomerUserName(replaceParam.getCustomerUserName());
autoParam.setIsExit(replaceParam.getIsExit()); autoParam.setIsExit(replaceParam.getIsExit());
autoParam.setDeptName(replaceParam.getDeptName());
autoParam.setBuyType(replaceParam.getBuyType());
autoParam.setInProgressList(replaceParam.getInProgressList()); autoParam.setInProgressList(replaceParam.getInProgressList());
return autoParam; return autoParam;
} }
......
...@@ -2704,6 +2704,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap ...@@ -2704,6 +2704,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
outer: outer:
for (int i = 0; i < distinctList.size(); i++) { for (int i = 0; i < distinctList.size(); i++) {
InsuranceAddParam param = distinctList.get(i); InsuranceAddParam param = distinctList.get(i);
param.setBuyType(CommonConstants.ONE_INT);
// 必填校验 // 必填校验
if (StringUtils.isBlank(param.getEmpName())) { if (StringUtils.isBlank(param.getEmpName())) {
param.setErrorMessage(InsurancesConstants.EMP_NAME_NOT_EMPTY); param.setErrorMessage(InsurancesConstants.EMP_NAME_NOT_EMPTY);
...@@ -3109,6 +3110,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap ...@@ -3109,6 +3110,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
outer: outer:
for (int i = 0; i < distinctList.size(); i++) { for (int i = 0; i < distinctList.size(); i++) {
InsuranceBatchParam param = distinctList.get(i); InsuranceBatchParam param = distinctList.get(i);
param.setBuyType(CommonConstants.THREE_INT);
// 必填校验 // 必填校验
if (StringUtils.isBlank(param.getDeptNo())){ if (StringUtils.isBlank(param.getDeptNo())){
param.setErrorMessage(InsurancesConstants.DEPT_NO_NOT_EMPTY); param.setErrorMessage(InsurancesConstants.DEPT_NO_NOT_EMPTY);
...@@ -3517,6 +3519,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap ...@@ -3517,6 +3519,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
outer: outer:
for (int i = 0; i < distinctList.size(); i++) { for (int i = 0; i < distinctList.size(); i++) {
InsuranceReplaceParam param = distinctList.get(i); InsuranceReplaceParam param = distinctList.get(i);
param.setBuyType(CommonConstants.FOUR_INT);
// 必填校验 // 必填校验
if (StringUtils.isBlank(param.getEmpName())){ if (StringUtils.isBlank(param.getEmpName())){
param.setErrorMessage(InsurancesConstants.EMP_NAME_NOT_EMPTY); param.setErrorMessage(InsurancesConstants.EMP_NAME_NOT_EMPTY);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment