|
@@ -66,7 +66,7 @@ public class QuartzJobController {
|
|
|
public Result<?> queryPageList(QuartzJob quartzJob, @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
|
|
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize, HttpServletRequest req) {
|
|
|
QueryWrapper<QuartzJob> queryWrapper = QueryGenerator.initQueryWrapper(quartzJob, req.getParameterMap());
|
|
|
- queryWrapper.eq("parameter","day").or().eq("parameter","month").or().eq("parameter","year");
|
|
|
+ //queryWrapper.eq("parameter","day").or().eq("parameter","month").or().eq("parameter","year");
|
|
|
Page<QuartzJob> page = new Page<QuartzJob>(pageNo, pageSize);
|
|
|
IPage<QuartzJob> pageList = quartzJobService.page(page, queryWrapper);
|
|
|
return Result.ok(pageList);
|
|
@@ -83,7 +83,7 @@ public class QuartzJobController {
|
|
|
public Result<?> queryPageList1(QuartzJob quartzJob, @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
|
|
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize, HttpServletRequest req) {
|
|
|
QueryWrapper<QuartzJob> queryWrapper = QueryGenerator.initQueryWrapper(quartzJob, req.getParameterMap());
|
|
|
- //queryWrapper.eq("parameter","day").or().eq("parameter","month").or().eq("parameter","year");
|
|
|
+ queryWrapper.eq("parameter","day").or().eq("parameter","month").or().eq("parameter","year");
|
|
|
Page<QuartzJob> page = new Page<QuartzJob>(pageNo, pageSize);
|
|
|
IPage<QuartzJob> pageList = quartzJobService.page(page, queryWrapper);
|
|
|
return Result.ok(pageList);
|