Commit aba2703f0b4166737e1a586332d423511b269573
1 parent
2095ebcf
feat(*): 新增钣金唯一门店不跟进
- 新增钣金唯一门店不跟进
Showing
1 changed file
with
1 additions
and
1 deletions
fw-valhalla-dao/src/main/java/cn/fw/valhalla/dao/mapper/ClueTaskMapper.java
... | ... | @@ -51,7 +51,7 @@ public interface ClueTaskMapper extends BaseMapper<ClueTask> { |
51 | 51 | List<ShouldBeCompletedDTO> queryBeCompleted(@Param("condition") BeCompletedQuery query); |
52 | 52 | |
53 | 53 | @Select("<script>" + |
54 | - "SELECT max(id) FROM clue_task WHERE clue_id IN" + | |
54 | + "SELECT max(id) FROM clue_task WHERE (reason not in (4) or reason is null) and clue_id IN" + | |
55 | 55 | "<foreach collection='clueIdList' item='id' index='index' open='(' close=')' separator=','>" + |
56 | 56 | "#{id}" + |
57 | 57 | "</foreach>" + | ... | ... |