租车用户管理

This commit is contained in:
19173159168
2025-07-27 15:53:14 +08:00
parent db8b5e636a
commit 876f32964b
16 changed files with 865 additions and 12 deletions

View File

@ -83,7 +83,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<select id="checkVinUnique" resultType="com.ruoyi.operation.domain.ZcCar">
SELECT * FROM zc_car WHERE vin = #{vin}
SELECT * FROM zc_car WHERE del_flag = 0 AND vin = #{vin}
</select>
<insert id="insertZcCar" parameterType="ZcCar" useGeneratedKeys="true" keyProperty="id">
@ -228,7 +228,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</delete>
<delete id="deleteZcCarByIds" parameterType="String">
delete from zc_car where id in
update zc_car set del_flag ='2' where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>