修正根据租电套餐查询电池信息的接口问题
This commit is contained in:
		| @ -15,4 +15,16 @@ | ||||
|         rcb.car_rule_id = #{carRuleId} | ||||
|         AND b.is_delete = 0 | ||||
|     </select> | ||||
|  | ||||
|     <select id="getRentBatteyRuleById" resultType="com.sczx.car.dto.RentBatteyRuleDTO"> | ||||
|         SELECT | ||||
|         b.*,c.category_name | ||||
|         FROM | ||||
|         zc_rent_battey_rule b | ||||
|         JOIN | ||||
|         zc_battery_category c ON b.category_id = c.id | ||||
|         WHERE | ||||
|         b.id = #{id} | ||||
|         AND b.is_delete = 0 | ||||
|     </select> | ||||
| </mapper> | ||||
|  | ||||
		Reference in New Issue
	
	Block a user