|
@@ -128,7 +128,7 @@ public class ShowDataController {
|
|
|
@RequestMapping(value = "/getOffline/{fid}/{sid}", method = RequestMethod.GET)
|
|
|
public Map<String, Object> getOffline(@PathVariable String fid, @PathVariable String sid) throws IOException {
|
|
|
String snString = this.getSnList(fid, sid).get("snString").toString();
|
|
|
- List<String> snList = (List<String>) this.getSn().get("snList");
|
|
|
+ List<String> snList = (List<String>) this.getSnList(fid, sid).get("snList");
|
|
|
Map<String, Object> res = new HashMap<>();
|
|
|
String sql = "select product_id as sn, start_time as time,TIMESTAMPDIFF(hour,start_time,now()) as drua, Batpos from all_fault_info where end_time = '0000-00-00 00:00:00' " +
|
|
|
"and code=59 and product_id in (%s)";
|