Commit 4a0c14f5 authored by 查济's avatar 查济

Merge branch 'feature-zhaji' into 'develop'

"feature-zhaJi:修改ekp交互实体类"

See merge request fangxinjiang/yifu!178
parents 69445cdd d0099bf7
...@@ -139,8 +139,8 @@ public class EKPUtil { ...@@ -139,8 +139,8 @@ public class EKPUtil {
TInsuranceSettlePushParam pushParam = new TInsuranceSettlePushParam(); TInsuranceSettlePushParam pushParam = new TInsuranceSettlePushParam();
param.setHappenDate(format); param.setHappenDate(format);
//ekpId //ekpId
if(null != param.getId() && null != param.getDefaultSettleId()){ if(null != param.getDetailId() && null != param.getDefaultSettleId()){
pushParam.setFd_3afa8a70006bea(param.getId()+CommonConstants.DOWN_LINE_STRING+param.getDefaultSettleId()); pushParam.setFd_3afa8a70006bea(param.getDetailId()+CommonConstants.DOWN_LINE_STRING+param.getDefaultSettleId());
}else{ }else{
pushParam.setFd_3afa8a70006bea(CommonConstants.EMPTY_STRING); pushParam.setFd_3afa8a70006bea(CommonConstants.EMPTY_STRING);
} }
......
...@@ -8,7 +8,6 @@ import lombok.Data; ...@@ -8,7 +8,6 @@ import lombok.Data;
import java.io.Serializable; import java.io.Serializable;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.time.LocalDate; import java.time.LocalDate;
import java.util.Date;
/** /**
* @author zhaji * @author zhaji
...@@ -19,6 +18,7 @@ import java.util.Date; ...@@ -19,6 +18,7 @@ import java.util.Date;
public class EKPInteractiveParam implements Serializable { public class EKPInteractiveParam implements Serializable {
private static final long serialVersionUID = -2689686777914935788L; private static final long serialVersionUID = -2689686777914935788L;
/** /**
* 主键 * 主键
*/ */
...@@ -26,6 +26,12 @@ public class EKPInteractiveParam implements Serializable { ...@@ -26,6 +26,12 @@ public class EKPInteractiveParam implements Serializable {
@Schema(description = "主键") @Schema(description = "主键")
private String id; private String id;
/**
* 商险id
*/
@Schema(description = "主键")
private String detailId;
/** /**
* 结算id * 结算id
*/ */
......
...@@ -3300,7 +3300,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap ...@@ -3300,7 +3300,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
String body = EKPUtil.sendToEKP(ekpInteractiveParam); String body = EKPUtil.sendToEKP(ekpInteractiveParam);
if (!StringUtils.isBlank(body)) { if (!StringUtils.isBlank(body)) {
TInsuranceOperate insuranceOperate = new TInsuranceOperate(); TInsuranceOperate insuranceOperate = new TInsuranceOperate();
insuranceOperate.setInsuranceDetailId(ekpInteractiveParam.getId()); insuranceOperate.setInsuranceDetailId(ekpInteractiveParam.getDetailId());
insuranceOperate.setCreateBy(user.getId()); insuranceOperate.setCreateBy(user.getId());
insuranceOperate.setCreateName(user.getNickname()); insuranceOperate.setCreateName(user.getNickname());
insuranceOperate.setCreateTime(LocalDateTime.now()); insuranceOperate.setCreateTime(LocalDateTime.now());
...@@ -3308,7 +3308,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap ...@@ -3308,7 +3308,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
tInsuranceOperateService.save(insuranceOperate); tInsuranceOperateService.save(insuranceOperate);
} else { } else {
for (SettleMonthChangeCheckParam success : successList) { for (SettleMonthChangeCheckParam success : successList) {
if (success.getId().equals(ekpInteractiveParam.getId())) { if (success.getId().equals(ekpInteractiveParam.getDetailId())) {
success.setErrorMessage("更新EKP结算月份失败"); success.setErrorMessage("更新EKP结算月份失败");
errorList.add(success); errorList.add(success);
} }
...@@ -4959,7 +4959,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap ...@@ -4959,7 +4959,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
Map<String, ProjectSetInfoVo> data = setInfoByCodes.getData().getProjectSetInfoVoMap(); Map<String, ProjectSetInfoVo> data = setInfoByCodes.getData().getProjectSetInfoVoMap();
for (SettleMonthChangeCheckParam param : list) { for (SettleMonthChangeCheckParam param : list) {
ProjectSetInfoVo projectSetInfoVo = data.get(param.getDeptNo()); ProjectSetInfoVo projectSetInfoVo = data.get(param.getDeptNo());
ekpInteractiveParam.setId(param.getId()); ekpInteractiveParam.setDetailId(param.getId());
ekpInteractiveParam.setSettleMonth(param.getSettleMonth()); ekpInteractiveParam.setSettleMonth(param.getSettleMonth());
ekpInteractiveParam.setDeptName(projectSetInfoVo.getDepartName()); ekpInteractiveParam.setDeptName(projectSetInfoVo.getDepartName());
ekpInteractiveParam.setCustomerName(projectSetInfoVo.getCustomerName()); ekpInteractiveParam.setCustomerName(projectSetInfoVo.getCustomerName());
......
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