| | |
| | | import com.sandu.common.domain.ResponseVO; |
| | | import com.sandu.common.execption.BusinessException; |
| | | import com.sandu.common.object.BaseConditionVO; |
| | | import com.sandu.common.security.annotation.AnonymousAccess; |
| | | import com.sandu.common.util.ResponseUtil; |
| | | import com.sandu.common.util.SpringContextHolder; |
| | | import com.sandu.ximon.admin.entity.ProgramPro; |
| | |
| | | return ResponseUtil.success(poleLightemitService.getLedByLightControlCode(lightemitControlCode)); |
| | | } |
| | | |
| | | /* |
| | | 设置屏幕开关 |
| | | /** |
| | | * 设置屏幕开关 |
| | | */ |
| | | |
| | | @AnonymousAccess |
| | | @PostMapping("/setScreenOpen") |
| | | public ResponseVO<Object> setScreenOpen(@RequestBody SetScreenOpenParam setScreenOpenEntity) { |
| | | if (!permissionConfig.check(MenuEnum.XIXUN_ON_OFF.getCode())) { |
| | |
| | | return ResponseUtil.fail("缺少对应用户权限"); |
| | | } |
| | | /** |
| | | * 熙汛定时删除 |
| | | * 熙汛定时删除 日志记录开始 |
| | | */ |
| | | |
| | | String content = "{删除的熙汛定时id:" + ids + " }"; |
| | | StoreOperationRecordsUtils.storeOperationData(null, null, "熙汛定时删除", content); |
| | | StoreOperationRecordsUtils.storeOperationData(null, null, "熙汛定时任务删除", content); |
| | | /** |
| | | * 熙汛定时删除 |
| | | * 熙汛定时删除 日志记录结束 |
| | | */ |
| | | return ResponseUtil.success(scheduleService.removeByIds(ids)); |
| | | } |