浏览代码

修改下拉框

HUJIANGUO 3 年之前
父节点
当前提交
3c9d0b35b9

+ 16 - 16
src/main/java/com/steerinfo/dil/controller/AmsshipDeliveryAttorneyController.java

@@ -91,23 +91,7 @@ public class AmsshipDeliveryAttorneyController extends BaseRESTfulController {
 //        amsshipDeliveryAttorneyService.deleteByPrimaryKey(attorneyId);
 //        return success();
 //    }
-    //得到收货人id
-    @ApiOperation(value="获取详细信息", notes="根据url的id来获取详细信息")
-    @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "BigDecimal")
-    @GetMapping(value = "/getPortName")
-    public RESTfulResult getPortName(){
-        List<Map<String,Object>> list= amsshipDeliveryAttorneyService.getPortName();
-        return success(list);
-    }
-    //得到放货通知单Id
-    @ApiOperation(value="获取详细信息", notes="根据url的id来获取详细信息")
-    @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "BigDecimal")
 
-    @GetMapping(value = "/getNoticeId")
-    public RESTfulResult getNoticeId(){
-        List<Map<String,Object>> list= amsshipDeliveryAttorneyService.getNoticeId();
-        return success(list);
-    }
     //删除
     @ApiOperation(value="获取详细信息", notes="根据url的id来获取详细信息")
     @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "BigDecimal")
@@ -154,7 +138,23 @@ public class AmsshipDeliveryAttorneyController extends BaseRESTfulController {
 
         return success(amsshipDeliveryAttorneyService.getAttorneyId());
     }
+    //得到收货人id
+    @ApiOperation(value="获取详细信息", notes="根据url的id来获取详细信息")
+    @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "BigDecimal")
+    @GetMapping(value = "/getPortName")
+    public RESTfulResult getPortName(){
+        List<Map<String,Object>> list= amsshipDeliveryAttorneyService.getPortName();
+        return success(list);
+    }
+    //得到放货通知单Id
+    @ApiOperation(value="获取详细信息", notes="根据url的id来获取详细信息")
+    @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "BigDecimal")
 
+    @GetMapping(value = "/getNoticeId")
+    public RESTfulResult getNoticeId(){
+        List<Map<String,Object>> list= amsshipDeliveryAttorneyService.getNoticeId();
+        return success(list);
+    }
     /**
      * 获取发件人id
      * @return

+ 2 - 2
src/main/java/com/steerinfo/dil/controller/AmsshipDeliveryNoticeController.java

@@ -112,8 +112,8 @@ public class AmsshipDeliveryNoticeController extends BaseRESTfulController {
     @ApiOperation(value="获取详细信息", notes="根据url的id来获取详细信息")
     @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "BigDecimal")
 
-    @GetMapping(value ="/getcarrier")
-    public RESTfulResult getcarrier(){
+    @GetMapping(value ="/getCarrier")
+    public RESTfulResult getCarrier(){
         List<Map<String,Object>> list= amsshipDeliveryNoticeService.getcarrier();
         return success(list);
     }