修改根据租车套餐id获取租电套餐的接口,增加电池列表
This commit is contained in:
@ -4,11 +4,13 @@
|
||||
|
||||
<select id="queryRentBatteyRuleByCarRuleId" resultType="com.sczx.car.dto.RentBatteyRuleDTO">
|
||||
SELECT
|
||||
b.*
|
||||
b.*,c.category_name
|
||||
FROM
|
||||
zc_rent_car_rule_battery rcb
|
||||
JOIN
|
||||
zc_rent_battey_rule b ON rcb.battery_rule_id = b.id
|
||||
JOIN
|
||||
zc_battery_category c ON b.category_id = c.id
|
||||
WHERE
|
||||
rcb.car_rule_id = #{carRuleId}
|
||||
AND b.is_delete = 0
|
||||
|
||||
Reference in New Issue
Block a user