|
@@ -10,6 +10,7 @@ import com.steerinfo.framework.controller.RESTfulResult;
|
|
|
import com.steerinfo.framework.service.pagehelper.PageHelper;
|
|
|
import io.swagger.annotations.ApiImplicitParam;
|
|
|
import io.swagger.annotations.ApiImplicitParams;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
@@ -115,6 +116,24 @@ public class RmsPortController extends BaseRESTfulController {
|
|
|
return success(data);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "边输边查港口名称")
|
|
|
+ @PostMapping("/getPortName")
|
|
|
+ public RESTfulResult getPortName(@RequestParam("index") String index) {
|
|
|
+ List<Map<String, Object>> list = rmsPortService.getPortName(index == null ? "" : index);
|
|
|
+ return success(list);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "边输边查港口名称")
|
|
|
+ @PostMapping("/getPierName")
|
|
|
+ public RESTfulResult getPierName(@RequestParam("index") String index) {
|
|
|
+ List<Map<String, Object>> list = rmsPortService.getPierName(index == null ? "" : index);
|
|
|
+ return success(list);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* 港口类型ID
|
|
|
* @return
|