|
@@ -14,6 +14,7 @@ import io.swagger.annotations.ApiImplicitParam;
|
|
|
import io.swagger.annotations.ApiImplicitParams;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import io.swagger.models.auth.In;
|
|
|
+import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
@@ -2966,4 +2967,28 @@ public class TMSController extends BaseRESTfulController {
|
|
|
}
|
|
|
return tmsshipFeign.getWarnMsg(map);
|
|
|
}
|
|
|
+
|
|
|
+ @ApiOperation(value = "查询船舶预警")
|
|
|
+ @PostMapping(value = "/getShipWarningList")
|
|
|
+ public Map<String, Object> getShipWarningList(@RequestBody(required = false) Map<String, Object> map,
|
|
|
+ Integer apiId,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,
|
|
|
+ String con){
|
|
|
+ if (map==null){
|
|
|
+ map=new HashMap<>();
|
|
|
+ }
|
|
|
+ map.put("abnormalContent", con);
|
|
|
+ return tmsshipFeign.getShipWarningList(map,apiId,pageNum,pageSize);
|
|
|
+ }
|
|
|
+
|
|
|
+ @PostMapping("/getShipWarningResult")
|
|
|
+ Map<String, Object> getShipWarningResult(@RequestBody(required = false) Map<String,Object> map){
|
|
|
+ return tmsshipFeign.getShipWarningResult(map);
|
|
|
+ }
|
|
|
+
|
|
|
+ @PostMapping("/updateShipWarning")
|
|
|
+ Map<String, Object> updateShipWarning(@RequestBody(required = false) Map<String,Object> map){
|
|
|
+ return tmsshipFeign.updateShipWarning(map);
|
|
|
+ }
|
|
|
}
|