更新
This commit is contained in:
+10
-8
@@ -758,12 +758,12 @@ public class EntrustmentServiceImpl extends ServiceImpl<EntrustmentMapper, Entru
|
|||||||
.stream()
|
.stream()
|
||||||
.collect(
|
.collect(
|
||||||
Collectors.groupingBy(item ->
|
Collectors.groupingBy(item ->
|
||||||
item.getAnalysisOption() +
|
item.getAnalysisOption() +
|
||||||
"_" +
|
"_" +
|
||||||
DrugLiteConvert.convertDirtyLiteByJSON(item.getCandidateDrugs())
|
DrugLiteConvert.convertDirtyLiteByJSON(item.getCandidateDrugs())
|
||||||
.stream()
|
.stream()
|
||||||
.map(DrugLite::getName)
|
.map(DrugLite::getName)
|
||||||
.collect(Collectors.joining("")),
|
.collect(Collectors.joining("")),
|
||||||
LinkedHashMap::new, // 返回有序map
|
LinkedHashMap::new, // 返回有序map
|
||||||
Collectors.toList())
|
Collectors.toList())
|
||||||
);
|
);
|
||||||
@@ -1625,8 +1625,10 @@ public class EntrustmentServiceImpl extends ServiceImpl<EntrustmentMapper, Entru
|
|||||||
if (!this.update(null, updateWrapper)) {
|
if (!this.update(null, updateWrapper)) {
|
||||||
throw new RuntimeException("保存委托信息失败");
|
throw new RuntimeException("保存委托信息失败");
|
||||||
}
|
}
|
||||||
this.bizApprover_Claim(entrust, dlpUser);
|
if (opCode == 1) {
|
||||||
this.bizApprover_Apply(entrust, 1, dlpUser);
|
this.bizApprover_Claim(entrust, dlpUser);
|
||||||
|
this.bizApprover_Apply(entrust, 1, dlpUser);
|
||||||
|
}
|
||||||
// 从数据库表中取出保存的委托对象, 后续的操作我们以此为准
|
// 从数据库表中取出保存的委托对象, 后续的操作我们以此为准
|
||||||
entrustment = this.getById(entrust.getId());
|
entrustment = this.getById(entrust.getId());
|
||||||
if (entrustment == null) {
|
if (entrustment == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user