ZeroLiYi vor 3 Monaten
Ursprung
Commit
61e96be05b

+ 5 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/emergencySupport/modular/es/service/impl/EsNetworkEntryServiceImpl.java

@@ -127,7 +127,11 @@ public class EsNetworkEntryServiceImpl extends ServiceImpl<EsNetworkEntryMapper,
127 127
         EsNetworkEntry esNetworkEntry = this.queryEntity(esNetworkEntryEditParam.getId());
128 128
         BeanUtil.copyProperties(esNetworkEntryEditParam, esNetworkEntry);
129 129
         this.updateById(esNetworkEntry);
130
-
130
+        QueryWrapper<AuditRequest> queryWrapper = new QueryWrapper<>();
131
+        queryWrapper.eq("request_id",esNetworkEntryEditParam.getId());
132
+        if(auditRequestService.getOne(queryWrapper)!=null){
133
+            auditRequestService.remove(queryWrapper);
134
+        }
131 135
         AuditRequest auditRequest=new AuditRequest();
132 136
         auditRequest.setType(5);
133 137
         auditRequest.setStep(1);