|
@@ -67,9 +67,9 @@ public class StaticalController {
|
|
|
|
|
|
@GetMapping(value = "/getChargeRecord")
|
|
|
public Result<?> getChargeRecord(){
|
|
|
-// String json = HttpUtil.get("http://36.154.210.106:8090/ybl/czs/ship/anchorOverTwoHours");
|
|
|
+ String json = HttpUtil.get("http://36.154.210.106:8090/ybl/czs/ship/anchorOverTwoHours");
|
|
|
List<BaseShipInfo> shipInfos = new ArrayList<BaseShipInfo>();
|
|
|
- String json = readJsonFile("d://ad.json");
|
|
|
+// String json = readJsonFile("d://ad.json");
|
|
|
JSONObject jsonObject = JSONObject.parseObject(json);
|
|
|
if(jsonObject.get("code").toString().equals("200")){
|
|
|
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd");
|