【更新】定时任务查询条件中根据状态查询使用eq,不使用like
This commit is contained in:
parent
f70644fdd2
commit
456e169ec9
@ -79,7 +79,7 @@ public class SysTimersServiceImpl extends ServiceImpl<SysTimersMapper, SysTimers
|
|||||||
|
|
||||||
// 拼接查询条件-状态(字典 1运行 2停止)
|
// 拼接查询条件-状态(字典 1运行 2停止)
|
||||||
if (ObjectUtil.isNotEmpty(sysTimersParam.getJobStatus())) {
|
if (ObjectUtil.isNotEmpty(sysTimersParam.getJobStatus())) {
|
||||||
queryWrapper.like(SysTimers::getJobStatus, sysTimersParam.getJobStatus());
|
queryWrapper.eq(SysTimers::getJobStatus, sysTimersParam.getJobStatus());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user