| | |
| | | package com.zy.common.entity; |
| | | |
| | | import com.alibaba.fastjson.JSON; |
| | | import com.baomidou.mybatisplus.mapper.EntityWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.core.common.Cools; |
| | | import com.core.common.SpringUtils; |
| | | import com.zy.system.entity.Config; |
| | |
| | | */ |
| | | public static Parameter reset() { |
| | | ConfigService configService = SpringUtils.getBean(ConfigService.class); |
| | | List<Config> configs = configService.selectList(new EntityWrapper<Config>().eq("status", "1")); |
| | | List<Config> configs = configService.list(new QueryWrapper<Config>().eq("status", "1")); |
| | | Map<String, Object> data = new HashMap<>(); |
| | | for (Config config : configs) { |
| | | if (config.getType() == 1) { |
| | |
| | | public void setCodeSwitch(String codeSwitch) { |
| | | this.codeSwitch = codeSwitch; |
| | | } |
| | | |
| | | private String ledDefaultMsg; |
| | | |
| | | public String getLedDefaultMsg() { |
| | | return ledDefaultMsg; |
| | | } |
| | | |
| | | public void setLedDefaultMsg(String ledDefaultMsg) { |
| | | this.ledDefaultMsg = ledDefaultMsg; |
| | | } |
| | | |
| | | } |