|
|
|
@ -5,6 +5,7 @@ import java.util.List; |
|
|
|
|
import javax.servlet.http.HttpServletRequest; |
|
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
|
import org.jeecg.common.api.vo.Result; |
|
|
|
|
import org.jeecg.common.system.query.QueryGenerator; |
|
|
|
|
import org.jeecg.modules.demo.accessories.entity.ZyAccessories; |
|
|
|
|
import org.jeecg.modules.demo.base.entity.ZyAllProcess; |
|
|
|
|
import org.jeecg.modules.demo.base.entity.ZyClothAction; |
|
|
|
@ -71,8 +72,8 @@ public class ZyProcessController extends JeecgController<ZyProcess, IZyProcessSe |
|
|
|
|
@RequestParam(name="pageNo", defaultValue="1") Integer pageNo, |
|
|
|
|
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize, |
|
|
|
|
HttpServletRequest req) { |
|
|
|
|
//QueryWrapper<ZyProcess> queryWrapper = QueryGenerator.initQueryWrapper(zyProcess, req.getParameterMap());
|
|
|
|
|
QueryWrapper queryWrapper = new QueryWrapper(); |
|
|
|
|
QueryWrapper<ZyProcess> queryWrapper = QueryGenerator.initQueryWrapper(zyProcess, req.getParameterMap()); |
|
|
|
|
//QueryWrapper queryWrapper = new QueryWrapper();
|
|
|
|
|
Page<ZyProcess> page = new Page<ZyProcess>(pageNo, pageSize); |
|
|
|
|
IPage<ZyProcess> pageList = zyProcessService.page(page, queryWrapper); |
|
|
|
|
return Result.OK(pageList); |
|
|
|
|