Commit 9fe6021d by HuAnYing

商品相关dto

parent d98327cb
...@@ -26,7 +26,7 @@ public interface CustomProductInfoService { ...@@ -26,7 +26,7 @@ public interface CustomProductInfoService {
/** /**
* 根据条件查询分页列表接口 * 根据条件查询分页列表接口
* *
* @param CustomProductInfoDto 分页入参model * @param param 分页入参model
* @return 分页对象 * @return 分页对象
*/ */
IPage<CustomProductInfoVO> pageList(CustomProductInfoDto param); IPage<CustomProductInfoVO> pageList(CustomProductInfoDto param);
......
package com.jomalls.custom.webapp.controller; package com.jomalls.custom.webapp.controller;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jomalls.custom.app.dto.product.CustomProductInfoDto;
import com.jomalls.custom.app.vo.CustomProductInfoPageVO; import com.jomalls.custom.app.vo.CustomProductInfoPageVO;
import com.jomalls.custom.app.vo.CustomProductInfoVO; import com.jomalls.custom.app.vo.CustomProductInfoVO;
import com.jomalls.custom.app.service.CustomProductInfoService; import com.jomalls.custom.app.service.CustomProductInfoService;
...@@ -45,13 +46,13 @@ public class CustomProductInfoController { ...@@ -45,13 +46,13 @@ public class CustomProductInfoController {
/** /**
* 根据条件查询分页列表接口 * 根据条件查询分页列表接口
* *
* @param customProductInfoPageVO 分页入参model * @param param 分页入参model
* @return 分页对象 * @return 分页对象
*/ */
@Operation(summary = "分页列表接口", description = "根据条件查询分页列表接口") @Operation(summary = "分页列表接口", description = "根据条件查询分页列表接口")
@RequestMapping(value = "/pageList", method = RequestMethod.POST) @RequestMapping(value = "/pageList", method = RequestMethod.POST)
public IPage<CustomProductInfoVO> pageList(@RequestBody CustomProductInfoPageVO customProductInfoPageVO) { public IPage<CustomProductInfoVO> pageList(@RequestBody CustomProductInfoDto param) {
return customProductInfoService.pageList(customProductInfoPageVO); return customProductInfoService.pageList(param);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment