|
|
|
@ -66,7 +66,7 @@ public class ZyModuleSampleController extends JeecgController<ZyModuleSample, IZ |
|
|
|
|
@RequestParam(name="pageNo", defaultValue="1") Integer pageNo, |
|
|
|
|
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize, |
|
|
|
|
HttpServletRequest req) { |
|
|
|
|
QueryWrapper<ZyModuleSample> queryWrapper = QueryGenerator.initQueryWrapper(zyModuleSample, req.getParameterMap()); |
|
|
|
|
QueryWrapper<ZyModuleSample> queryWrapper = QueryGenerator.initQueryWrapper(zyModuleSample, req.getParameterMap()).eq("cloth_id",zyModuleSample.getClothId()); |
|
|
|
|
Page<ZyModuleSample> page = new Page<ZyModuleSample>(pageNo, pageSize); |
|
|
|
|
IPage<ZyModuleSample> pageList = zyModuleSampleService.page(page, queryWrapper); |
|
|
|
|
return Result.OK(pageList); |
|
|
|
|