|
|
@@ -285,6 +285,15 @@ public class ProtectionServiceImpl extends ServiceImpl<ProtectionMapper, IotAlar
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
+ public boolean updateSubSystemInBook(Long id, Integer inBook) {
|
|
|
+ IotAlarmSubsystem subsystem = this.getById(id);
|
|
|
+ subsystem.setInBook(inBook);
|
|
|
+ subsystem.setUpdateTime(LocalDateTime.now());
|
|
|
+ subsystem.setUpdateBy(SecurityUtils.getActualSubmitUserName());
|
|
|
+ return updateById(subsystem);
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
public List<Map<String, List<Map<String, Object>>>> selectDataByOrgId(Long orgId, Date date) {
|
|
|
|
|
|
|