|
@@ -194,7 +194,7 @@ public Map<String, Object> gpsInfo() throws IOException {
|
|
|
RspRealTimeInfo rspRealTimeInfo = new RspRealTimeInfo();
|
|
|
|
|
|
if (StringUtils.hasLength(sn)) {
|
|
|
- String sql = "select t1.soh from soh_result t1 where " + "t1.sn='" + sn + "' order by time_st desc limit 1";
|
|
|
+ String sql = "select t1.soh from cellstateestimation_soh t1 where " + "t1.sn='" + sn + "' order by time_st desc limit 1";
|
|
|
Map<String, Object> sohData;
|
|
|
try {
|
|
|
sohData = qxcasJdbcTemplate.queryForMap(sql);
|
|
@@ -274,7 +274,7 @@ public Map<String, Object> gpsInfo() throws IOException {
|
|
|
RspHealthInfo rspHealthInfo = new RspHealthInfo();
|
|
|
|
|
|
if (StringUtils.hasLength(sn)) {
|
|
|
- String sql = "select t1.soh from soh_result t1 where " + "t1.sn='" + sn + "' order by time_st desc limit 1";
|
|
|
+ String sql = "select t1.soh from cellstateestimation_soh t1 where " + "t1.sn='" + sn + "' order by time_st desc limit 1";
|
|
|
Map<String, Object> sohData;
|
|
|
try {
|
|
|
sohData = qxcasJdbcTemplate.queryForMap(sql);
|
|
@@ -295,7 +295,7 @@ public Map<String, Object> gpsInfo() throws IOException {
|
|
|
rspHealthInfo.setSoh("-");
|
|
|
|
|
|
|
|
|
- sql = "select cellsoc_diff from consistency_delta_soc where sn = '" + sn + "' order by time desc limit 1";
|
|
|
+ sql = "select cellsoc_diff from cellstateestimation_uniform_socvoltdiff where sn = '" + sn + "' order by time desc limit 1";
|
|
|
Map<String, Object> consisData;
|
|
|
try {
|
|
|
consisData = qxcasJdbcTemplate.queryForMap(sql);
|