|
|
@@ -243,17 +243,17 @@
|
|
|
<if test="params.type != null and params.type != '' and params.type != 'null'">
|
|
|
and co.type = #{params.type}
|
|
|
</if>
|
|
|
- <if test="params.state != null and params.state != '' and params.state != 'null'">
|
|
|
+ <if test="params.state != null">
|
|
|
and co.state = #{params.state}
|
|
|
</if>
|
|
|
<if test="params.phone != null and params.phone != '' and params.phone != 'null'">
|
|
|
and co.phone like concat('%',#{params.phone},'%')
|
|
|
</if>
|
|
|
- <if test="params.classify == '1' || params.classify == '5'">
|
|
|
+ <if test="params.classify == 1 || params.classify == 5">
|
|
|
and co.classify = #{params.classify}
|
|
|
</if>
|
|
|
- <if test="params.classify == '2'">
|
|
|
- and co.classify in ("2", "3", "4")
|
|
|
+ <if test="params.classify == 2">
|
|
|
+ and co.classify in (2, 3, 4)
|
|
|
</if>
|
|
|
<if test="params.startTime != null and params.startTime != '' and params.startTime != 'null'">
|
|
|
and co.create_at <![CDATA[ >= ]]> #{params.startTime}
|
|
|
@@ -264,7 +264,6 @@
|
|
|
<if test="params.shopName != null and params.shopName != '' and params.shopName != 'null'">
|
|
|
and gh.shop_name like concat('%',#{params.shopName},'%')
|
|
|
</if>
|
|
|
-
|
|
|
<if test="params.bankCardNo != null and params.bankCardNo != '' and params.bankCardNo != 'null'">
|
|
|
and co.bank_card_no = #{params.bankCardNo}
|
|
|
</if>
|