|
|
|
@ -334,6 +334,10 @@ public class TaskController {
|
|
|
|
|
private int pageSize;
|
|
|
|
|
@Schema(title = "任务状态", description = "0未上线;1已上线;2已结束")
|
|
|
|
|
private Integer status;
|
|
|
|
|
@Schema(title = "开始时间",description = "如果传入month以月份区间为条件")
|
|
|
|
|
private LocalDateTime beginTime;
|
|
|
|
|
@Schema(title = "结束时间",description = "如果传入month以月份区间为条件")
|
|
|
|
|
private LocalDateTime endTime;
|
|
|
|
|
@Schema(title = "月份区间")
|
|
|
|
|
private Integer month;
|
|
|
|
|
@Schema(title = "tagId数组")
|
|
|
|
@ -354,6 +358,8 @@ public class TaskController {
|
|
|
|
|
}
|
|
|
|
|
if (null != param.getMonth()) {
|
|
|
|
|
qw.between("t1.creatAt", LocalDateTime.now().minusMonths(param.getMonth()), LocalDateTime.now());
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
if (null != param.getKeyword()) {
|
|
|
|
|
qw.like("t1.title", param.getKeyword());
|
|
|
|
|