Merge remote-tracking branch 'origin/master'
正在显示
9 个修改的文件
包含
64 行增加
和
51 行删除
... | @@ -46,20 +46,16 @@ public class AlarmJobTestController { | ... | @@ -46,20 +46,16 @@ public class AlarmJobTestController { |
46 | private EquipmentMaintainReminderJob equipmentMaintainReminderJob; | 46 | private EquipmentMaintainReminderJob equipmentMaintainReminderJob; |
47 | @Autowired | 47 | @Autowired |
48 | private SuddenIncreaseAlarmJob suddenIncreaseAlarmJob; | 48 | private SuddenIncreaseAlarmJob suddenIncreaseAlarmJob; |
49 | 49 | ||
50 | @Autowired | 50 | @Autowired |
51 | private XtDataSameJob dataSameJob; | 51 | private XtDataSameJob dataSameJob; |
52 | 52 | ||
53 | @ApiOperation(value = "测试实时数据报警定时服务", notes = "测试实时数据报警定时服务") | 53 | @ApiOperation(value = "测试实时数据报警定时服务", notes = "测试实时数据报警定时服务") |
54 | @GetMapping(value = "/testRealTimeAlarmJob") | 54 | @GetMapping(value = "/testRealTimeAlarmJob") |
55 | public Result<String> testRealTimeAlarmJob() { | 55 | public Result<String> testRealTimeAlarmJob() { |
56 | 56 | ||
57 | Result<String> result = new Result<>(); | 57 | Result<String> result = new Result<>(); |
58 | try { | 58 | realTimeAlarmJob.execute(null); |
59 | realTimeAlarmJob.execute(null); | ||
60 | } catch (JobExecutionException e) { | ||
61 | e.printStackTrace(); | ||
62 | } | ||
63 | result.setResult("成功"); | 59 | result.setResult("成功"); |
64 | result.setSuccess(true); | 60 | result.setSuccess(true); |
65 | return result; | 61 | return result; |
... | @@ -77,7 +73,7 @@ public class AlarmJobTestController { | ... | @@ -77,7 +73,7 @@ public class AlarmJobTestController { |
77 | result.setSuccess(true); | 73 | result.setSuccess(true); |
78 | return result; | 74 | return result; |
79 | } | 75 | } |
80 | 76 | ||
81 | @ApiOperation(value = "测试设备频繁维修定时服务", notes = "测试设备频繁维修报警定时服务") | 77 | @ApiOperation(value = "测试设备频繁维修定时服务", notes = "测试设备频繁维修报警定时服务") |
82 | @GetMapping(value = "/testEquipmentRepairAlarmJob") | 78 | @GetMapping(value = "/testEquipmentRepairAlarmJob") |
83 | public Result<String> testEquipmentRepairAlarmJob() { | 79 | public Result<String> testEquipmentRepairAlarmJob() { |
... | @@ -91,7 +87,7 @@ public class AlarmJobTestController { | ... | @@ -91,7 +87,7 @@ public class AlarmJobTestController { |
91 | result.setSuccess(true); | 87 | result.setSuccess(true); |
92 | return result; | 88 | return result; |
93 | } | 89 | } |
94 | 90 | ||
95 | @ApiOperation(value = "测试设备到期提醒定时服务", notes = "测试设备到期提醒定时服务") | 91 | @ApiOperation(value = "测试设备到期提醒定时服务", notes = "测试设备到期提醒定时服务") |
96 | @GetMapping(value = "/testEquipmentMaintainReminderJob") | 92 | @GetMapping(value = "/testEquipmentMaintainReminderJob") |
97 | public Result<String> testEquipmentMaintainReminderJob() { | 93 | public Result<String> testEquipmentMaintainReminderJob() { |
... | @@ -105,7 +101,7 @@ public class AlarmJobTestController { | ... | @@ -105,7 +101,7 @@ public class AlarmJobTestController { |
105 | result.setSuccess(true); | 101 | result.setSuccess(true); |
106 | return result; | 102 | return result; |
107 | } | 103 | } |
108 | 104 | ||
109 | @ApiOperation(value = "测试指标突增报警定时服务", notes = "测试指标突增报警定时服务") | 105 | @ApiOperation(value = "测试指标突增报警定时服务", notes = "测试指标突增报警定时服务") |
110 | @GetMapping(value = "/testSuddenIncreaseAlarmJob") | 106 | @GetMapping(value = "/testSuddenIncreaseAlarmJob") |
111 | public Result<String> testSuddenIncreaseAlarmJob() { | 107 | public Result<String> testSuddenIncreaseAlarmJob() { |
... | @@ -119,7 +115,7 @@ public class AlarmJobTestController { | ... | @@ -119,7 +115,7 @@ public class AlarmJobTestController { |
119 | result.setSuccess(true); | 115 | result.setSuccess(true); |
120 | return result; | 116 | return result; |
121 | } | 117 | } |
122 | 118 | ||
123 | @ApiOperation(value = "测试设备故障报警定时服务", notes = "测试设备故障报警定时服务") | 119 | @ApiOperation(value = "测试设备故障报警定时服务", notes = "测试设备故障报警定时服务") |
124 | @GetMapping(value = "/testEquipAlarmJob") | 120 | @GetMapping(value = "/testEquipAlarmJob") |
125 | public Result<String> testEquipAlarmJob() { | 121 | public Result<String> testEquipAlarmJob() { |
... | @@ -134,7 +130,7 @@ public class AlarmJobTestController { | ... | @@ -134,7 +130,7 @@ public class AlarmJobTestController { |
134 | result.setSuccess(true); | 130 | result.setSuccess(true); |
135 | return result; | 131 | return result; |
136 | } | 132 | } |
137 | 133 | ||
138 | @ApiOperation(value = "数据长期不变报警定时服务", notes = "数据长期不变报警定时服务") | 134 | @ApiOperation(value = "数据长期不变报警定时服务", notes = "数据长期不变报警定时服务") |
139 | @GetMapping(value = "/testDataSameJob") | 135 | @GetMapping(value = "/testDataSameJob") |
140 | public Result<String> testDataSameJob() { | 136 | public Result<String> testDataSameJob() { |
... | @@ -150,7 +146,7 @@ public class AlarmJobTestController { | ... | @@ -150,7 +146,7 @@ public class AlarmJobTestController { |
150 | return result; | 146 | return result; |
151 | 147 | ||
152 | } | 148 | } |
153 | 149 | ||
154 | @ApiOperation(value = "测试设备在、离线报警定时服务", notes = "测试设备在、离线报警定时服务") | 150 | @ApiOperation(value = "测试设备在、离线报警定时服务", notes = "测试设备在、离线报警定时服务") |
155 | @GetMapping(value = "/testDeviceStatusJob") | 151 | @GetMapping(value = "/testDeviceStatusJob") |
156 | public Result<String> testDeviceStatusJob() { | 152 | public Result<String> testDeviceStatusJob() { |
... | @@ -167,4 +163,4 @@ public class AlarmJobTestController { | ... | @@ -167,4 +163,4 @@ public class AlarmJobTestController { |
167 | 163 | ||
168 | } | 164 | } |
169 | 165 | ||
170 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
166 | } | ... | ... |
... | @@ -111,8 +111,9 @@ public class RealTimeAlarmJob implements Job { | ... | @@ -111,8 +111,9 @@ public class RealTimeAlarmJob implements Job { |
111 | private static String departNameTemplete = "${departName}"; | 111 | private static String departNameTemplete = "${departName}"; |
112 | private static String contentTemplete = "${alarmParamName}:${actualAvgValue}(${limit})${alarmParamUnit}"; | 112 | private static String contentTemplete = "${alarmParamName}:${actualAvgValue}(${limit})${alarmParamUnit}"; |
113 | private static String suffix = ",请注意!"; | 113 | private static String suffix = ",请注意!"; |
114 | |||
114 | @Override | 115 | @Override |
115 | public void execute(JobExecutionContext context) throws JobExecutionException { | 116 | public void execute(JobExecutionContext context) { |
116 | try { | 117 | try { |
117 | log.info("水质实时数据报警任务开始"); | 118 | log.info("水质实时数据报警任务开始"); |
118 | //获取水质、水量、工艺报警规则信息 | 119 | //获取水质、水量、工艺报警规则信息 |
... | @@ -321,7 +322,8 @@ public class RealTimeAlarmJob implements Job { | ... | @@ -321,7 +322,8 @@ public class RealTimeAlarmJob implements Job { |
321 | private void dealSZLtatus(List<AlarmRuleConfigAndLevelVO> errorList) { | 322 | private void dealSZLtatus(List<AlarmRuleConfigAndLevelVO> errorList) { |
322 | //查询报警记录置为正常状态 | 323 | //查询报警记录置为正常状态 |
323 | QueryWrapper<AlarmRecordHistory> queryWrapper = new QueryWrapper<>(); | 324 | QueryWrapper<AlarmRecordHistory> queryWrapper = new QueryWrapper<>(); |
324 | queryWrapper.in("alarm_rule_type", Lists.newArrayList("6")); | 325 | // queryWrapper.in("alarm_rule_type", Lists.newArrayList("6")); |
326 | queryWrapper.in("alarm_rule_type", Lists.newArrayList("A001A001")); | ||
325 | queryWrapper.eq("alarm_param_type", "数据超过有效上下限报警配置"); | 327 | queryWrapper.eq("alarm_param_type", "数据超过有效上下限报警配置"); |
326 | queryWrapper.in("handle_status", 0); | 328 | queryWrapper.in("handle_status", 0); |
327 | List<AlarmRecordHistory> list = alarmRecordHistoryService.list(queryWrapper); | 329 | List<AlarmRecordHistory> list = alarmRecordHistoryService.list(queryWrapper); |
... | @@ -353,7 +355,8 @@ public class RealTimeAlarmJob implements Job { | ... | @@ -353,7 +355,8 @@ public class RealTimeAlarmJob implements Job { |
353 | private void dealStatus(List<AlarmRuleConfigAndLevelVO> excessList) { | 355 | private void dealStatus(List<AlarmRuleConfigAndLevelVO> excessList) { |
354 | //查询报警记录置为正常状态 | 356 | //查询报警记录置为正常状态 |
355 | QueryWrapper<AlarmRecordHistory> queryWrapper = new QueryWrapper<>(); | 357 | QueryWrapper<AlarmRecordHistory> queryWrapper = new QueryWrapper<>(); |
356 | queryWrapper.in("alarm_rule_type", Lists.newArrayList("1", "2", "3", "5", "8")); | 358 | // queryWrapper.in("alarm_rule_type", Lists.newArrayList("1", "2", "3", "5", "8")); |
359 | queryWrapper.in("alarm_rule_type", Lists.newArrayList("A001A001", "A001A002", "A001A003", "5", "8")); | ||
357 | queryWrapper.in("handle_status", 0); | 360 | queryWrapper.in("handle_status", 0); |
358 | List<AlarmRecordHistory> list = alarmRecordHistoryService.list(queryWrapper); | 361 | List<AlarmRecordHistory> list = alarmRecordHistoryService.list(queryWrapper); |
359 | if (list != null && list.size() > 0) { | 362 | if (list != null && list.size() > 0) { | ... | ... |
... | @@ -5,6 +5,7 @@ import java.util.List; | ... | @@ -5,6 +5,7 @@ import java.util.List; |
5 | import com.skua.modules.emergency.vo.DangerDatabaseResult; | 5 | import com.skua.modules.emergency.vo.DangerDatabaseResult; |
6 | import com.skua.modules.emergency.vo.MapDatabaseResult; | 6 | import com.skua.modules.emergency.vo.MapDatabaseResult; |
7 | import com.skua.modules.emergency.vo.RiskDatabaseResult; | 7 | import com.skua.modules.emergency.vo.RiskDatabaseResult; |
8 | import com.skua.tool.annotation.Anonymous; | ||
8 | import org.apache.ibatis.annotations.Param; | 9 | import org.apache.ibatis.annotations.Param; |
9 | import com.skua.modules.emergency.entity.EmergencyRiskEvent; | 10 | import com.skua.modules.emergency.entity.EmergencyRiskEvent; |
10 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 11 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
... | @@ -14,9 +15,12 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; | ... | @@ -14,9 +15,12 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
14 | */ | 15 | */ |
15 | public interface EmergencyRiskEventMapper extends BaseMapper<EmergencyRiskEvent> { | 16 | public interface EmergencyRiskEventMapper extends BaseMapper<EmergencyRiskEvent> { |
16 | 17 | ||
18 | @Anonymous | ||
17 | List<RiskDatabaseResult> getRiskList(@Param("year") String year); | 19 | List<RiskDatabaseResult> getRiskList(@Param("year") String year); |
18 | 20 | ||
21 | @Anonymous | ||
19 | List<DangerDatabaseResult> getDangerList(@Param("year") String year); | 22 | List<DangerDatabaseResult> getDangerList(@Param("year") String year); |
20 | 23 | ||
24 | @Anonymous | ||
21 | List<MapDatabaseResult> getMapData(@Param("year") String year); | 25 | List<MapDatabaseResult> getMapData(@Param("year") String year); |
22 | } | 26 | } | ... | ... |
... | @@ -55,7 +55,7 @@ import lombok.extern.slf4j.Slf4j; | ... | @@ -55,7 +55,7 @@ import lombok.extern.slf4j.Slf4j; |
55 | public class ScreenAssemblyConfigController { | 55 | public class ScreenAssemblyConfigController { |
56 | @Autowired | 56 | @Autowired |
57 | private IScreenAssemblyConfigService screenAssemblyConfigService; | 57 | private IScreenAssemblyConfigService screenAssemblyConfigService; |
58 | 58 | ||
59 | /** | 59 | /** |
60 | * 分页列表查询 | 60 | * 分页列表查询 |
61 | * @param screenAssemblyConfig | 61 | * @param screenAssemblyConfig |
... | @@ -80,44 +80,38 @@ public class ScreenAssemblyConfigController { | ... | @@ -80,44 +80,38 @@ public class ScreenAssemblyConfigController { |
80 | result.setResult(pageList); | 80 | result.setResult(pageList); |
81 | return result; | 81 | return result; |
82 | } | 82 | } |
83 | 83 | ||
84 | /** | 84 | /** |
85 | * 查询组件列表 | 85 | * 查询组件列表 |
86 | * @param assemblyType,1对内,2对外 | 86 | * @param assemblyType,1对内,2对外 |
87 | * @param screenType,1,集团。2,单厂 | 87 | * @param screenType,1,集团。2,单厂 |
88 | * @param req | ||
89 | * @return | 88 | * @return |
90 | */ | 89 | */ |
91 | @AutoLog(value = "大屏配置组件-列表查询") | 90 | @AutoLog(value = "大屏配置组件-列表查询") |
92 | @ApiOperation(value="大屏配置组件-列表查询", notes="大屏配置组件-列表查询") | 91 | @ApiOperation(value="大屏配置组件-列表查询", notes="大屏配置组件-列表查询") |
93 | @GetMapping(value = "/assemblyList") | 92 | @GetMapping(value = "/assemblyList") |
94 | public Result<List<ScreenAssemblyConfig>> queryList(String assemblyType,String screenType, | 93 | public Result<List<ScreenAssemblyConfig>> queryList(String assemblyType,String screenType) { |
95 | HttpServletRequest req) { | 94 | String assemblyTypes = ""; |
96 | Result<List<ScreenAssemblyConfig>> result = new Result<List<ScreenAssemblyConfig>>(); | 95 | Result<List<ScreenAssemblyConfig>> result = new Result<List<ScreenAssemblyConfig>>(); |
97 | QueryWrapper<ScreenAssemblyConfig> queryWrapper = new QueryWrapper<>(); | 96 | // QueryWrapper<ScreenAssemblyConfig> queryWrapper = new QueryWrapper<>(); |
98 | if(StringUtils.hasText(screenType)) { | 97 | // if(StringUtils.hasText(screenType)) { |
99 | queryWrapper.eq("screen_type", screenType); | 98 | // queryWrapper.eq("screen_type", screenType); |
100 | } | 99 | // } |
101 | //对内查询公共和对内 | 100 | //对内查询公共和对内 |
102 | if(assemblyType.equals("1")) { | 101 | if(assemblyType.equals("1")) { |
103 | queryWrapper.and(qw -> | 102 | assemblyTypes = "0,1"; |
104 | qw.eq("assembly_type",0).or().eq("assembly_type",1) | ||
105 | ); | ||
106 | // queryWrapper.eq("assembly_type",0).or().eq("assembly_type",1); | ||
107 | } | 103 | } |
108 | //对外查询公共和对外 | 104 | //对外查询公共和对外 |
109 | else { | 105 | else { |
110 | queryWrapper.and(qw -> | 106 | assemblyTypes = "0,2"; |
111 | qw.eq("assembly_type",0).or().eq("assembly_type",2) | ||
112 | ); | ||
113 | } | 107 | } |
114 | 108 | // List<ScreenAssemblyConfig> list = screenAssemblyConfigService.list(queryWrapper); | |
115 | List<ScreenAssemblyConfig> list = screenAssemblyConfigService.list(queryWrapper); | 109 | List<ScreenAssemblyConfig> list = screenAssemblyConfigService.getList(screenType,assemblyTypes); |
116 | result.setSuccess(true); | 110 | result.setSuccess(true); |
117 | result.setResult(list); | 111 | result.setResult(list); |
118 | return result; | 112 | return result; |
119 | } | 113 | } |
120 | 114 | ||
121 | /** | 115 | /** |
122 | * 查询组件个数 | 116 | * 查询组件个数 |
123 | * @param req | 117 | * @param req |
... | @@ -134,7 +128,7 @@ public class ScreenAssemblyConfigController { | ... | @@ -134,7 +128,7 @@ public class ScreenAssemblyConfigController { |
134 | result.setResult(list); | 128 | result.setResult(list); |
135 | return result; | 129 | return result; |
136 | } | 130 | } |
137 | 131 | ||
138 | /** | 132 | /** |
139 | * 添加 | 133 | * 添加 |
140 | * @param screenAssemblyConfig | 134 | * @param screenAssemblyConfig |
... | @@ -154,7 +148,7 @@ public class ScreenAssemblyConfigController { | ... | @@ -154,7 +148,7 @@ public class ScreenAssemblyConfigController { |
154 | } | 148 | } |
155 | return result; | 149 | return result; |
156 | } | 150 | } |
157 | 151 | ||
158 | /** | 152 | /** |
159 | * 编辑 | 153 | * 编辑 |
160 | * @param screenAssemblyConfig | 154 | * @param screenAssemblyConfig |
... | @@ -175,10 +169,10 @@ public class ScreenAssemblyConfigController { | ... | @@ -175,10 +169,10 @@ public class ScreenAssemblyConfigController { |
175 | result.success("修改成功!"); | 169 | result.success("修改成功!"); |
176 | } | 170 | } |
177 | } | 171 | } |
178 | 172 | ||
179 | return result; | 173 | return result; |
180 | } | 174 | } |
181 | 175 | ||
182 | /** | 176 | /** |
183 | * 通过id删除 | 177 | * 通过id删除 |
184 | * @param id | 178 | * @param id |
... | @@ -196,7 +190,7 @@ public class ScreenAssemblyConfigController { | ... | @@ -196,7 +190,7 @@ public class ScreenAssemblyConfigController { |
196 | } | 190 | } |
197 | return Result.ok("删除成功!"); | 191 | return Result.ok("删除成功!"); |
198 | } | 192 | } |
199 | 193 | ||
200 | /** | 194 | /** |
201 | * 批量删除 | 195 | * 批量删除 |
202 | * @param ids | 196 | * @param ids |
... | @@ -215,7 +209,7 @@ public class ScreenAssemblyConfigController { | ... | @@ -215,7 +209,7 @@ public class ScreenAssemblyConfigController { |
215 | } | 209 | } |
216 | return result; | 210 | return result; |
217 | } | 211 | } |
218 | 212 | ||
219 | /** | 213 | /** |
220 | * 通过id查询 | 214 | * 通过id查询 |
221 | * @param id | 215 | * @param id | ... | ... |
... | @@ -3,6 +3,8 @@ package com.skua.modules.screenconfig.mapper; | ... | @@ -3,6 +3,8 @@ package com.skua.modules.screenconfig.mapper; |
3 | import java.util.List; | 3 | import java.util.List; |
4 | import java.util.Map; | 4 | import java.util.Map; |
5 | 5 | ||
6 | import com.skua.tool.annotation.Anonymous; | ||
7 | import org.apache.ibatis.annotations.Param; | ||
6 | import org.apache.ibatis.annotations.Select; | 8 | import org.apache.ibatis.annotations.Select; |
7 | 9 | ||
8 | import com.skua.modules.screenconfig.entity.ScreenAssemblyConfig; | 10 | import com.skua.modules.screenconfig.entity.ScreenAssemblyConfig; |
... | @@ -15,4 +17,7 @@ public interface ScreenAssemblyConfigMapper extends BaseMapper<ScreenAssemblyCon | ... | @@ -15,4 +17,7 @@ public interface ScreenAssemblyConfigMapper extends BaseMapper<ScreenAssemblyCon |
15 | 17 | ||
16 | @Select({"select c.assembly_type assemblyType,count(c.assembly_type) count from screen_assembly_config c group by c.assembly_type"}) | 18 | @Select({"select c.assembly_type assemblyType,count(c.assembly_type) count from screen_assembly_config c group by c.assembly_type"}) |
17 | List<Map<String,String>> assemblyCount(); | 19 | List<Map<String,String>> assemblyCount(); |
20 | |||
21 | @Anonymous | ||
22 | List<ScreenAssemblyConfig> getList(@Param("screenType") String screenType, @Param("assemblyTypes") String assemblyTypes); | ||
18 | } | 23 | } | ... | ... |
... | @@ -2,4 +2,13 @@ | ... | @@ -2,4 +2,13 @@ |
2 | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | 2 | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
3 | <mapper namespace="com.skua.modules.screenconfig.mapper.ScreenAssemblyConfigMapper"> | 3 | <mapper namespace="com.skua.modules.screenconfig.mapper.ScreenAssemblyConfigMapper"> |
4 | 4 | ||
5 | </mapper> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
5 | <select id="getList" resultType="com.skua.modules.screenconfig.entity.ScreenAssemblyConfig"> | ||
6 | select * from screen_assembly_config | ||
7 | where screen_type = #{screenType} | ||
8 | and assembly_type in | ||
9 | <foreach item="item" index="index" collection="assemblyTypes.split(',')" open="(" separator="," close=")"> | ||
10 | #{item} | ||
11 | </foreach> | ||
12 | </select> | ||
13 | |||
14 | </mapper> | ... | ... |
... | @@ -11,7 +11,8 @@ import com.baomidou.mybatisplus.extension.service.IService; | ... | @@ -11,7 +11,8 @@ import com.baomidou.mybatisplus.extension.service.IService; |
11 | * 大屏配置组件 | 11 | * 大屏配置组件 |
12 | */ | 12 | */ |
13 | public interface IScreenAssemblyConfigService extends IService<ScreenAssemblyConfig> { | 13 | public interface IScreenAssemblyConfigService extends IService<ScreenAssemblyConfig> { |
14 | 14 | ||
15 | public List<Map<String, String>> assemblyCount(); | 15 | public List<Map<String, String>> assemblyCount(); |
16 | 16 | ||
17 | List<ScreenAssemblyConfig> getList(String screenType, String assemblyTypes); | ||
17 | } | 18 | } | ... | ... |
... | @@ -26,8 +26,13 @@ public class ScreenAssemblyConfigServiceImpl extends ServiceImpl<ScreenAssemblyC | ... | @@ -26,8 +26,13 @@ public class ScreenAssemblyConfigServiceImpl extends ServiceImpl<ScreenAssemblyC |
26 | // int count = Integer.parseInt(map.get("count").toString()); | 26 | // int count = Integer.parseInt(map.get("count").toString()); |
27 | // countAll += count; | 27 | // countAll += count; |
28 | // } | 28 | // } |
29 | |||
30 | return listMap; | 29 | return listMap; |
31 | } | 30 | } |
32 | 31 | ||
32 | @Override | ||
33 | public List<ScreenAssemblyConfig> getList(String screenType, String assemblyTypes) { | ||
34 | List<ScreenAssemblyConfig> list = baseMapper.getList(screenType, assemblyTypes); | ||
35 | return list; | ||
36 | } | ||
37 | |||
33 | } | 38 | } | ... | ... |
sk-module-datafill/src/main/java/com/skua/modules/dataAnalysis/mapper/xml/PowerAnalysisNewMapper.xml
... | @@ -685,13 +685,9 @@ | ... | @@ -685,13 +685,9 @@ |
685 | and depart_id=#{factoryId} | 685 | and depart_id=#{factoryId} |
686 | </if> | 686 | </if> |
687 | GROUP BY | 687 | GROUP BY |
688 | depart_id, | 688 | depart_id,LEFT ( ts, 7 ),index_tag |
689 | LEFT ( ts, 7 ), | ||
690 | index_tag | ||
691 | ORDER BY | 689 | ORDER BY |
692 | depart_id, | 690 | depart_id,LEFT ( ts, 7 ),index_tag |
693 | LEFT ( ts, 7 ), | ||
694 | index_tag | ||
695 | </select> | 691 | </select> |
696 | <select id="queryHDLAndSL" resultType="java.util.Map"> | 692 | <select id="queryHDLAndSL" resultType="java.util.Map"> |
697 | SELECT | 693 | SELECT | ... | ... |
-
请 注册 或 登录 后发表评论