Commit b5de742cccc107a821d42c11683f559dd9419b56
1 parent
c3b33c0a
feature(*): 查询bug修复
- 查询bug修复
Showing
1 changed file
with
2 additions
and
2 deletions
fw-valhalla-dao/src/main/resources/mapper/CustomerMapper.xml
@@ -159,7 +159,7 @@ | @@ -159,7 +159,7 @@ | ||
159 | </foreach> | 159 | </foreach> |
160 | </if> | 160 | </if> |
161 | <if test="condition.includePublic != true"> | 161 | <if test="condition.includePublic != true"> |
162 | - and t1.temporary != 1 | 162 | + and (t1.temporary is null or t1.temporary = 0) |
163 | </if> | 163 | </if> |
164 | <if test="condition.followType !=null and condition.followType==2"> | 164 | <if test="condition.followType !=null and condition.followType==2"> |
165 | and t3.id is not null | 165 | and t3.id is not null |
@@ -258,7 +258,7 @@ | @@ -258,7 +258,7 @@ | ||
258 | </foreach> | 258 | </foreach> |
259 | </if> | 259 | </if> |
260 | <if test="condition.includePublic != true"> | 260 | <if test="condition.includePublic != true"> |
261 | - and t1.temporary != 1 | 261 | + and (t1.temporary is null or t1.temporary = 0) |
262 | </if> | 262 | </if> |
263 | <if test="condition.followType !=null and condition.followType==2"> | 263 | <if test="condition.followType !=null and condition.followType==2"> |
264 | and t3.id is not null | 264 | and t3.id is not null |