|
@@ -91,10 +91,10 @@ public class CooperatorProductController {
|
|
|
JSONObject req = JSON.parseObject(json);
|
|
|
int pageNum = req.getIntValue("pageNum");
|
|
|
int pageSize = req.getIntValue("pageSize");
|
|
|
- Long modelNo = req.getLongValue("modelNo");
|
|
|
+ Long modelId = req.getLongValue("modelId");
|
|
|
PageHelper.startPage(pageNum, pageSize);//设置分页信息
|
|
|
JSONObject resJson=new JSONObject();
|
|
|
- List<CooperatorProduct> list=CooperatorProductService.getCooperatorByModel(modelNo);
|
|
|
+ List<CooperatorProduct> list=CooperatorProductService.getCooperatorByModel(modelId);
|
|
|
PageInfo pageInfo=new PageInfo(list);
|
|
|
resJson.put("cooperator_Product_List",pageInfo);
|
|
|
return Result.success("ok",resJson);
|