|
@@ -243,10 +243,11 @@ public class UniversalController extends BaseRESTfulController {
|
|
|
})
|
|
|
@PostMapping("/queryAPOMaterialByLike")
|
|
|
public RESTfulResult queryAPOMaterialByLike(@RequestBody(required = false) Map<String,Object> mapValue,
|
|
|
- Integer pageNum,
|
|
|
- Integer pageSize,
|
|
|
- Integer apiId,
|
|
|
- String index) {
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,
|
|
|
+ Integer apiId,
|
|
|
+ String index,
|
|
|
+ Integer supplierId) {
|
|
|
|
|
|
if(mapValue == null) {
|
|
|
mapValue = new HashMap<>();
|
|
@@ -254,6 +255,9 @@ public class UniversalController extends BaseRESTfulController {
|
|
|
if(index != null && !"".equals(index) &&!"null".equals(index)){
|
|
|
mapValue.put("index", index);
|
|
|
}
|
|
|
+ if(supplierId != null){
|
|
|
+ mapValue.put("supplierId", supplierId);
|
|
|
+ }
|
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
|
//分页查询数据
|
|
|
List<Map<String, Object>> columnList = universalMapper.queryAPOMaterialByLike(mapValue);
|