|
@@ -132,6 +132,17 @@
|
|
|
left join sys_region sr on(info.district_id = sr.id)
|
|
|
where
|
|
|
1 = 1
|
|
|
+
|
|
|
+ <if test="queryPage.isBindMerc != null">
|
|
|
+ <choose>
|
|
|
+ <when test="queryPage.isBindMerc == true">
|
|
|
+ and info.merc_id is not null
|
|
|
+ </when>
|
|
|
+ <otherwise>
|
|
|
+ and (info.merc_id is null or info.merc_id = '')
|
|
|
+ </otherwise>
|
|
|
+ </choose>
|
|
|
+ </if>
|
|
|
<if test="queryPage.showStatus != null">
|
|
|
and info.show_status = #{queryPage.showStatus}
|
|
|
</if>
|