2d6b0218 康伟

Merge remote-tracking branch 'origin/master'

2 个父辈 bdfe9bb7 1a612ab8
...@@ -361,18 +361,27 @@ ...@@ -361,18 +361,27 @@
361 </if> 361 </if>
362 ) f 362 ) f
363 left join ( 363 left join (
364 select 364 SELECT
365 ROUND(SUM(v.CSL)/10000,2) as clsl, 365 ROUND( SUM( v2119.CSL ) / 10000, 2 ) AS clsl,
366 ROUND(AVG(v.CSL)/10000,2) as rjclsl, 366 ROUND( AVG( v2119.CSL ) / 10000, 2 ) AS rjclsl,
367 'sl' AS type 367 'sl' AS type
368 from ${dataView2119} v 368 FROM
369 where v.time &gt;= #{startDate} and v.time &lt;= #{endDate} 369 (
370 SELECT
371 SUM( v.CSL ) AS CSL,
372 v.depart_id
373 FROM
374 ${dataView2119} v
375 WHERE
376 v.time &gt;= #{startDate} and v.time &lt;= #{endDate}
370 <if test="departId!=null and departId!=''"> 377 <if test="departId!=null and departId!=''">
371 AND v.depart_id in 378 AND v.depart_id in
372 <foreach item="item" index="index" collection="departId.split(',')" open="(" separator="," close=")"> 379 <foreach item="item" index="index" collection="departId.split(',')" open="(" separator="," close=")">
373 '${item}' 380 '${item}'
374 </foreach> 381 </foreach>
375 </if> 382 </if>
383 GROUP BY v.depart_id
384 ) v2119
376 ) v2 ON f.type = v2.type 385 ) v2 ON f.type = v2.type
377 </select> 386 </select>
378 <select id="getDsdhListGroupByDepart" resultType="java.util.HashMap"> 387 <select id="getDsdhListGroupByDepart" resultType="java.util.HashMap">
......
...@@ -77,6 +77,10 @@ public class NFDataSyncJob implements Job { ...@@ -77,6 +77,10 @@ public class NFDataSyncJob implements Job {
77 }else{ 77 }else{
78 data.put(itemCode, itemValue); 78 data.put(itemCode, itemValue);
79 } 79 }
80 }else if("nhrb".equals(itemType)){
81 data.put(itemCode, itemValue);
82 data.put("reportId", ReportConstant.view3a24);
83 reportDataService.insertOrUpdateReportData(departId, time, data, ReportConstant.view3a24);
80 }else { 84 }else {
81 log.info("恩菲【"+itemType+"】类型数据未进行数据同步"); 85 log.info("恩菲【"+itemType+"】类型数据未进行数据同步");
82 } 86 }
......
...@@ -154,11 +154,11 @@ public class ShiroConfig { ...@@ -154,11 +154,11 @@ public class ShiroConfig {
154 filterChainDefinitionMap.put("/jmeter/**", "anon"); 154 filterChainDefinitionMap.put("/jmeter/**", "anon");
155 filterChainDefinitionMap.put("/jmReport/**", "anon"); 155 filterChainDefinitionMap.put("/jmReport/**", "anon");
156 filterChainDefinitionMap.put("/v1/operate/**", "anon"); 156 filterChainDefinitionMap.put("/v1/operate/**", "anon");
157 //设备导入
157 // filterChainDefinitionMap.put("/equipment/importExcel", "anon"); 158 // filterChainDefinitionMap.put("/equipment/importExcel", "anon");
158 // filterChainDefinitionMap.put("/v1/factoryCenter/getHourWaterData", "anon"); 159 // filterChainDefinitionMap.put("/v1/factoryCenter/**", "anon");
159 160
160 filterChainDefinitionMap.put("/harbinTechnology/fillReport/**", "anon"); 161 filterChainDefinitionMap.put("/harbinTechnology/fillReport/**", "anon");
161 // filterChainDefinitionMap.put("/v1/factoryCenter/queryMonitoringData", "anon");
162 162
163 // 添加自己的过滤器并且取名为jwt 163 // 添加自己的过滤器并且取名为jwt
164 Map<String, Filter> filterMap = new HashMap<String, Filter>(1); 164 Map<String, Filter> filterMap = new HashMap<String, Filter>(1);
......
...@@ -75,7 +75,7 @@ public class MybatisInterceptor implements Interceptor { ...@@ -75,7 +75,7 @@ public class MybatisInterceptor implements Interceptor {
75 add("ajh_supplier_manage"); 75 add("ajh_supplier_manage");
76 add("ajh_meeting_attend"); 76 add("ajh_meeting_attend");
77 add("equipment_sparepart_supplies_allot"); 77 add("equipment_sparepart_supplies_allot");
78 add("ajh_rectification_info"); 78 // add("ajh_rectification_info");
79 add("alarm_rule_config_public_templete");//放行报警配置公共模板表 79 add("alarm_rule_config_public_templete");//放行报警配置公共模板表
80 //算法库相关表过滤权限 80 //算法库相关表过滤权限
81 add("sys_algorithm_database_info"); 81 add("sys_algorithm_database_info");
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!