Browse Source

feature 逻辑优化

xiahan 9 months ago
parent
commit
3b12a08d3e

+ 3 - 0
js-security/security-common/src/main/java/com/rongwei/sfcommon/sys/service/impl/ApsDetailsHazardInvestigationTasksServiceImpl.java

@@ -73,6 +73,9 @@ implements ApsDetailsHazardInvestigationTasksService {
                 .set(AspCheckDiscoveryItemDo::getCreatetask, 1)
                 .eq(AspCheckDiscoveryItemDo::getId, discoverIds));
         sendNotifyService.sendDangerTasksNotify(sendNotifyData);
+        apsDetailsHazardInvestigationTasksService.update(new LambdaUpdateWrapper<ApsDetailsHazardInvestigationTasksDo>()
+                .set(ApsDetailsHazardInvestigationTasksDo::getInvestigationtime, new Date())
+                .eq(ApsDetailsHazardInvestigationTasksDo::getState, 1));
         return R.ok();
     }