报废驳回进维修
This commit is contained in:
parent
21656e0515
commit
17b9b5c1a6
|
|
@ -58,9 +58,6 @@ public class ScrapApplyDetailsServiceImpl implements IScrapApplyDetailsService {
|
||||||
@Resource
|
@Resource
|
||||||
private ScrapAuditorSetMapper scrapAuditorSetMapper;
|
private ScrapAuditorSetMapper scrapAuditorSetMapper;
|
||||||
|
|
||||||
@Resource
|
|
||||||
private BackReceiveMapper backReceiveMapper;
|
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
BackReceiveService backReceiveService;
|
BackReceiveService backReceiveService;
|
||||||
|
|
||||||
|
|
@ -533,34 +530,6 @@ public class ScrapApplyDetailsServiceImpl implements IScrapApplyDetailsService {
|
||||||
backReceiveService.insertRad(newTaskId, wxList);
|
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.size() > 0) {
|
||||||
if (repairList.get(0).getCompanyId() != null) {
|
if (repairList.get(0).getCompanyId() != null) {
|
||||||
companyId = Math.toIntExact(repairList.get(0).getCompanyId());
|
companyId = Math.toIntExact(repairList.get(0).getCompanyId());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue