停用套餐提示在用订单数
This commit is contained in:
@ -294,5 +294,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
ORDER BY orderAmount DESC
|
||||
LIMIT #{limit}
|
||||
</select>
|
||||
<select id="selectOrderCountByCarRuleId" resultType="java.lang.Integer">
|
||||
SELECT count(1) as orderCount FROM zc_order_main where rent_car_rule_id = #{carRuleId} and order_status in ('WAIT_PAY','WAIT_PICK','RENT_ING','WAIT_RETURN','RENT_OVERDUE')
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user