refactor(workorder): 优化线索事件状态流查询方法
- 将 getStatusTimeline 方法重命名为 getStatusFlowsByEventId
- 提高方法命名的语义清晰度和一致性
- 保持原有功能逻辑不变
| | |
| | | </foreach> |
| | | </if> |
| | | <if test="keyword != null and keyword != ''"> |
| | | and ce.event_num::VARCHAR like concat('%', #{keyword}, '%') |
| | | and (ce.event_num::VARCHAR like concat('%', #{keyword}, '%') |
| | | or ce.event_name::VARCHAR like like concat('%', #{keyword}, '%')) |
| | | </if> |
| | | <if test="onlyMine != null and onlyMine == 1"> |
| | | and ce.dispose_user = #{userId} |
| | |
| | | </foreach> |
| | | </if> |
| | | <if test="keyword != null and keyword != ''"> |
| | | and ce.event_num like concat('%', #{keyword}, '%') |
| | | and (ce.event_num like concat('%', #{keyword}, '%') |
| | | or ce.event_name like concat('%', #{keyword}, '%')) |
| | | </if> |
| | | </select> |
| | | |