Commit c71fa53b authored by fangxinjiang's avatar fangxinjiang

Merge remote-tracking branch 'origin/develop' into develop

parents 44539a3b 516b2c12
...@@ -209,7 +209,7 @@ public class EkpInsuranceUtil { ...@@ -209,7 +209,7 @@ public class EkpInsuranceUtil {
} }
//结算月 //结算月
if(null != param.getSettleMonth()){ if(null != param.getSettleMonth()){
pushParam.setFd_3aea2f0180eccc(param.getSettleMonth()); pushParam.setFd_3aea2f0180eccc(dateStringInsert(param.getSettleMonth()));
}else{ }else{
pushParam.setFd_3aea2f0180eccc(CommonConstants.EMPTY_STRING); pushParam.setFd_3aea2f0180eccc(CommonConstants.EMPTY_STRING);
} }
...@@ -235,5 +235,14 @@ public class EkpInsuranceUtil { ...@@ -235,5 +235,14 @@ public class EkpInsuranceUtil {
} }
return pushParam; return pushParam;
} }
public static String dateStringInsert(String month) {
if (month.length() == 6) {
StringBuilder sb = new StringBuilder(month);
sb.insert(4, "-");
return sb.toString();
}
return month;
} }
}
...@@ -1178,10 +1178,12 @@ public class TPreDispatchInfoServiceImpl extends ServiceImpl<TPreDispatchInfoMap ...@@ -1178,10 +1178,12 @@ public class TPreDispatchInfoServiceImpl extends ServiceImpl<TPreDispatchInfoMap
info.setWorkingHoursAdd(CommonConstants.TWO_STRING); info.setWorkingHoursAdd(CommonConstants.TWO_STRING);
SysHouseHoldInfo sysHouseHoldInfo = sysHouseHoldInfoMapper.selectOne(Wrappers.<SysHouseHoldInfo>query().lambda() SysHouseHoldInfo sysHouseHoldInfo = sysHouseHoldInfoMapper.selectOne(Wrappers.<SysHouseHoldInfo>query().lambda()
.eq(SysHouseHoldInfo::getName, socialHouse).eq(SysHouseHoldInfo::getType, CommonConstants.ZERO_STRING)); .eq(SysHouseHoldInfo::getName, socialHouse).eq(SysHouseHoldInfo::getType, CommonConstants.ZERO_STRING)
.eq(SysHouseHoldInfo::getDelFlag, CommonConstants.ZERO_STRING));
info.setSocialHouseAdd(sysHouseHoldInfo.getId()); info.setSocialHouseAdd(sysHouseHoldInfo.getId());
SysHouseHoldInfo sysHouseHoldFund = sysHouseHoldInfoMapper.selectOne(Wrappers.<SysHouseHoldInfo>query().lambda() SysHouseHoldInfo sysHouseHoldFund = sysHouseHoldInfoMapper.selectOne(Wrappers.<SysHouseHoldInfo>query().lambda()
.eq(SysHouseHoldInfo::getName, fundHouse).eq(SysHouseHoldInfo::getType, CommonConstants.ONE_STRING)); .eq(SysHouseHoldInfo::getName, fundHouse).eq(SysHouseHoldInfo::getType, CommonConstants.ONE_STRING)
.eq(SysHouseHoldInfo::getDelFlag, CommonConstants.ZERO_STRING));
if (Common.isNotNull(sysHouseHoldFund)) { if (Common.isNotNull(sysHouseHoldFund)) {
info.setFundHouseAdd(sysHouseHoldFund.getId()); info.setFundHouseAdd(sysHouseHoldFund.getId());
} }
......
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