Commit 4dfe8030fbd57ebb80d66e8e997c5ab1fa3f0f8a
1 parent
c6ea42b4
跟进池查询bug修复
Showing
1 changed file
with
1 additions
and
1 deletions
fw-valhalla-dao/src/main/resources/mapper/ClueTaskMapper.xml
@@ -69,7 +69,7 @@ | @@ -69,7 +69,7 @@ | ||
69 | and t2.expires > now() | 69 | and t2.expires > now() |
70 | </if> | 70 | </if> |
71 | <if test="condition.loanCustomer !=null and condition.loanCustomer == 0"> | 71 | <if test="condition.loanCustomer !=null and condition.loanCustomer == 0"> |
72 | - and t2.expires <= now() | 72 | + and (t2.expires is null or t2.expires <= now()) |
73 | </if> | 73 | </if> |
74 | <if test="condition.startTime1 !=null"> | 74 | <if test="condition.startTime1 !=null"> |
75 | and t1.create_time >= #{condition.startTime1} | 75 | and t1.create_time >= #{condition.startTime1} |