Commit 9b0323c3 authored by wujiang's avatar wujiang

修改统计问题

parent 7f8ab361
......@@ -334,8 +334,8 @@ public class TdHygfJpInverterWarnController extends BaseController {
Map<String, Object> result = new HashMap<>();
int wcl = tdHygfJpInverterWarnServiceImpl.selectWarnTotal(Arrays.asList("未处理"), regionalCompaniesCode, amosCompanyCode, thirdStationId, type);
int ycl = tdHygfJpInverterWarnServiceImpl.selectWarnTotal(Arrays.asList("已处理", "已恢复"), regionalCompaniesCode, amosCompanyCode, thirdStationId, type);
int wcl = tdHygfJpInverterWarnServiceImpl.selectWarnTotal(Arrays.asList("未处理", "未确认"), regionalCompaniesCode, amosCompanyCode, thirdStationId, type);
int ycl = tdHygfJpInverterWarnServiceImpl.selectWarnTotal(Arrays.asList("已处理", "已恢复","已关闭"), regionalCompaniesCode, amosCompanyCode, thirdStationId, type);
result.put("wcl", wcl);
result.put("ycl", ycl);
......
......@@ -190,11 +190,11 @@ public class TdHygfJpInverterWarnServiceImpl
return tdHygfJpInverterWarnMapper.selectWarnListTotal(state,regionalCompaniesCode,amosCompanyCode,thirdStationId,type, level, minvalue, maxValue, snCode, stationId, startTime, endTime, content, handlerStatus, stationName);
}
public int selectWarnTotal(List<String> state, String regionalCompaniesCode,
public int selectWarnTotal(List<String> state,String regionalCompaniesCode,
String amosCompanyCode,
String thirdStationId,
String type) {
return tdHygfJpInverterWarnMapper.selectWarnTotal(state, regionalCompaniesCode, amosCompanyCode, thirdStationId, type);
return tdHygfJpInverterWarnMapper.selectWarnTotal(state,regionalCompaniesCode, amosCompanyCode, thirdStationId, type);
}
public Map<String, Object> queryAlarmNumber(String regionalCompaniesCode, String amosCompanyCode, String thirdStationId, String type) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment