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