提交代码

This commit is contained in:
qinjie 2024-12-31 17:45:30 +08:00
parent e967f1d9a7
commit fe0e17baa3
2 changed files with 1 additions and 7 deletions

View File

@ -42,12 +42,6 @@ public class SummaryServiceImpl implements SummaryService {
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()){
return getPieSummaryVOS();
}

View File

@ -116,7 +116,7 @@
</select>
<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
<where>
t.device_id = #{deviceId}