提交代码
This commit is contained in:
parent
e967f1d9a7
commit
fe0e17baa3
|
@ -42,12 +42,6 @@ public class SummaryServiceImpl implements SummaryService {
|
||||||
return getPieSummaryVOS();
|
return getPieSummaryVOS();
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO 记得改回从缓存里取值
|
|
||||||
// Map<String,String> onlineMap = new HashMap<>();
|
|
||||||
// onlineMap.put("1","true");
|
|
||||||
// onlineMap.put("2","false");
|
|
||||||
// onlineMap.put("3","true");
|
|
||||||
// onlineMap.put("4","true");
|
|
||||||
if(onlineMap.isEmpty()){
|
if(onlineMap.isEmpty()){
|
||||||
return getPieSummaryVOS();
|
return getPieSummaryVOS();
|
||||||
}
|
}
|
||||||
|
|
|
@ -116,7 +116,7 @@
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getPressureChartData" resultType="com.isu.gaswellwatch.vo.DeviceHistoryVO">
|
<select id="getPressureChartData" resultType="com.isu.gaswellwatch.vo.DeviceHistoryVO">
|
||||||
select t.collection_time,t.oil_pressure,t.cas_pressure
|
select t.collection_time,t.oil_pressure,t.cas_pressure,t.pre_pressure
|
||||||
from ${tableName} t
|
from ${tableName} t
|
||||||
<where>
|
<where>
|
||||||
t.device_id = #{deviceId}
|
t.device_id = #{deviceId}
|
||||||
|
|
Loading…
Reference in New Issue