src/main/java/org/springblade/modules/equipage/mapper/CarMapper.xml
@@ -24,7 +24,7 @@ and sc.dept_id = #{car.deptId} </if> <if test="car.type!=null"> and car.equipment_code !="" and car.equipment_code is not null and car.equipment_code !=null and sc.equipment_code is not null </if> <if test="car.numberType!=null and car.numberType!=''"> and sc.number_type like concat('%', #{car.numberType},'%') @@ -53,4 +53,7 @@ and sc.id = #{car.id} </if> </select> <select id="selectCar" resultType="java.util.HashMap"> SELECT * FROM `sys_car` WHERE equipment_code IS NOT NULL </select> </mapper>