fix(oa): 修复项目进度步骤查询遗漏删除标记过滤条件

- 在步骤表公共筛选方法中添加删除标记等于0的过滤条件
- 确保查询结果不包含已删除的步骤记录
- 修复因缺少软删除过滤导致的数据查询异常问题
This commit is contained in:
2026-04-15 18:05:23 +08:00
parent 365fc08b62
commit ebb57f4f26

View File

@@ -154,6 +154,7 @@ public class OaProjectScheduleStepServiceImpl implements IOaProjectScheduleStepS
/** 步骤表公共筛选(与 oa_project_schedule 联表时须使用别名 opss */
private void appendCommonStepFilters (QueryWrapper<OaProjectScheduleStep> lqw, OaProjectScheduleStepBo bo, String alias) {
lqw.eq(stepCol(alias, "del_flag"), 0);
lqw.eq(bo.getScheduleId() != null, stepCol(alias, "schedule_id"), bo.getScheduleId());
lqw.eq(bo.getStepOrder() != null, stepCol(alias, "step_order"), bo.getStepOrder());
lqw.like(StringUtils.isNotBlank(bo.getStepName()), stepCol(alias, "step_name"), bo.getStepName());