|
@@ -273,9 +273,14 @@
|
|
|
<if test="systemType != 1 and clientType != 3">
|
|
<if test="systemType != 1 and clientType != 3">
|
|
|
and smr.del_flag = 0
|
|
and smr.del_flag = 0
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="clientType != null">
|
|
|
|
|
- and sm.client_type = #{clientType}
|
|
|
|
|
- </if>
|
|
|
|
|
|
|
+ <choose>
|
|
|
|
|
+ <when test="clientType == 3">
|
|
|
|
|
+ and sm.client_type = 2
|
|
|
|
|
+ </when>
|
|
|
|
|
+ <otherwise>
|
|
|
|
|
+ and sm.client_type = #{clientType}
|
|
|
|
|
+ </otherwise>
|
|
|
|
|
+ </choose>
|
|
|
<if test="name != null and name != ''">
|
|
<if test="name != null and name != ''">
|
|
|
and sm.name = #{name, jdbcType=VARCHAR}
|
|
and sm.name = #{name, jdbcType=VARCHAR}
|
|
|
</if>
|
|
</if>
|