|
@@ -45,7 +45,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
FROM
|
|
FROM
|
|
|
sale_rights_order
|
|
sale_rights_order
|
|
|
<where>
|
|
<where>
|
|
|
- <if test="businessId!=null and shopId > 0">
|
|
|
|
|
|
|
+ <if test="businessId!=null and businessId > 0">
|
|
|
and `business_id` = #{businessId}
|
|
and `business_id` = #{businessId}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="status!=null and status >= 0">
|
|
<if test="status!=null and status >= 0">
|