租车套餐设置调整,取消时租和以租代售绑定租电套餐逻辑

This commit is contained in:
majian314
2025-09-24 16:38:39 +08:00
parent d1b31a6820
commit 53cb688448
7 changed files with 54 additions and 21 deletions

View File

@ -74,7 +74,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<include refid="selectZcRentBatteyRuleVo"/>
where id = #{id}
</select>
<select id="selectZcRentBatteyRuleByIds" resultType="com.ruoyi.operation.domain.ZcRentBatteyRule">
select * from zc_rent_battey_rule where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</select>
<insert id="insertZcRentBatteyRule" parameterType="ZcRentBatteyRule" useGeneratedKeys="true" keyProperty="id">
insert into zc_rent_battey_rule
<trim prefix="(" suffix=")" suffixOverrides=",">
@ -179,4 +185,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</foreach>
</delete>
</mapper>
</mapper>