Commit 80d226d278fbe2d9a7c0e9a51c5b292f5e102830

Authored by 张志伟
1 parent 7355dcae

:bug: fix(*): 保有客池查询bug修复

- 保有客池查询bug修复
fw-valhalla-dao/src/main/resources/mapper/StammkundePoolMapper.xml
... ... @@ -111,7 +111,9 @@
111 111 </if>
112 112 <if test="condition.defeated !=null and condition.defeated == 1">
113 113 and t1.aktiv = 0
114   - and t1.reason not in (99, 10, 9)
  114 + <if test="condition.reason == null">
  115 + and t1.reason not in (99, 10, 9)
  116 + </if>
115 117 </if>
116 118 <if test="condition.defeated !=null and condition.defeated == 0">
117 119 and t1.aktiv = 1
... ... @@ -222,7 +224,9 @@
222 224 </if>
223 225 <if test="condition.defeated !=null and condition.defeated == 1">
224 226 and t1.aktiv = 0
225   - and t1.reason not in (99, 10, 9)
  227 + <if test="condition.reason == null">
  228 + and t1.reason not in (99, 10, 9)
  229 + </if>
226 230 </if>
227 231 <if test="condition.defeated !=null and condition.defeated == 0">
228 232 and t1.aktiv = 1
... ...