src/main/java/org/springblade/modules/equipage/mapper/CarMapper.xml
@@ -23,6 +23,9 @@ <if test="car.deptId!=null and car.deptId!=''"> and sc.dept_id = #{car.deptId} </if> <if test="car.type!=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},'%') </if> @@ -50,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>