|
|
@@ -51,124 +51,86 @@ public class UniversalController extends BaseRESTfulController {
|
|
|
private ImageFileUtils imageFileUtils;
|
|
|
|
|
|
@ApiModelProperty(value = "边输边查物资大类")
|
|
|
- @GetMapping("/getMaterialTypeByLike")
|
|
|
- public RESTfulResult getMaterialTypeByLike(String index,@RequestParam(required = false) List<String> id) {
|
|
|
- Map<String,Object> map = new HashMap<>();
|
|
|
- map.put("index",index);
|
|
|
- map.put("id",id);
|
|
|
+ @PostMapping("/getMaterialTypeByLike")
|
|
|
+ public RESTfulResult getMaterialTypeByLike(@RequestBody(required = false) Map<String,Object> map) {
|
|
|
List<Map<String, Object>> list = universalMapper.getMaterialTypeByLike(map);
|
|
|
return success(list);
|
|
|
}
|
|
|
|
|
|
@ApiModelProperty(value = "边输边查物资")
|
|
|
- @GetMapping("/getMaterialByLike")
|
|
|
- public RESTfulResult getMaterialByLike(String index,@RequestParam(required = false) List<String> id) {
|
|
|
- Map<String,Object> map = new HashMap<>();
|
|
|
- map.put("index",index);
|
|
|
- map.put("id",id);
|
|
|
+ @PostMapping("/getMaterialByLike")
|
|
|
+ public RESTfulResult getMaterialByLike(@RequestBody(required = false) Map<String,Object> map) {
|
|
|
List<Map<String, Object>> list = universalMapper.getMaterialByLike(map);
|
|
|
return success(list);
|
|
|
}
|
|
|
|
|
|
@ApiModelProperty(value = "边输边查运力类型")
|
|
|
- @GetMapping("/getCapacityTypeByLike")
|
|
|
- public RESTfulResult getCapacityTypeByLike(String index,@RequestParam(required = false) List<String> id) {
|
|
|
- Map<String,Object> map = new HashMap<>();
|
|
|
- map.put("index",index);
|
|
|
- map.put("id",id);
|
|
|
+ @PostMapping("/getCapacityTypeByLike")
|
|
|
+ public RESTfulResult getCapacityTypeByLike(@RequestBody(required = false) Map<String,Object> map) {
|
|
|
List<Map<String, Object>> list = universalMapper.getCapacityTypeByLike(map);
|
|
|
return success(list);
|
|
|
}
|
|
|
|
|
|
@ApiModelProperty(value = "边输边查公司单位")
|
|
|
- @GetMapping("/getCompanyMesByLike")
|
|
|
- public RESTfulResult getCompanyMesByLike(String index,String companyType,@RequestParam(required = false) List<String> id) {
|
|
|
- Map<String,Object> map = new HashMap<>();
|
|
|
- map.put("index",index);
|
|
|
- map.put("companyType",companyType);
|
|
|
- map.put("id",id);
|
|
|
+ @PostMapping("/getCompanyMesByLike")
|
|
|
+ public RESTfulResult getCompanyMesByLike(@RequestBody(required = false) Map<String,Object> map) {
|
|
|
List<Map<String, Object>> list = universalMapper.getCompanyMesByLike(map);
|
|
|
return success(list);
|
|
|
}
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "边输边查环保标准")
|
|
|
- @GetMapping("/getEmissionStandardByLike")
|
|
|
- public RESTfulResult getEmissionStandardByLike(String index,@RequestParam(required = false) List<String> id) {
|
|
|
- Map<String,Object> map = new HashMap<>();
|
|
|
- map.put("index",index);
|
|
|
- map.put("id",id);
|
|
|
+ @PostMapping("/getEmissionStandardByLike")
|
|
|
+ public RESTfulResult getEmissionStandardByLike(@RequestBody(required = false) Map<String,Object> map) {
|
|
|
List<Map<String, Object>> list = universalMapper.getEmissionStandardByLike(map);
|
|
|
return success(list);
|
|
|
}
|
|
|
|
|
|
@ApiModelProperty(value = "边输边查作业点")
|
|
|
- @GetMapping("/getOperationPointByLike")
|
|
|
- public RESTfulResult getOperationPointByLike(String index,String operationPointType,@RequestParam(required = false) List<String> id) {
|
|
|
- Map<String,Object> map = new HashMap<>();
|
|
|
- map.put("index",index);
|
|
|
- map.put("operationPointType",operationPointType);
|
|
|
- map.put("id",id);
|
|
|
+ @PostMapping("/getOperationPointByLike")
|
|
|
+ public RESTfulResult getOperationPointByLike(@RequestBody(required = false) Map<String,Object> map) {
|
|
|
List<Map<String, Object>> list = universalMapper.getOperationPointByLike(map);
|
|
|
return success(list);
|
|
|
}
|
|
|
|
|
|
@ApiModelProperty(value = "边输边查人员")
|
|
|
- @GetMapping("/getPersonnelByLike")
|
|
|
- public RESTfulResult getPersonnelByLike(String index,@RequestParam(required = false) List<String> id) {
|
|
|
- Map<String,Object> map = new HashMap<>();
|
|
|
- map.put("index",index);
|
|
|
- map.put("id",id);
|
|
|
+ @PostMapping("/getPersonnelByLike")
|
|
|
+ public RESTfulResult getPersonnelByLike(@RequestBody(required = false) Map<String,Object> map) {
|
|
|
List<Map<String, Object>> list = universalMapper.getPersonnelByLike(map);
|
|
|
return success(list);
|
|
|
}
|
|
|
|
|
|
@ApiModelProperty(value = "边输边查车牌号")
|
|
|
@PostMapping("/getCapacityByLike")
|
|
|
- public RESTfulResult getCapacityByLike(String index,String orgCode,@RequestParam(required = false) List<String> id) {
|
|
|
- Map<String,Object> map = new HashMap<>();
|
|
|
- map.put("index",index);
|
|
|
- map.put("orgCode",orgCode);
|
|
|
- map.put("id",id);
|
|
|
+ public RESTfulResult getCapacityByLike(@RequestBody(required = false) Map<String,Object> map) {
|
|
|
List<Map<String, Object>> list = universalMapper.getCapacityByLike(map);
|
|
|
return success(list);
|
|
|
}
|
|
|
+
|
|
|
@ApiModelProperty(value = "边输边查快捷需求code")
|
|
|
- @GetMapping("/getCategoryCodeByLike")
|
|
|
- public RESTfulResult getCategoryCodeByLike(String index,@RequestParam(required = false) List<String> id) {
|
|
|
- Map<String,Object> map = new HashMap<>();
|
|
|
- map.put("index",index);
|
|
|
- map.put("id",id);
|
|
|
+ @PostMapping("/getCategoryCodeByLike")
|
|
|
+ public RESTfulResult getCategoryCodeByLike(@RequestBody(required = false) Map<String,Object> map) {
|
|
|
List<Map<String, Object>> list = universalMapper.getCategoryCodeByLike(map);
|
|
|
return success(list);
|
|
|
}
|
|
|
@ApiModelProperty(value = "边输岗位信息")
|
|
|
- @GetMapping("/getJobInfosByLike")
|
|
|
- public RESTfulResult getrmsrmsjobinfosBylike(String index,@RequestParam(required = false) List<String> id) {
|
|
|
- Map<String,Object> map = new HashMap<>();
|
|
|
- map.put("index",index);
|
|
|
- map.put("id",id);
|
|
|
+ @PostMapping("/getJobInfosByLike")
|
|
|
+ public RESTfulResult getrmsrmsjobinfosBylike(@RequestBody(required = false) Map<String,Object> map) {
|
|
|
List<Map<String, Object>> list = universalMapper.getrmsrmsjobinfosBylike(map);
|
|
|
return success(list);
|
|
|
}
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "边输边查运输范围")
|
|
|
- @GetMapping("/getTransRangeByLike")
|
|
|
- public RESTfulResult getTransRange(String index,@RequestParam(required = false) List<String> id) {
|
|
|
- Map<String,Object> map = new HashMap<>();
|
|
|
- map.put("index",index);
|
|
|
- map.put("id",id);
|
|
|
+ @PostMapping("/getTransRangeByLike")
|
|
|
+ public RESTfulResult getTransRange(@RequestBody(required = false) Map<String,Object> map) {
|
|
|
List<Map<String, Object>> list = universalMapper.getTransRangeByLike(map);
|
|
|
return success(list);
|
|
|
}
|
|
|
|
|
|
@ApiModelProperty(value = "边输边查作业路径")
|
|
|
- @GetMapping("/getLineByLike")
|
|
|
- public RESTfulResult getLineByLike(String index,@RequestParam(required = false) List<String> id) {
|
|
|
- Map<String,Object> map = new HashMap<>();
|
|
|
- map.put("index",index);
|
|
|
- map.put("id",id);
|
|
|
+ @PostMapping("/getLineByLike")
|
|
|
+ public RESTfulResult getLineByLike(@RequestBody(required = false) Map<String,Object> map) {
|
|
|
List<Map<String, Object>> list = universalMapper.getLineByLike(map);
|
|
|
return success(list);
|
|
|
}
|