master
杨海航 3 months ago
parent a4ac1fd5f9
commit 0a8e2089cd
  1. 2
      src/main/java/digital/laboratory/platform/entrustment/service/impl/EntrustmentServiceImpl.java

@ -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("保存委托信息失败");
} }
if (opCode == 1) {
this.bizApprover_Claim(entrust, dlpUser); this.bizApprover_Claim(entrust, dlpUser);
this.bizApprover_Apply(entrust, 1, dlpUser); this.bizApprover_Apply(entrust, 1, dlpUser);
}
// 从数据库表中取出保存的委托对象, 后续的操作我们以此为准 // 从数据库表中取出保存的委托对象, 后续的操作我们以此为准
entrustment = this.getById(entrust.getId()); entrustment = this.getById(entrust.getId());
if (entrustment == null) { if (entrustment == null) {

Loading…
Cancel
Save