fix(oa): 移除查询条件中的use_flag限制

- 删除buildQueryMyWrapper方法中的use_flag=1查询条件
- 删除buildQueryWrapper方法中的use_flag=1查询条件
- 使查询逻辑更加通用,不再过滤未启用的记录
This commit is contained in:
2025-12-09 17:17:43 +08:00
parent d5d026e981
commit f8057cb9e1

View File

@@ -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());