fix(oa): 移除查询条件中的use_flag限制
- 删除buildQueryMyWrapper方法中的use_flag=1查询条件 - 删除buildQueryWrapper方法中的use_flag=1查询条件 - 使查询逻辑更加通用,不再过滤未启用的记录
This commit is contained in:
@@ -114,7 +114,6 @@ public class OaProjectScheduleStepServiceImpl implements IOaProjectScheduleStepS
|
||||
private QueryWrapper<OaProjectScheduleStep> buildQueryMyWrapper(OaProjectScheduleStepBo bo) {
|
||||
Map<String, Object> params = bo.getParams();
|
||||
QueryWrapper<OaProjectScheduleStep> lqw = Wrappers.query();
|
||||
lqw.eq("opss.use_flag", 1);
|
||||
lqw.eq(bo.getScheduleId() != null, "opss.schedule_id", bo.getScheduleId());
|
||||
lqw.eq("opss.del_flag", 0);
|
||||
lqw.eq(bo.getStepOrder() != null, "opss.step_order", bo.getStepOrder());
|
||||
@@ -144,7 +143,6 @@ public class OaProjectScheduleStepServiceImpl implements IOaProjectScheduleStepS
|
||||
private QueryWrapper<OaProjectScheduleStep> buildQueryWrapper(OaProjectScheduleStepBo bo) {
|
||||
Map<String, Object> params = bo.getParams();
|
||||
QueryWrapper<OaProjectScheduleStep> lqw = Wrappers.query();
|
||||
lqw.eq("opss.use_flag", 1);
|
||||
lqw.eq(bo.getScheduleId() != null, "opss.schedule_id", bo.getScheduleId());
|
||||
lqw.eq("opss.del_flag", 0);
|
||||
lqw.eq(bo.getStepOrder() != null, "opss.step_order", bo.getStepOrder());
|
||||
|
||||
Reference in New Issue
Block a user