Commit ed70b4cd authored by hanfeng's avatar hanfeng

修改车型映射文件

parent 7d4c0bef
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.xxfc.platform.vehicle.mapper.VehicleModelMapper">
<select id="findVehicleModelPage" parameterType="com.xxfc.platform.vehicle.entity.VehicleModel"
parameterMap="vehicleModel">
<select id="findVehicleModelPage" parameterType="com.xxfc.platform.vehicle.pojo.VehicleModelQueryCondition"
resultMap="vehicleModel">
select * from vehicle_model vm left join vehicle v on vm.id=v.model_id and 1=1
<if test="vmqc.vehicleType!=null and vmqc.vehicleType!=''">
and v.keyword like CONCAT('%,',#{vmqc.vehicleType},',%')
......@@ -16,7 +16,9 @@
and v.keyword like CONCAT('%,',#{vmqc.takeAlieTheNumber},',%')
</if>
</select>
<resultMap id="vehicleModel" type="com.xxfc.platform.vehicle.entity.VehicleModel" >
<id property="id" column="id"></id>
</resultMap>
</mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment