|
@@ -9,6 +9,7 @@ import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.HashMap;
|
|
|
+import java.util.List;
|
|
|
import java.util.Map;
|
|
|
@RestController
|
|
|
@RequestMapping("${api.version}/rms")
|
|
@@ -848,4 +849,17 @@ public class RMScontroller {
|
|
|
return rmsFeign.getConsigneeList(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, con);
|
|
|
}
|
|
|
|
|
|
+ /*
|
|
|
+ *边写边搜索承运商
|
|
|
+ * */
|
|
|
+ @ApiOperation(value="根据用户输入输出承运商", notes="模糊查询")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "con",value = "用户输入的承运商名", required = false, dataType = "String")
|
|
|
+ })
|
|
|
+ @PostMapping("/getCarrierName")
|
|
|
+ public Map<String,Object> getCarrierName(@RequestParam(value ="state") String state){
|
|
|
+ return rmsFeign.getCarrierName(state);
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
}
|