Commit dd6c4d25 authored by 竹天卫's avatar 竹天卫

被驳回的委托单不用生成委托编号

parent ce77c6c9
...@@ -722,6 +722,8 @@ public class EntrustController { ...@@ -722,6 +722,8 @@ public class EntrustController {
.stream() .stream()
.filter(arg -> arg.getCementCode().equals(arg.getParallelCode()) ) .filter(arg -> arg.getCementCode().equals(arg.getParallelCode()) )
.forEach(arg -> { .forEach(arg -> {
arg.setName(arg.getName() == null?"":arg.getName());
arg.setSampleCode(arg.getSampleCode() == null?"":arg.getSampleCode());
/*List<SampleTeamGroupVo> teamVoList = arg.getSampleTeamGroupVoList(); /*List<SampleTeamGroupVo> teamVoList = arg.getSampleTeamGroupVoList();
teamVoList.forEach(args ->{ teamVoList.forEach(args ->{
List<SampleDistributionTeamVo> teamVoList2 = args.getSampleDistributionTeamVoList(); List<SampleDistributionTeamVo> teamVoList2 = args.getSampleDistributionTeamVoList();
......
...@@ -1451,6 +1451,7 @@ public class EntrustServiceImpl extends ServiceImpl<EntrustMapper, Entrust> impl ...@@ -1451,6 +1451,7 @@ public class EntrustServiceImpl extends ServiceImpl<EntrustMapper, Entrust> impl
} else if (query.getIsAgree() == 2) { //驳回 } else if (query.getIsAgree() == 2) { //驳回
entrust.setEntrustCode(null);
entrust.setStatus(2); entrust.setStatus(2);
logsService.saveLog(SysLogs.ObjType.ENTRUST_LOG, entrust.getId(), "修改评审状态为“驳回”", null); logsService.saveLog(SysLogs.ObjType.ENTRUST_LOG, entrust.getId(), "修改评审状态为“驳回”", null);
......
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