租车用户管理

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

@ -130,17 +130,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</delete>
<delete id="deleteZcCarModelByIds" parameterType="String">
delete from zc_car_model where id in
update zc_car_model set del_flag = '2' where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
<select id="selectAllBrands" resultType="string">
SELECT DISTINCT brand_name FROM zc_car_model ORDER BY brand_name ASC
SELECT DISTINCT brand_name FROM zc_car_model where del_flag = 0 ORDER BY brand_name ASC
</select>
<select id="selectModelsByBrand" resultType="string">
SELECT model_name FROM zc_car_model WHERE brand_name = #{brandName} ORDER BY model_name ASC
SELECT model_name FROM zc_car_model WHERE del_flag = 0 and brand_name = #{brandName} ORDER BY model_name ASC
</select>
</mapper>