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