|
|
@@ -196,6 +196,13 @@ public class IotAlarmSubSystemServiceImpl extends ServiceImpl<IotAlarmSubsystemM
|
|
|
protection.setStatusUpdatorId(null);
|
|
|
protection.setStatusUpdatorName(null);
|
|
|
this.updateById(protection);
|
|
|
+
|
|
|
+ LambdaUpdateWrapper<IotAlarmSubsystem> updateWrapper=new LambdaUpdateWrapper<>();
|
|
|
+ updateWrapper.eq(IotAlarmSubsystem::getId,protection.getId());
|
|
|
+ updateWrapper.set(IotAlarmSubsystem::getStatusUpdatorId,null);
|
|
|
+ updateWrapper.set(IotAlarmSubsystem::getStatusUpdatorName,null);
|
|
|
+ this.update(updateWrapper);
|
|
|
+
|
|
|
this.northStatisticsSyncService.saveOrUpdateBusinessCountByDateAndDataType(DateUtil.today(), DataType.protectionStatusCount.getIndex(), 1L);
|
|
|
this.saveProtectionLog(protection);
|
|
|
return result;
|