Commit fe09151c authored by huyuchen's avatar huyuchen

hyc-余额校验提示语优化

parent c9675ce8
...@@ -8,7 +8,6 @@ import com.alibaba.excel.util.ListUtils; ...@@ -8,7 +8,6 @@ import com.alibaba.excel.util.ListUtils;
import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yifu.cloud.plus.v1.ekp.entity.EkpSalaryInfo; import com.yifu.cloud.plus.v1.ekp.entity.EkpSalaryInfo;
import com.yifu.cloud.plus.v1.ekp.mapper.EkpManagerInfoMapper;
import com.yifu.cloud.plus.v1.ekp.mapper.EkpSalaryInfoMapper; import com.yifu.cloud.plus.v1.ekp.mapper.EkpSalaryInfoMapper;
import com.yifu.cloud.plus.v1.ekp.service.EkpSalaryInfoService; import com.yifu.cloud.plus.v1.ekp.service.EkpSalaryInfoService;
import com.yifu.cloud.plus.v1.ekp.vo.ClaimInfotVO; import com.yifu.cloud.plus.v1.ekp.vo.ClaimInfotVO;
...@@ -39,8 +38,6 @@ import java.util.stream.Collectors; ...@@ -39,8 +38,6 @@ import java.util.stream.Collectors;
@RequiredArgsConstructor @RequiredArgsConstructor
public class EkpSalaryInfoServiceImpl extends ServiceImpl<EkpSalaryInfoMapper, EkpSalaryInfo> implements EkpSalaryInfoService { public class EkpSalaryInfoServiceImpl extends ServiceImpl<EkpSalaryInfoMapper, EkpSalaryInfo> implements EkpSalaryInfoService {
private final EkpManagerInfoMapper managerInfoMapper;
/** /**
//@Description: 工资明细推送至ekp //@Description: 工资明细推送至ekp
//@Author: huyc //@Author: huyc
...@@ -342,16 +339,6 @@ public class EkpSalaryInfoServiceImpl extends ServiceImpl<EkpSalaryInfoMapper, E ...@@ -342,16 +339,6 @@ public class EkpSalaryInfoServiceImpl extends ServiceImpl<EkpSalaryInfoMapper, E
ClaimRebackInfotVO backInfo = new ClaimRebackInfotVO(); ClaimRebackInfotVO backInfo = new ClaimRebackInfotVO();
//根据项目编码获取ekp所有项目信息 //根据项目编码获取ekp所有项目信息
deptInfo = managerInfoMapper.getEkpDeptInfoByNo(deptNo);
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;
}
if (money.compareTo(BigDecimal.ZERO) >= 0) { if (money.compareTo(BigDecimal.ZERO) >= 0) {
//先找到彭超创建的款项认领明细 //先找到彭超创建的款项认领明细
info = baseMapper.getClaimInfoByDeptNo(deptNo,"1"); info = baseMapper.getClaimInfoByDeptNo(deptNo,"1");
......
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