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 | 159 | </foreach> |
160 | 160 | </if> |
161 | 161 | <if test="condition.includePublic != true"> |
162 | - and t1.temporary != 1 | |
162 | + and (t1.temporary is null or t1.temporary = 0) | |
163 | 163 | </if> |
164 | 164 | <if test="condition.followType !=null and condition.followType==2"> |
165 | 165 | and t3.id is not null |
... | ... | @@ -258,7 +258,7 @@ |
258 | 258 | </foreach> |
259 | 259 | </if> |
260 | 260 | <if test="condition.includePublic != true"> |
261 | - and t1.temporary != 1 | |
261 | + and (t1.temporary is null or t1.temporary = 0) | |
262 | 262 | </if> |
263 | 263 | <if test="condition.followType !=null and condition.followType==2"> |
264 | 264 | and t3.id is not null | ... | ... |