Commit 9ee03e07fb233b52bd2d542ee9d7d937e90a6548

Authored by Kurisu
1 parent 3c2cd8c7

:ambulance: bug修复

- bug修复
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>" +
... ...