diff --git a/sgzb-modules/sgzb-material/src/main/java/com/bonus/sgzb/material/service/impl/ScrapApplyDetailsServiceImpl.java b/sgzb-modules/sgzb-material/src/main/java/com/bonus/sgzb/material/service/impl/ScrapApplyDetailsServiceImpl.java index 155d316..ffb5d33 100644 --- a/sgzb-modules/sgzb-material/src/main/java/com/bonus/sgzb/material/service/impl/ScrapApplyDetailsServiceImpl.java +++ b/sgzb-modules/sgzb-material/src/main/java/com/bonus/sgzb/material/service/impl/ScrapApplyDetailsServiceImpl.java @@ -58,9 +58,6 @@ public class ScrapApplyDetailsServiceImpl implements IScrapApplyDetailsService { @Resource private ScrapAuditorSetMapper scrapAuditorSetMapper; - @Resource - private BackReceiveMapper backReceiveMapper; - @Resource BackReceiveService backReceiveService; @@ -533,34 +530,6 @@ public class ScrapApplyDetailsServiceImpl implements IScrapApplyDetailsService { backReceiveService.insertRad(newTaskId, wxList); } - -// if (backList.size() > 0) { -// if (backList.get(0).getCompanyId() != null) { -// companyId = Math.toIntExact(backList.get(0).getCompanyId()); -// } -// if (backList.get(0).getParentId() != null) { -// parentId = Math.toIntExact(backList.get(0).getParentId()); -// } -// taskCode = purchaseCodeRule("T", 36); -// taskStatus = 38; -// taskType = 36; -// long backTaskId = genTask(taskCode, taskType, taskStatus, tmTaskAgreement, companyId); -// BackApplyInfo backApplyInfo = scrapApplyDetailsMapper.getBackApplyInfo(parentId); -// backApplyInfo.setCode(taskCode); -// backApplyInfo.setTaskId((int) backTaskId); -// backApplyInfo.setCreateBy(String.valueOf(SecurityUtils.getLoginUser().getUserid())); -// backApplyInfo.setUpdateBy(String.valueOf(SecurityUtils.getLoginUser().getUserid())); -// scrapApplyDetailsMapper.addBackInfo(backApplyInfo); -// for (ScrapApplyDetails bean : backList) { -// bean.setParentId(backApplyInfo.getId()); -// bean.setStatus("1"); -// bean.setCreateBy(String.valueOf(SecurityUtils.getLoginUser().getUserid())); -// bean.setUpdateBy(String.valueOf(SecurityUtils.getLoginUser().getUserid())); -// scrapApplyDetailsMapper.addBackDetails(bean); -// } -// } - - if (repairList.size() > 0) { if (repairList.get(0).getCompanyId() != null) { companyId = Math.toIntExact(repairList.get(0).getCompanyId());