|
@@ -95,7 +95,7 @@
|
|
</if>
|
|
</if>
|
|
<if test="vo.isArchive != null and vo.isArchive != ''">
|
|
<if test="vo.isArchive != null and vo.isArchive != ''">
|
|
<choose>
|
|
<choose>
|
|
- <when test="vo.isArchive == '1'">
|
|
|
|
|
|
+ <when test="vo.isArchive == 0">
|
|
AND (u.is_archive = #{vo.isArchive} OR u.is_archive IS NULL)
|
|
AND (u.is_archive = #{vo.isArchive} OR u.is_archive IS NULL)
|
|
</when>
|
|
</when>
|
|
<otherwise>
|
|
<otherwise>
|
|
@@ -178,7 +178,7 @@
|
|
</if>
|
|
</if>
|
|
<if test="vo.isArchive != null and vo.isArchive != ''">
|
|
<if test="vo.isArchive != null and vo.isArchive != ''">
|
|
<choose>
|
|
<choose>
|
|
- <when test="vo.isArchive == '1'">
|
|
|
|
|
|
+ <when test="vo.isArchive == 0">
|
|
AND (u.is_archive = #{vo.isArchive} OR u.is_archive IS NULL)
|
|
AND (u.is_archive = #{vo.isArchive} OR u.is_archive IS NULL)
|
|
</when>
|
|
</when>
|
|
<otherwise>
|
|
<otherwise>
|