|
@@ -1000,8 +1000,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="params.paymentType != null">
|
|
|
AND (o.payment_type = #{params.paymentType} and o.status != 0)
|
|
|
</if>
|
|
|
- <if test="params.shopName != null and params.shopName != ''">
|
|
|
- AND o.shop_name like concat('%', #{params.shopName}, '%')
|
|
|
+ <if test="params.shopId != null">
|
|
|
+ AND o.shop_id = #{params.shopId}
|
|
|
</if>
|
|
|
</select>
|
|
|
|
|
@@ -1186,8 +1186,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="params.paymentType != null">
|
|
|
AND (o.payment_type = #{params.paymentType} and o.status != 0)
|
|
|
</if>
|
|
|
- <if test="params.shopName != null and params.shopName != ''">
|
|
|
- AND o.shop_name like concat('%', #{params.shopName}, '%')
|
|
|
+ <if test="params.shopId != null">
|
|
|
+ AND o.shop_id = #{params.shopId}
|
|
|
</if>
|
|
|
ORDER BY o.create_time DESC
|
|
|
</select>
|