| | |
| | | package com.sandu.ximon.admin.controller; |
| | | |
| | | import com.alibaba.fastjson.JSON; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.github.pagehelper.PageHelper; |
| | |
| | | private final PoleLightemitService poleLightemitService; |
| | | private final LightemitUtils lightemitUtils; |
| | | private final LedScheduleService scheduleService; |
| | | private final PoleBindingService bindingService; |
| | | private final PoleService poleService; |
| | | |
| | | private PermissionConfig permissionConfig; |
| | | // private final ListPageUtil listPageUtil; |
| | | |
| | |
| | | for (PoleLightemitEntity playerId : list) { |
| | | lightemitUtils.clear(playerId.getLightemitControlCode()); |
| | | } |
| | | |
| | | /** |
| | | * 熙汛清屏 日志记录开始 |
| | | */ |
| | | //获取listCode |
| | | List<String> listCode = new ArrayList<>(); |
| | | List<String> msg = new ArrayList<>(); |
| | | for (PoleLightemitEntity poleLightemitEntity : list) { |
| | | listCode.add(poleLightemitEntity.getLightemitControlCode()); |
| | | msg.add("[屏幕名称" + poleLightemitEntity.getLightemitName() + "设备编码" + poleLightemitEntity.getLightemitControlCode() + "],"); |
| | | } |
| | | String content = JSON.toJSONString(msg); |
| | | StoreOperationRecordsUtils.storeOperationData(listCode, null, "熙汛清屏", content); |
| | | /** |
| | | * 熙汛清屏 日志记录结束 |
| | | */ |
| | | return ResponseUtil.success("清屏成功"); |
| | | } |
| | | } |