Commit c9675ce8 authored by huyuchen's avatar huyuchen

hyc-余额校验提示语优化

parent 3115af61
......@@ -346,6 +346,7 @@ public class EkpSalaryInfoServiceImpl extends ServiceImpl<EkpSalaryInfoMapper, E
if (Common.isNotNull(deptInfo) && !deptName.equals(deptInfo.getDeptName())) {
backInfo.setDeptName(deptName);
backInfo.setDeptNo(deptNo);
backInfo.setAdjustMoney(money);
backInfo.setErrorInfo("系统中的项目编码对应的项目名称和模板中不一致!");
errorMessageList.add(new ErrorMessage(excel.getRowIndex(), backInfo.getErrorInfo(),backInfo));
continue;
......@@ -399,7 +400,7 @@ public class EkpSalaryInfoServiceImpl extends ServiceImpl<EkpSalaryInfoMapper, E
public void subSwitch(String deptNo,ClaimRebackInfotVO backInfo,List<ErrorMessage>errorMessageList,
BigDecimal money,String deptName,ClaimInfotVO excel,String flag) {
List<ClaimRebackInfotVO> infoList = baseMapper.getClaimBigInfoByDeptNoAndUser(deptNo);
if (Optional.ofNullable(infoList).isPresent()) {
if (Common.isNotNull(infoList)) {
for (ClaimRebackInfotVO subInfo : infoList) {
//分批去减去金额
if (subInfo.getSurMoney().add(money).compareTo(BigDecimal.ZERO) >=0) {
......
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