|
@@ -137,7 +137,7 @@ public class UniversalController extends BaseRESTfulController {
|
|
|
@ApiOperation(value="通过订单ID查询订单下所有物资")
|
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
|
|
|
- @ApiImplicitParam(name = "apiId(248)", value = "动态表头", required = false, dataType = "Integer"),
|
|
|
+ @ApiImplicitParam(name = "apiId(395)", value = "动态表头", required = false, dataType = "Integer"),
|
|
|
@ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
|
|
|
@ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
|
|
|
})
|
|
@@ -298,4 +298,57 @@ public class UniversalController extends BaseRESTfulController {
|
|
|
List<Map<String, Object>> list = universalMapper.getCarrierMesByLike(index);
|
|
|
return success(list);
|
|
|
}
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "模糊查询收货单位")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
|
|
|
+ @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer"),
|
|
|
+ @ApiImplicitParam(name = "apiId", value = "396", required = false, dataType = "BigDecimal")
|
|
|
+ })
|
|
|
+ @PostMapping("/queryConsigneeByLike")
|
|
|
+ public RESTfulResult queryConsigneeByLike(@RequestBody(required = false) Map<String,Object> mapValue,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,
|
|
|
+ Integer apiId,
|
|
|
+ String index) {
|
|
|
+ if(mapValue == null) {
|
|
|
+ mapValue = new HashMap<>();
|
|
|
+ }
|
|
|
+ if(index != null){
|
|
|
+ mapValue.put("index","%" + index + "%");
|
|
|
+ }
|
|
|
+ List<Map<String, Object>> list = universalMapper.queryConsigneeByLike(mapValue);
|
|
|
+ PageHelper.startPage(pageNum, pageSize);
|
|
|
+ //分页查询数据
|
|
|
+ List<Map<String, Object>> columnList = universalMapper.queryConsigneeByLike(mapValue);
|
|
|
+ PageListAdd data = columnDataUtil.tableColumnData(apiId, list, columnList);
|
|
|
+ return success(data);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "模糊查询物资信息")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
|
|
|
+ @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer"),
|
|
|
+ @ApiImplicitParam(name = "apiId", value = "395", required = false, dataType = "BigDecimal")
|
|
|
+ })
|
|
|
+ @PostMapping("/selectAllMaterialName")
|
|
|
+ public RESTfulResult selectAllMaterialName(@RequestBody(required = false) Map<String,Object> mapValue,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,
|
|
|
+ Integer apiId,
|
|
|
+ String index) {
|
|
|
+ if(mapValue == null) {
|
|
|
+ mapValue = new HashMap<>();
|
|
|
+ }
|
|
|
+ if(index != null){
|
|
|
+ mapValue.put("index","%" + index + "%");
|
|
|
+ }
|
|
|
+ List<Map<String, Object>> list = universalMapper.selectAllMaterialName(mapValue);
|
|
|
+ PageHelper.startPage(pageNum, pageSize);
|
|
|
+ //分页查询数据
|
|
|
+ List<Map<String, Object>> columnList = universalMapper.selectAllMaterialName(mapValue);
|
|
|
+ PageListAdd data = columnDataUtil.tableColumnData(apiId, list, columnList);
|
|
|
+ return success(data);
|
|
|
+ }
|
|
|
+
|
|
|
}
|