Merge remote-tracking branch 'origin/master'
正在显示
17 个修改的文件
包含
315 行增加
和
62 行删除
... | @@ -651,18 +651,17 @@ public class ScreenDataController { | ... | @@ -651,18 +651,17 @@ public class ScreenDataController { |
651 | @AutoLog(value = "厂区详细信息-厂区信息自定义查询") | 651 | @AutoLog(value = "厂区详细信息-厂区信息自定义查询") |
652 | @ApiOperation(value = "厂区详细信息-厂区信息自定义查询", notes = "厂区详细信息-厂区信息自定义查询") | 652 | @ApiOperation(value = "厂区详细信息-厂区信息自定义查询", notes = "厂区详细信息-厂区信息自定义查询") |
653 | @RequestMapping(value = "/getFactoryListByWrapper", method = RequestMethod.GET) | 653 | @RequestMapping(value = "/getFactoryListByWrapper", method = RequestMethod.GET) |
654 | public Result<List<SysFactoryInfoVO>> getFactoryListByWrapper(SysFactoryInfoVO | 654 | public Result<List<SysFactoryInfoVO>> getFactoryListByWrapper(SysFactoryInfoVO sysFactoryInfoVO) { |
655 | sysFactoryInfoVO, HttpServletRequest request) { | ||
656 | Result<List<SysFactoryInfoVO>> result = new Result<>(); | 655 | Result<List<SysFactoryInfoVO>> result = new Result<>(); |
657 | QueryWrapper<SysFactoryInfoVO> queryWrapper = new QueryWrapper<>(); | 656 | QueryWrapper<SysFactoryInfoVO> queryWrapper = new QueryWrapper<>(); |
658 | 657 | ||
659 | String departType = sysFactoryInfoVO.getDepartType(); | 658 | String departType = sysFactoryInfoVO.getDepartType(); |
660 | if (org.apache.commons.lang3.StringUtils.isNotBlank(departType)) { | 659 | if (ConvertUtils.isNotEmpty(departType)) { |
661 | queryWrapper.in("d.depart_type", departType.split(",")); | 660 | queryWrapper.in("d.depart_type", departType.split(",")); |
662 | } | 661 | } |
663 | 662 | ||
664 | String dataDepartId = sysFactoryInfoVO.getDepartId(); | 663 | String dataDepartId = sysFactoryInfoVO.getDepartId(); |
665 | if (org.apache.commons.lang3.StringUtils.isNotBlank(dataDepartId)) { | 664 | if (ConvertUtils.isNotEmpty(dataDepartId)) { |
666 | queryWrapper.in("d.id", dataDepartId.split(",")); | 665 | queryWrapper.in("d.id", dataDepartId.split(",")); |
667 | } | 666 | } |
668 | queryWrapper.orderByAsc("d.depart_order"); | 667 | queryWrapper.orderByAsc("d.depart_order"); | ... | ... |
... | @@ -3,6 +3,7 @@ package com.skua.modules.custom.mapper; | ... | @@ -3,6 +3,7 @@ package com.skua.modules.custom.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.modules.custom.vo.DepartWeekReportVO; | ||
6 | import org.apache.ibatis.annotations.Param; | 7 | import org.apache.ibatis.annotations.Param; |
7 | 8 | ||
8 | import com.skua.modules.custom.entity.FCustomReportDataset; | 9 | import com.skua.modules.custom.entity.FCustomReportDataset; |
... | @@ -82,4 +83,9 @@ public interface FCustomReportDatasetMapper extends BaseMapper<FCustomReportData | ... | @@ -82,4 +83,9 @@ public interface FCustomReportDatasetMapper extends BaseMapper<FCustomReportData |
82 | 83 | ||
83 | List<Map<String, Object>> getDataFromHY(@Param(value="tbYear")String tbYear, @Param(value="year")String year, | 84 | List<Map<String, Object>> getDataFromHY(@Param(value="tbYear")String tbYear, @Param(value="year")String year, |
84 | @Param(value="departId")String departId); | 85 | @Param(value="departId")String departId); |
86 | |||
87 | Map<String, Object> getWeekReport(@Param(value="dataTime") String dataTime, @Param(value="departId") String departId, | ||
88 | @Param(value="week") String week,@Param(value="startDate") String startDate,@Param(value="endDate") String endDate); | ||
89 | |||
90 | List<DepartWeekReportVO> getWeekReportData(@Param(value="startDate") String startDate, @Param(value="endDate") String endDate); | ||
85 | } | 91 | } | ... | ... |
... | @@ -172,4 +172,75 @@ | ... | @@ -172,4 +172,75 @@ |
172 | where v1.time like CONCAT(#{year},'%') and v1.depart_id = #{departId} GROUP BY v1.depart_id,left(v1.time,7) | 172 | where v1.time like CONCAT(#{year},'%') and v1.depart_id = #{departId} GROUP BY v1.depart_id,left(v1.time,7) |
173 | </select> | 173 | </select> |
174 | 174 | ||
175 | <select id="getWeekReport" resultType="java.util.HashMap"> | ||
176 | SELECT | ||
177 | d.id AS depart_id, | ||
178 | #{week} as zs, | ||
179 | #{dataTime} as time, | ||
180 | #{startDate} as startdate, | ||
181 | #{endDate} as enddate, | ||
182 | v9.JSCOD as jscod, | ||
183 | v9.JSAD as jsnh3n, | ||
184 | v9.JSPH as jsph, | ||
185 | v9.JSZD as jstn, | ||
186 | v9.JSZL as jstp, | ||
187 | v9.CSCOD as cscod, | ||
188 | v9.CSAD as csnh3n, | ||
189 | v9.CSPH as csph, | ||
190 | v9.CSTN as cstn, | ||
191 | v9.CSZL as cstp, | ||
192 | v3.qt5,v3.qt4,v3.qt3,v3.qt2,v3.qt1, | ||
193 | v3.scqk5,v3.scqk4,v3.scqk3,v3.scqk2,v3.scqk1, | ||
194 | v3.id,v3.zwncb,v3.tnlgyy,v3.sjtnl, | ||
195 | v3.lltnl,v3.wnndgyy,v3.zsjwnnd,v3.llwnnd,v3.yjyy,v3.dhyy, | ||
196 | v8.dlhj,v8.yjhl,v8.wnl, | ||
197 | v2.zclsl,v2.rjclsl | ||
198 | FROM | ||
199 | sys_depart d | ||
200 | LEFT JOIN (SELECT * FROM view_30a8 WHERE depart_id = #{departId} AND time = #{dataTime} AND zs = #{week}) v3 on v3.depart_id = d.id | ||
201 | LEFT JOIN (SELECT | ||
202 | ROUND(AVG(JSCOD),2) JSCOD,ROUND(AVG(JSAD),2) JSAD,ROUND(AVG(JSPH),2) JSPH,ROUND(AVG(JSZD),2) JSZD,ROUND(AVG(JSZL),2) JSZL, | ||
203 | ROUND(AVG(CSCOD),2) CSCOD,ROUND(AVG(CSAD),2) CSAD,ROUND(AVG(CSPH),2) CSPH,ROUND(AVG(CSTN),2) CSTN,ROUND(AVG(CSZL),2) CSZL, | ||
204 | depart_id | ||
205 | FROM view_9bff | ||
206 | WHERE depart_id = #{departId} AND time >= #{startDate} AND time <= #{endDate} ) v9 on v9.depart_id = d.id | ||
207 | LEFT JOIN (SELECT | ||
208 | SUM(DLHJ) dlhj,(SUM( PAMRJ ) + SUM( SCLPAMZ ) + SUM( SCLPAMF ) + SUM( NACLO ) + SUM( PACGT ) + SUM( PACYT ) + SUM( PFS ) + SUM( FHTY ) + | ||
209 | SUM( RYXNJ ) + SUM( YWL ) + SUM( GXCLJ ) + SUM( CH3COONA ) + SUM( HXT ) + SUM( FECL3 ) + SUM( SH ) + SUM( CH3COOH ) + SUM( FESO4G ) + | ||
210 | SUM( FESO4Y ) + SUM( H2O2 )) yjhl,SUM(WNL) wnl,depart_id | ||
211 | FROM view_3a24 | ||
212 | WHERE depart_id = #{departId} AND time >= #{startDate} AND time <= #{endDate} ) v8 on v8.depart_id = d.id | ||
213 | LEFT JOIN (SELECT | ||
214 | SUM(CSL) zclsl, | ||
215 | ROUND(AVG(CSL),2) rjclsl, | ||
216 | depart_id | ||
217 | FROM view_2119 | ||
218 | WHERE depart_id = #{departId} AND time >= #{startDate} AND time <= #{endDate} ) v2 on v2.depart_id = d.id | ||
219 | WHERE | ||
220 | d.id = #{departId} | ||
221 | </select> | ||
222 | |||
223 | <select id="getWeekReportData" resultType="com.skua.modules.custom.vo.DepartWeekReportVO"> | ||
224 | SELECT | ||
225 | d.depart_order AS num, | ||
226 | d.depart_name, | ||
227 | f.pro_scale AS sjsl, | ||
228 | v2.rjclsl AS clsl, | ||
229 | v3.wnl AS wnl, | ||
230 | ROUND(v3.hdl/v2.zclsl,4) AS dsdh | ||
231 | FROM | ||
232 | sys_depart d | ||
233 | left join sys_factory_info f on f.depart_id = d.id | ||
234 | left join (select depart_id,ROUND(SUM(WNL),2) wnl,ROUND(SUM(DLHJ),2) hdl | ||
235 | from view_3a24 | ||
236 | where time >= #{startDate} AND time <= #{endDate} GROUP BY depart_id) v3 on v3.depart_id = d.id | ||
237 | left join (select depart_id, ROUND(AVG(CSL)/10000,2) AS rjclsl, ROUND(SUM(CSL),2) AS zclsl | ||
238 | from view_2119 | ||
239 | where time >= #{startDate} AND time <= #{endDate} GROUP BY depart_id) v2 on v2.depart_id = d.id | ||
240 | WHERE | ||
241 | d.depart_type = 1 | ||
242 | ORDER BY | ||
243 | d.depart_order | ||
244 | </select> | ||
245 | |||
175 | </mapper> | 246 | </mapper> | ... | ... |
... | @@ -81,4 +81,14 @@ public interface IFCustomReportDatasetService extends IService<FCustomReportData | ... | @@ -81,4 +81,14 @@ public interface IFCustomReportDatasetService extends IService<FCustomReportData |
81 | * @return | 81 | * @return |
82 | */ | 82 | */ |
83 | List<Map<String, Object>> getDataFromHY(String dataTime, String departId); | 83 | List<Map<String, Object>> getDataFromHY(String dataTime, String departId); |
84 | |||
85 | /** | ||
86 | * 运营周报 | ||
87 | * @param dataTime | ||
88 | * @param departId | ||
89 | * @return | ||
90 | */ | ||
91 | Map<String, Object> getWeekReport(String dataTime, String departId, String week); | ||
92 | |||
93 | Map<String, Object> reportWeekShow(String dataTime, String week); | ||
84 | } | 94 | } | ... | ... |
... | @@ -4,11 +4,14 @@ import com.skua.common.report.ReportViewUtil; | ... | @@ -4,11 +4,14 @@ import com.skua.common.report.ReportViewUtil; |
4 | import com.skua.modules.custom.entity.FCustomReportDataset; | 4 | import com.skua.modules.custom.entity.FCustomReportDataset; |
5 | import com.skua.modules.custom.mapper.FCustomReportDatasetMapper; | 5 | import com.skua.modules.custom.mapper.FCustomReportDatasetMapper; |
6 | import com.skua.modules.custom.service.IFCustomReportDatasetService; | 6 | import com.skua.modules.custom.service.IFCustomReportDatasetService; |
7 | import com.skua.modules.custom.vo.DepartWeekReportVO; | ||
7 | import com.skua.modules.custom.vo.FCustomReportDatasetVO; | 8 | import com.skua.modules.custom.vo.FCustomReportDatasetVO; |
8 | 9 | ||
9 | import java.util.ArrayList; | 10 | import java.time.LocalDate; |
10 | import java.util.List; | 11 | import java.time.format.DateTimeFormatter; |
11 | import java.util.Map; | 12 | import java.time.temporal.TemporalAdjusters; |
13 | import java.time.temporal.WeekFields; | ||
14 | import java.util.*; | ||
12 | 15 | ||
13 | import org.springframework.beans.factory.annotation.Autowired; | 16 | import org.springframework.beans.factory.annotation.Autowired; |
14 | import org.springframework.stereotype.Service; | 17 | import org.springframework.stereotype.Service; |
... | @@ -71,4 +74,76 @@ public class FCustomReportDatasetServiceImpl extends ServiceImpl<FCustomReportDa | ... | @@ -71,4 +74,76 @@ public class FCustomReportDatasetServiceImpl extends ServiceImpl<FCustomReportDa |
71 | return valueMapList; | 74 | return valueMapList; |
72 | } | 75 | } |
73 | 76 | ||
77 | @Override | ||
78 | public Map<String, Object> getWeekReport(String dataTime, String departId, String week) { | ||
79 | Map<String, Object> valueMap = new HashMap<>(); | ||
80 | Map<String,String> weekMap = getWeekDate(dataTime,week); | ||
81 | String startDate = weekMap.get("start"); | ||
82 | String endDate = weekMap.get("end"); | ||
83 | valueMap = mapper.getWeekReport(dataTime, departId, week, startDate, endDate); | ||
84 | if(valueMap==null){ | ||
85 | valueMap = new HashMap<>(); | ||
86 | valueMap.put("depart_id", departId); | ||
87 | valueMap.put("time", dataTime); | ||
88 | valueMap.put("zs", week); | ||
89 | valueMap.put("startdate", startDate); | ||
90 | valueMap.put("enddate", endDate); | ||
91 | } | ||
92 | return valueMap; | ||
93 | } | ||
94 | |||
95 | /** | ||
96 | * 获取周开始结束时间 | ||
97 | * @param yearMonth | ||
98 | * @param week | ||
99 | * @return | ||
100 | */ | ||
101 | public static Map<String,String> getWeekDate(String yearMonth,String week) { | ||
102 | Map<String,String> map = new HashMap<>(); | ||
103 | int weekOfMonth = Integer.valueOf(week); // 输入的第几周 | ||
104 | try { | ||
105 | // 解析年月并构造本月的第一天日期 | ||
106 | LocalDate firstOfMonth = LocalDate.parse(yearMonth + "-01", DateTimeFormatter.ofPattern("yyyy-MM-dd")); | ||
107 | // 获取本月的第一个星期一 | ||
108 | WeekFields weekFields = WeekFields.of(Locale.getDefault()); | ||
109 | LocalDate firstMondayOfMonth = firstOfMonth.with(TemporalAdjusters.firstInMonth(weekFields.getFirstDayOfWeek())); | ||
110 | // 计算目标周的开始和结束日期 | ||
111 | LocalDate startOfWeek = firstMondayOfMonth.plusWeeks(weekOfMonth - 1).plusDays(1); | ||
112 | LocalDate endOfWeek = startOfWeek.plusDays(6); | ||
113 | // 如果结束日期超出本月,调整结束日期 | ||
114 | if (endOfWeek.getMonth() != firstOfMonth.getMonth()) { | ||
115 | endOfWeek = firstOfMonth.withDayOfMonth(firstOfMonth.lengthOfMonth()); | ||
116 | } | ||
117 | DateTimeFormatter dateFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd"); | ||
118 | map.put("start", startOfWeek.format(dateFormatter)); | ||
119 | map.put("end", endOfWeek.format(dateFormatter)); | ||
120 | } catch (Exception e) { | ||
121 | map.put("start", ""); | ||
122 | map.put("end", ""); | ||
123 | } | ||
124 | return map; | ||
125 | } | ||
126 | |||
127 | @Override | ||
128 | public Map<String, Object> reportWeekShow(String dataTime, String week) { | ||
129 | Map<String, Object> map = new HashMap<>(); | ||
130 | List<DepartWeekReportVO> list = new ArrayList<>(); | ||
131 | Map<String,String> weekMap = getWeekDate(dataTime,week); | ||
132 | String startDate = weekMap.get("start"); | ||
133 | String endDate = weekMap.get("end"); | ||
134 | list = mapper.getWeekReportData(startDate, endDate); | ||
135 | map.put("zclsl", "776");//处理水量合计 | ||
136 | map.put("rjclsl", "110.7");//日均处理水量 | ||
137 | map.put("rjclsl_hb", "2");//较上周增减量 | ||
138 | map.put("dsdh", "0.329");//吨水电耗 | ||
139 | map.put("dsdh_hb", "0.002");//吨水电耗较上周增减量 | ||
140 | map.put("cnl", "3978.8");//产泥量 | ||
141 | map.put("list", list); | ||
142 | map.put("scqk", "(1)本周暂无生产情况说明");//生产情况 | ||
143 | map.put("wxqk", "(1)本周暂无设备大修、更新情况");// | ||
144 | map.put("aqgz", "(1)本周暂无生产情况说明");//安全工作 | ||
145 | map.put("qt", "(1)本周暂无其他情况说明");//其他 | ||
146 | return map; | ||
147 | } | ||
148 | |||
74 | } | 149 | } | ... | ... |
1 | package com.skua.modules.custom.vo; | ||
2 | |||
3 | import io.swagger.annotations.ApiModel; | ||
4 | import io.swagger.annotations.ApiModelProperty; | ||
5 | import lombok.Data; | ||
6 | |||
7 | import java.util.ArrayList; | ||
8 | import java.util.List; | ||
9 | import java.util.Map; | ||
10 | |||
11 | /** | ||
12 | * 周运行统计VO对象 | ||
13 | */ | ||
14 | @Data | ||
15 | @ApiModel(value="周运行统计VO对象", description="周运行统计VO对象") | ||
16 | public class DepartWeekReportVO { | ||
17 | /**编号*/ | ||
18 | @ApiModelProperty(value = "编号") | ||
19 | private String num; | ||
20 | /**厂区名称*/ | ||
21 | @ApiModelProperty(value = "厂区名称") | ||
22 | private String departName; | ||
23 | /**设计规模*/ | ||
24 | @ApiModelProperty(value = "设计规模") | ||
25 | private String sjsl; | ||
26 | /**实际水量*/ | ||
27 | @ApiModelProperty(value = "实际水量") | ||
28 | private String clsl; | ||
29 | /**污泥量*/ | ||
30 | @ApiModelProperty(value = "污泥量") | ||
31 | private String wnl; | ||
32 | /**吨水电耗*/ | ||
33 | @ApiModelProperty(value = "吨水电耗") | ||
34 | private String dsdh; | ||
35 | } |
1 | package com.skua.modules.dataAnalysis.mapper; | 1 | package com.skua.modules.dataAnalysis.mapper; |
2 | 2 | ||
3 | import com.skua.modules.system.datestandard.entity.SysMonitorMetricInfo; | ||
4 | import org.apache.ibatis.annotations.Param; | ||
5 | |||
6 | import java.util.List; | ||
7 | import java.util.Map; | ||
8 | |||
9 | public interface FactoryCenterMapper { | 3 | public interface FactoryCenterMapper { |
10 | 4 | ||
11 | List<SysMonitorMetricInfo> getMonitorListByDepart(@Param("departId") String departId); | ||
12 | |||
13 | List<Map<String, Object>> getHourWaterData(@Param("departId") String departId, @Param("startDate") String startDate, @Param("endDate") String endDate); | ||
14 | } | 5 | } | ... | ... |
... | @@ -2,17 +2,4 @@ | ... | @@ -2,17 +2,4 @@ |
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.dataAnalysis.mapper.FactoryCenterMapper"> | 3 | <mapper namespace="com.skua.modules.dataAnalysis.mapper.FactoryCenterMapper"> |
4 | 4 | ||
5 | <select id="getMonitorListByDepart" resultType="com.skua.modules.system.datestandard.entity.SysMonitorMetricInfo"> | ||
6 | SELECT | ||
7 | * | ||
8 | FROM | ||
9 | sys_monitor_metric_info | ||
10 | WHERE | ||
11 | depart_id = #{departId} | ||
12 | AND metric_uid_tag IN ( 'JSTP', 'JSTN', 'JSPH', 'JSNH3N', 'JSCOD', 'CSTP', 'CSTN', 'CSPH', 'CSNH3N', 'CSCOD' ) | ||
13 | </select> | ||
14 | <select id="getHourWaterData" resultType="java.util.HashMap"> | ||
15 | select * from sys_monitor_metric_info | ||
16 | </select> | ||
17 | |||
18 | </mapper> | 5 | </mapper> | ... | ... |
此文件的差异被折叠,
点击展开。
... | @@ -112,4 +112,58 @@ public class ReportDataController { | ... | @@ -112,4 +112,58 @@ public class ReportDataController { |
112 | return Result.ok(valueMapList); | 112 | return Result.ok(valueMapList); |
113 | } | 113 | } |
114 | 114 | ||
115 | /** | ||
116 | * 功能描述: 运营周报 | ||
117 | * @Author: zhanglei | ||
118 | * @Date: 2022/1/19 17:57 | ||
119 | */ | ||
120 | @AutoLog(value = "运营周报展示") | ||
121 | @ApiOperation(value = "运营周报展示", notes = "运营周报展示") | ||
122 | @GetMapping(value = "/reportWeekData") | ||
123 | public Result reportWeekData(HttpServletRequest req) { | ||
124 | String departId = ConvertUtils.getString(req.getParameter("departId")); | ||
125 | String reportId = ConvertUtils.getString(req.getParameter("reportId")); | ||
126 | String dataTime = ConvertUtils.getString(req.getParameter("time")); | ||
127 | String week = ConvertUtils.getString(req.getParameter("week")); | ||
128 | Map<String, Object> valueMap = new HashMap<>(); | ||
129 | valueMap = fCustomReportDatasetService.getWeekReport(dataTime, departId, week); | ||
130 | Map<String, Map<String, Object>> time2Val = Maps.newHashMap(); | ||
131 | Map<String, Object> tmp = Maps.newHashMap(); | ||
132 | valueMap.forEach((key, val) -> { | ||
133 | if (val != null) { | ||
134 | double v = 0; | ||
135 | try { | ||
136 | v = Double.parseDouble(val.toString()); | ||
137 | if (StringUtils.isNotBlank(val.toString())) { | ||
138 | String bigDecimal = new BigDecimal(v).setScale(2, RoundingMode.HALF_UP).stripTrailingZeros().toPlainString(); | ||
139 | tmp.put(key, bigDecimal); | ||
140 | } else { | ||
141 | tmp.put(key, val); | ||
142 | } | ||
143 | } catch (NumberFormatException e) { | ||
144 | tmp.put(key, val); | ||
145 | } | ||
146 | } else { | ||
147 | tmp.put(key, val); | ||
148 | } | ||
149 | }); | ||
150 | String time = ConvertUtils.getString(valueMap.get("time")); | ||
151 | tmp.put("departId", ConvertUtils.getString(valueMap.get("depart_id"))); | ||
152 | tmp.put("reportId", reportId); | ||
153 | time2Val.put(time, tmp); | ||
154 | return Result.ok(valueMap); | ||
155 | } | ||
156 | |||
157 | @AutoLog(value = "运营周报展示") | ||
158 | @ApiOperation(value = "运营周报展示", notes = "运营周报展示") | ||
159 | @GetMapping(value = "/reportWeekShow") | ||
160 | public Result<Map<String,Object>> reportWeekShow(HttpServletRequest req) { | ||
161 | Result<Map<String,Object>> result = new Result<>(); | ||
162 | String dataTime = ConvertUtils.getString(req.getParameter("time")); | ||
163 | String week = ConvertUtils.getString(req.getParameter("week")); | ||
164 | Map<String,Object> map = fCustomReportDatasetService.reportWeekShow(dataTime,week); | ||
165 | result.setResult(map); | ||
166 | return result; | ||
167 | } | ||
168 | |||
115 | } | 169 | } | ... | ... |
... | @@ -100,7 +100,7 @@ public class ReportShowController { | ... | @@ -100,7 +100,7 @@ public class ReportShowController { |
100 | long start = DateUtils.getMillis(); | 100 | long start = DateUtils.getMillis(); |
101 | if(StringUtils.isEmpty(departId)) { | 101 | if(StringUtils.isEmpty(departId)) { |
102 | departId = BaseContextHandler.getDeparts(); | 102 | departId = BaseContextHandler.getDeparts(); |
103 | } | 103 | } |
104 | List<Map<String,Object>> resultList = new ArrayList<>(); | 104 | List<Map<String,Object>> resultList = new ArrayList<>(); |
105 | List<Map<String,Object>> dataList = new ArrayList<>(); | 105 | List<Map<String,Object>> dataList = new ArrayList<>(); |
106 | List<FReportItem> attributeList = new ArrayList<>(); | 106 | List<FReportItem> attributeList = new ArrayList<>(); |
... | @@ -134,7 +134,7 @@ public class ReportShowController { | ... | @@ -134,7 +134,7 @@ public class ReportShowController { |
134 | // FReportItem fReportItem = itemList.get(j); | 134 | // FReportItem fReportItem = itemList.get(j); |
135 | // if(fReportItem!=null){ | 135 | // if(fReportItem!=null){ |
136 | // attributeList.add(fReportItem); | 136 | // attributeList.add(fReportItem); |
137 | // | 137 | // |
138 | // } | 138 | // } |
139 | // } | 139 | // } |
140 | //System.out.println("获取组装SQL时间"+ (DateUtils.getMillis()-start)); | 140 | //System.out.println("获取组装SQL时间"+ (DateUtils.getMillis()-start)); |
... | @@ -149,7 +149,7 @@ public class ReportShowController { | ... | @@ -149,7 +149,7 @@ public class ReportShowController { |
149 | //sql.append(" from view_"+reportId.substring(0,4)+" v "); | 149 | //sql.append(" from view_"+reportId.substring(0,4)+" v "); |
150 | //System.out.println(ReportViewUtil.buildView(reportId, "", departId, "", "")); | 150 | //System.out.println(ReportViewUtil.buildView(reportId, "", departId, "", "")); |
151 | sql.append(" from "+ReportViewUtil.buildViewLike(reportId, itemCodes, departId, dataTime)+" v "); | 151 | sql.append(" from "+ReportViewUtil.buildViewLike(reportId, itemCodes, departId, dataTime)+" v "); |
152 | 152 | ||
153 | //sql.append(" left join view_audit_info d on v.id=d.report_content_id "); | 153 | //sql.append(" left join view_audit_info d on v.id=d.report_content_id "); |
154 | sql.append(" left join sys_depart s on s.id = v.depart_id "); | 154 | sql.append(" left join sys_depart s on s.id = v.depart_id "); |
155 | sql.append(" where 1=1 "); | 155 | sql.append(" where 1=1 "); |
... | @@ -200,7 +200,7 @@ public class ReportShowController { | ... | @@ -200,7 +200,7 @@ public class ReportShowController { |
200 | // dataList.add(dataMap); | 200 | // dataList.add(dataMap); |
201 | // } | 201 | // } |
202 | // }else{ | 202 | // }else{ |
203 | // | 203 | // |
204 | // } | 204 | // } |
205 | } | 205 | } |
206 | } | 206 | } |
... | @@ -226,20 +226,20 @@ public class ReportShowController { | ... | @@ -226,20 +226,20 @@ public class ReportShowController { |
226 | Result<List<String>> result = new Result<List<String>>(); | 226 | Result<List<String>> result = new Result<List<String>>(); |
227 | List<String> dataList = new ArrayList<String>(); | 227 | List<String> dataList = new ArrayList<String>(); |
228 | JdbcTemplate masterDB = (JdbcTemplate)SpringContextUtils.getBean("master"); | 228 | JdbcTemplate masterDB = (JdbcTemplate)SpringContextUtils.getBean("master"); |
229 | 229 | ||
230 | String tableName = ReportViewUtil.buildView(reportId, "", departId, startTime, endTime); | 230 | String tableName = ReportViewUtil.buildView(reportId, "", departId, startTime, endTime); |
231 | //String tableName = "view_"+reportId.substring(0,4); | 231 | //String tableName = "view_"+reportId.substring(0,4); |
232 | 232 | ||
233 | String sql="select time from "+tableName+" a where depart_id=? and time >=? and time <=?"; | 233 | String sql="select time from "+tableName+" a where depart_id=? and time >=? and time <=?"; |
234 | List<Map<String, Object>> list = masterDB.queryForList(sql,departId,startTime,endTime); | 234 | List<Map<String, Object>> list = masterDB.queryForList(sql,departId,startTime,endTime); |
235 | for(Map<String,Object> map : list) { | 235 | for(Map<String,Object> map : list) { |
236 | dataList.add(ConvertUtils.getString(map.get("time"))); | 236 | dataList.add(ConvertUtils.getString(map.get("time"))); |
237 | } | 237 | } |
238 | result.setResult(dataList); | 238 | result.setResult(dataList); |
239 | result.success("成功"); | 239 | result.success("成功"); |
240 | return result; | 240 | return result; |
241 | } | 241 | } |
242 | 242 | ||
243 | private Map<String, Object> getNewMap(Map<String, Object> oldMap, List<FReportItem> attributeList) { | 243 | private Map<String, Object> getNewMap(Map<String, Object> oldMap, List<FReportItem> attributeList) { |
244 | Map<String,Object> newMap = new LinkedHashMap<>(); | 244 | Map<String,Object> newMap = new LinkedHashMap<>(); |
245 | 245 | ||
... | @@ -450,7 +450,7 @@ public class ReportShowController { | ... | @@ -450,7 +450,7 @@ public class ReportShowController { |
450 | String orgCode = BaseContextHandler.getOrgCode(); | 450 | String orgCode = BaseContextHandler.getOrgCode(); |
451 | //获取填报时间年份,2020年及以前的数据存储到历史表,2020年之后的存储到新表,分表情况为洪城项目特有,其他项目请删除此逻辑 | 451 | //获取填报时间年份,2020年及以前的数据存储到历史表,2020年之后的存储到新表,分表情况为洪城项目特有,其他项目请删除此逻辑 |
452 | int year = Integer.valueOf(dataTime.substring(0, 4)); | 452 | int year = Integer.valueOf(dataTime.substring(0, 4)); |
453 | 453 | ||
454 | if(jsonObject.size() > 2){ | 454 | if(jsonObject.size() > 2){ |
455 | Iterator entries = map.entrySet().iterator(); | 455 | Iterator entries = map.entrySet().iterator(); |
456 | while (entries.hasNext()) { | 456 | while (entries.hasNext()) { |
... | @@ -532,20 +532,20 @@ public class ReportShowController { | ... | @@ -532,20 +532,20 @@ public class ReportShowController { |
532 | }else { | 532 | }else { |
533 | itemvList = fReportHistoryItemvService.getReportItemvByDataId(dataId); | 533 | itemvList = fReportHistoryItemvService.getReportItemvByDataId(dataId); |
534 | } | 534 | } |
535 | 535 | ||
536 | //构造itemvMap便于后面存储数据 | 536 | //构造itemvMap便于后面存储数据 |
537 | Map<String,FReportItemv> itemvMap = new HashMap<String,FReportItemv>(); | 537 | Map<String,FReportItemv> itemvMap = new HashMap<String,FReportItemv>(); |
538 | for(FReportItemv f : itemvList) { | 538 | for(FReportItemv f : itemvList) { |
539 | itemvMap.put(f.getReitId(), f); | 539 | itemvMap.put(f.getReitId(), f); |
540 | } | 540 | } |
541 | 541 | ||
542 | //更新itemvList数据 | 542 | //更新itemvList数据 |
543 | if(jsonObject.size() > 3){ | 543 | if(jsonObject.size() > 3){ |
544 | Iterator entries = map.entrySet().iterator(); | 544 | Iterator entries = map.entrySet().iterator(); |
545 | //接收所有填报字段 | 545 | //接收所有填报字段 |
546 | String keys=""; | 546 | String keys=""; |
547 | Map<String,Object> formMap = new HashMap<String,Object>(); | 547 | Map<String,Object> formMap = new HashMap<String,Object>(); |
548 | 548 | ||
549 | while (entries.hasNext()) { | 549 | while (entries.hasNext()) { |
550 | Map.Entry entry = (Map.Entry) entries.next(); | 550 | Map.Entry entry = (Map.Entry) entries.next(); |
551 | String key = entry.getKey().toString(); | 551 | String key = entry.getKey().toString(); |
... | @@ -632,7 +632,7 @@ public class ReportShowController { | ... | @@ -632,7 +632,7 @@ public class ReportShowController { |
632 | //fReportHistoryItemvService.saveOrUpdateBatch(historyItemvList); | 632 | //fReportHistoryItemvService.saveOrUpdateBatch(historyItemvList); |
633 | System.out.println("结束"); | 633 | System.out.println("结束"); |
634 | } | 634 | } |
635 | 635 | ||
636 | //触发自定义处理逻辑 | 636 | //触发自定义处理逻辑 |
637 | FReportManage fReportManage = fReportManageService.getById(reportId); | 637 | FReportManage fReportManage = fReportManageService.getById(reportId); |
638 | String customService = fReportManage.getCustomService(); | 638 | String customService = fReportManage.getCustomService(); |
... | @@ -640,13 +640,13 @@ public class ReportShowController { | ... | @@ -640,13 +640,13 @@ public class ReportShowController { |
640 | ICustomHandle customHandle = (ICustomHandle)SpringContextUtils.getBean(customService); | 640 | ICustomHandle customHandle = (ICustomHandle)SpringContextUtils.getBean(customService); |
641 | customHandle.CustomService(jsonObject); | 641 | customHandle.CustomService(jsonObject); |
642 | } | 642 | } |
643 | 643 | ||
644 | result.setSuccess(true); | 644 | result.setSuccess(true); |
645 | result.setMessage("修改成功"); | 645 | result.setMessage("修改成功"); |
646 | }else{ | 646 | }else{ |
647 | result.setMessage("修改失败"); | 647 | result.setMessage("修改失败"); |
648 | } | 648 | } |
649 | 649 | ||
650 | // if(jsonObject.size() > 3){ | 650 | // if(jsonObject.size() > 3){ |
651 | // Iterator entries = map.entrySet().iterator(); | 651 | // Iterator entries = map.entrySet().iterator(); |
652 | // while (entries.hasNext()) { | 652 | // while (entries.hasNext()) { |
... | @@ -752,13 +752,21 @@ public class ReportShowController { | ... | @@ -752,13 +752,21 @@ public class ReportShowController { |
752 | @ApiOperation(value="报表数据项值-判断日期是否存在", notes="报表数据项值-判断日期是否存在") | 752 | @ApiOperation(value="报表数据项值-判断日期是否存在", notes="报表数据项值-判断日期是否存在") |
753 | @GetMapping(value = "/isExitData") | 753 | @GetMapping(value = "/isExitData") |
754 | public Result<Map<String,Object>> isExitData(@RequestParam(name="time",required=true) String time, | 754 | public Result<Map<String,Object>> isExitData(@RequestParam(name="time",required=true) String time, |
755 | @RequestParam(name="reportId",required=true) String reportId, | 755 | @RequestParam(name="reportId",required=true) String reportId, |
756 | @RequestParam(name="departId",required=true) String departId) { | 756 | @RequestParam(name="departId",required=true) String departId,String week) { |
757 | Result<Map<String,Object>> result = new Result<Map<String,Object>>(); | 757 | Result<Map<String,Object>> result = new Result<Map<String,Object>>(); |
758 | Map<String,Object> map = new HashMap<>(); | 758 | Map<String,Object> map = new HashMap<>(); |
759 | boolean ok = true; | 759 | boolean ok = true; |
760 | try { | 760 | try { |
761 | ok = fReportItemvService.isExitDataByTime(reportId,time,departId); | 761 | if("30a80f54ff288ede9d2df2ddd073b6c3".equals(reportId)){ |
762 | if(ConvertUtils.isEmpty(week)){ | ||
763 | map.put("flag",false); | ||
764 | return result; | ||
765 | } | ||
766 | ok = fReportItemvService.isExitDataByTimeAndWeek(reportId,time,departId,week); | ||
767 | }else{ | ||
768 | ok = fReportItemvService.isExitDataByTime(reportId,time,departId); | ||
769 | } | ||
762 | } catch (Exception e) { | 770 | } catch (Exception e) { |
763 | ok = false; | 771 | ok = false; |
764 | } | 772 | } |
... | @@ -788,7 +796,7 @@ public class ReportShowController { | ... | @@ -788,7 +796,7 @@ public class ReportShowController { |
788 | try { | 796 | try { |
789 | //获取权限 | 797 | //获取权限 |
790 | List<FPermissionCfgDetail> allList = getPermissionByUser(userName, reportId); | 798 | List<FPermissionCfgDetail> allList = getPermissionByUser(userName, reportId); |
791 | 799 | ||
792 | //组装SQL | 800 | //组装SQL |
793 | StringBuffer sql = new StringBuffer("select "); | 801 | StringBuffer sql = new StringBuffer("select "); |
794 | String itemInSqlPart = ""; | 802 | String itemInSqlPart = ""; |
... | @@ -797,7 +805,7 @@ public class ReportShowController { | ... | @@ -797,7 +805,7 @@ public class ReportShowController { |
797 | } | 805 | } |
798 | attributeList = fReportItemService.getItemInfoSql(itemInSqlPart, reportId); | 806 | attributeList = fReportItemService.getItemInfoSql(itemInSqlPart, reportId); |
799 | Collections.sort(attributeList); | 807 | Collections.sort(attributeList); |
800 | 808 | ||
801 | String itemCodes = ""; | 809 | String itemCodes = ""; |
802 | for (int m = 0; m < attributeList.size(); m++) { | 810 | for (int m = 0; m < attributeList.size(); m++) { |
803 | if(!"InputGroup".equals(attributeList.get(m).getTextType())) { | 811 | if(!"InputGroup".equals(attributeList.get(m).getTextType())) { |
... | @@ -811,7 +819,7 @@ public class ReportShowController { | ... | @@ -811,7 +819,7 @@ public class ReportShowController { |
811 | sql.append(" v.depart_id as departId,s.depart_name as departName,v.id,v.time,'' as auditState,'' as nodeValue," + | 819 | sql.append(" v.depart_id as departId,s.depart_name as departName,v.id,v.time,'' as auditState,'' as nodeValue," + |
812 | "'' as recordMsg,'' as opeId "); | 820 | "'' as recordMsg,'' as opeId "); |
813 | //sql.append(" from view_"+reportId.substring(0,4)+" v "); | 821 | //sql.append(" from view_"+reportId.substring(0,4)+" v "); |
814 | 822 | ||
815 | sql.append(" from "+ReportViewUtil.buildView(reportId, itemCodes, departId, "", "")+" v "); | 823 | sql.append(" from "+ReportViewUtil.buildView(reportId, itemCodes, departId, "", "")+" v "); |
816 | //sql.append(" left join view_audit_info d on v.id=d.report_content_id "); | 824 | //sql.append(" left join view_audit_info d on v.id=d.report_content_id "); |
817 | sql.append(" left join sys_depart s on s.id = v.depart_id "); | 825 | sql.append(" left join sys_depart s on s.id = v.depart_id "); |
... | @@ -831,19 +839,19 @@ public class ReportShowController { | ... | @@ -831,19 +839,19 @@ public class ReportShowController { |
831 | sql.append(" and v.depart_id in ("+factoryInSql+") "); | 839 | sql.append(" and v.depart_id in ("+factoryInSql+") "); |
832 | } | 840 | } |
833 | sql.append(" order by v.time desc "); | 841 | sql.append(" order by v.time desc "); |
834 | 842 | ||
835 | // if(StringUtils.isNotEmpty(departId)){ | 843 | // if(StringUtils.isNotEmpty(departId)){ |
836 | // sql.append(" and v.depart_id = '"+departId+"' "); | 844 | // sql.append(" and v.depart_id = '"+departId+"' "); |
837 | // } | 845 | // } |
838 | // sql.append(" order by v.time desc "); | 846 | // sql.append(" order by v.time desc "); |
839 | log.info("===================:"+sql.toString()); | 847 | log.info("===================:"+sql.toString()); |
840 | resultList = fReportManageService.getReportBySql(sql.toString()); | 848 | resultList = fReportManageService.getReportBySql(sql.toString()); |
841 | 849 | ||
842 | //洪城项目用户要求运营日报导出带出各药剂项及药量 | 850 | //洪城项目用户要求运营日报导出带出各药剂项及药量 |
843 | if(reportId.equals("b78f82e1d9d01016ad72517dc430c3b5")) { | 851 | if(reportId.equals("b78f82e1d9d01016ad72517dc430c3b5")) { |
844 | fReportManageService.handleYyrbResult(reportId,attributeList,resultList); | 852 | fReportManageService.handleYyrbResult(reportId,attributeList,resultList); |
845 | } | 853 | } |
846 | 854 | ||
847 | List<Map<String,Object>> newResultList = new LinkedList<>(); | 855 | List<Map<String,Object>> newResultList = new LinkedList<>(); |
848 | for (int x = 0; x < resultList.size(); x++) { | 856 | for (int x = 0; x < resultList.size(); x++) { |
849 | Map<String,Object> dataMap = getNewMap(resultList.get(x),attributeList); | 857 | Map<String,Object> dataMap = getNewMap(resultList.get(x),attributeList); |
... | @@ -881,7 +889,7 @@ public class ReportShowController { | ... | @@ -881,7 +889,7 @@ public class ReportShowController { |
881 | } | 889 | } |
882 | } | 890 | } |
883 | } | 891 | } |
884 | 892 | ||
885 | for (int m = 0; m < attributeList.size(); m++) { | 893 | for (int m = 0; m < attributeList.size(); m++) { |
886 | if(!"InputGroup".equals(attributeList.get(m).getTextType())) { | 894 | if(!"InputGroup".equals(attributeList.get(m).getTextType())) { |
887 | if(!StringUtils.isEmpty(attributeList.get(m).getUnit())) { | 895 | if(!StringUtils.isEmpty(attributeList.get(m).getUnit())) { |
... | @@ -1060,7 +1068,7 @@ public class ReportShowController { | ... | @@ -1060,7 +1068,7 @@ public class ReportShowController { |
1060 | result.setSuccess(true); | 1068 | result.setSuccess(true); |
1061 | return result; | 1069 | return result; |
1062 | } | 1070 | } |
1063 | 1071 | ||
1064 | public static void main(String[] args) { | 1072 | public static void main(String[] args) { |
1065 | String time = "2022-01-02"; | 1073 | String time = "2022-01-02"; |
1066 | System.out.println(time.substring(0, 4)); | 1074 | System.out.println(time.substring(0, 4)); | ... | ... |
... | @@ -33,4 +33,5 @@ public interface IFReportItemvService extends IService<FReportItemv> { | ... | @@ -33,4 +33,5 @@ public interface IFReportItemvService extends IService<FReportItemv> { |
33 | List<FReportItemv> getReportItemvByReitId(ReportItemvParam reportItemvParam); | 33 | List<FReportItemv> getReportItemvByReitId(ReportItemvParam reportItemvParam); |
34 | 34 | ||
35 | 35 | ||
36 | boolean isExitDataByTimeAndWeek(String reportId, String time, String departId, String week); | ||
36 | } | 37 | } | ... | ... |
... | @@ -87,7 +87,18 @@ public class FReportItemvServiceImpl extends ServiceImpl<FReportItemvMapper, FRe | ... | @@ -87,7 +87,18 @@ public class FReportItemvServiceImpl extends ServiceImpl<FReportItemvMapper, FRe |
87 | return fReportItemvMapper.getReportItemvByReitId(reportItemvParam); | 87 | return fReportItemvMapper.getReportItemvByReitId(reportItemvParam); |
88 | } | 88 | } |
89 | 89 | ||
90 | 90 | @Override | |
91 | public boolean isExitDataByTimeAndWeek(String reportId, String dataTime, String departId, String week) { | ||
92 | List<Map<String,Object>> list = new ArrayList<>(); | ||
93 | String tableName = ReportViewUtil.buildView(reportId,"",departId,dataTime,dataTime); | ||
94 | String sql = "select * from "+tableName+" aa where time = '"+dataTime+"' and depart_id = '"+departId+"' and zs = '"+week+"'"; | ||
95 | list = fReportItemvMapper.getListByTime(sql); | ||
96 | if(list.size()>0){ | ||
97 | return false; | ||
98 | }else{ | ||
99 | return true; | ||
100 | } | ||
101 | } | ||
91 | 102 | ||
92 | 103 | ||
93 | } | 104 | } | ... | ... |
... | @@ -136,6 +136,7 @@ public class ShiroConfig { | ... | @@ -136,6 +136,7 @@ public class ShiroConfig { |
136 | // 压测demo | 136 | // 压测demo |
137 | filterChainDefinitionMap.put("/jmeter/**", "anon"); | 137 | filterChainDefinitionMap.put("/jmeter/**", "anon"); |
138 | filterChainDefinitionMap.put("/jmReport/**", "anon"); | 138 | filterChainDefinitionMap.put("/jmReport/**", "anon"); |
139 | filterChainDefinitionMap.put("/v1/factoryCenter/**", "anon"); | ||
139 | 140 | ||
140 | //哈工大报表填报数据 | 141 | //哈工大报表填报数据 |
141 | filterChainDefinitionMap.put("/harbinTechnology/fillReport/**", "anon"); //哈工大报表填报数据 | 142 | filterChainDefinitionMap.put("/harbinTechnology/fillReport/**", "anon"); //哈工大报表填报数据 | ... | ... |
... | @@ -4,6 +4,7 @@ import java.util.List; | ... | @@ -4,6 +4,7 @@ import java.util.List; |
4 | import java.util.Map; | 4 | import java.util.Map; |
5 | 5 | ||
6 | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; | 6 | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
7 | import com.baomidou.mybatisplus.core.toolkit.Constants; | ||
7 | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; | 8 | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
8 | import com.skua.modules.alarmtmp.entity.AlarmParamStandardConfig; | 9 | import com.skua.modules.alarmtmp.entity.AlarmParamStandardConfig; |
9 | import com.skua.modules.system.vo.SysFactoryInfo.*; | 10 | import com.skua.modules.system.vo.SysFactoryInfo.*; |
... | @@ -67,7 +68,6 @@ public interface SysFactoryInfoMapper extends BaseMapper<SysFactoryInfo> { | ... | @@ -67,7 +68,6 @@ public interface SysFactoryInfoMapper extends BaseMapper<SysFactoryInfo> { |
67 | */ | 68 | */ |
68 | List<SysFactoryInfoVO> queryFactoryListByExport(@Param("departIds")String departIds); | 69 | List<SysFactoryInfoVO> queryFactoryListByExport(@Param("departIds")String departIds); |
69 | 70 | ||
70 | |||
71 | void updFacStatus(@Param("lineStatus") Integer lineStatus, @Param("departId") String departId, @Param("endTime") String endTime); | 71 | void updFacStatus(@Param("lineStatus") Integer lineStatus, @Param("departId") String departId, @Param("endTime") String endTime); |
72 | 72 | ||
73 | List<Map<String, Object>> getAllFacListStatus(); | 73 | List<Map<String, Object>> getAllFacListStatus(); |
... | @@ -88,8 +88,11 @@ public interface SysFactoryInfoMapper extends BaseMapper<SysFactoryInfo> { | ... | @@ -88,8 +88,11 @@ public interface SysFactoryInfoMapper extends BaseMapper<SysFactoryInfo> { |
88 | 88 | ||
89 | List<Map<String, Object>> queryUpLow(@Param("id") String id); | 89 | List<Map<String, Object>> queryUpLow(@Param("id") String id); |
90 | 90 | ||
91 | @Select("SELECT d.id as depart_id, d.depart_name AS NAME,d.depart_name AS depart_name,d.depart_type,(select depart_name from sys_depart sd where d.parent_id = sd.id )areaName,f.* FROM sys_depart d LEFT JOIN sys_factory_info f ON f.depart_id = d.id ${customSqlSegment}") | 91 | @Select("SELECT d.id as depart_id, d.depart_name AS name,d.depart_name AS depart_name,d.depart_type," + |
92 | List<SysFactoryInfoVO> getFactoryListByWrapper(QueryWrapper queryWrapper); | 92 | "(select depart_name from sys_depart sd where d.parent_id = sd.id ) areaName,f.* " + |
93 | "FROM sys_depart d " + | ||
94 | "LEFT JOIN sys_factory_info f ON f.depart_id = d.id ${ew.customSqlSegment}") | ||
95 | List<SysFactoryInfoVO> getFactoryListByWrapper(@Param(Constants.WRAPPER) QueryWrapper queryWrapper); | ||
93 | 96 | ||
94 | /** | 97 | /** |
95 | * 获取总的设计规模 | 98 | * 获取总的设计规模 | ... | ... |
... | @@ -65,7 +65,8 @@ public class SysFactoryInfoVO { | ... | @@ -65,7 +65,8 @@ public class SysFactoryInfoVO { |
65 | private String proImgs; | 65 | private String proImgs; |
66 | @ApiModelProperty(value = "水厂介绍") | 66 | @ApiModelProperty(value = "水厂介绍") |
67 | private String factoryInfo; | 67 | private String factoryInfo; |
68 | 68 | @ApiModelProperty(value = "厂站工艺主图") | |
69 | private String proMonitorMainImg; | ||
69 | /** | 70 | /** |
70 | * 水厂类型 | 71 | * 水厂类型 |
71 | */ | 72 | */ |
... | @@ -102,7 +103,7 @@ public class SysFactoryInfoVO { | ... | @@ -102,7 +103,7 @@ public class SysFactoryInfoVO { |
102 | */ | 103 | */ |
103 | @ApiModelProperty(value = "执行排放标准") | 104 | @ApiModelProperty(value = "执行排放标准") |
104 | private String outLevel; | 105 | private String outLevel; |
105 | 106 | ||
106 | @ApiModelProperty(value = "执行进水标准") | 107 | @ApiModelProperty(value = "执行进水标准") |
107 | private String inLevel; | 108 | private String inLevel; |
108 | /** | 109 | /** | ... | ... |
-
请 注册 或 登录 后发表评论