Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform
Commits
ed70b4cd
Commit
ed70b4cd
authored
Jun 13, 2019
by
hanfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改车型映射文件
parent
7d4c0bef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
VehicleModelMapper.xml
...e-server/src/main/resources/mapper/VehicleModelMapper.xml
+5
-3
No files found.
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleModelMapper.xml
View file @
ed70b4cd
<?xml version="1.0" encoding="UTF-8" ?>
<?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" >
<!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"
>
<mapper
namespace=
"com.xxfc.platform.vehicle.mapper.VehicleModelMapper"
>
<select
id=
"findVehicleModelPage"
parameterType=
"com.xxfc.platform.vehicle.
entity.VehicleModel
"
<select
id=
"findVehicleModelPage"
parameterType=
"com.xxfc.platform.vehicle.
pojo.VehicleModelQueryCondition
"
parameter
Map=
"vehicleModel"
>
result
Map=
"vehicleModel"
>
select * from vehicle_model vm left join vehicle v on vm.id=v.model_id and 1=1
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!=''"
>
<if
test=
"vmqc.vehicleType!=null and vmqc.vehicleType!=''"
>
and v.keyword like CONCAT('%,',#{vmqc.vehicleType},',%')
and v.keyword like CONCAT('%,',#{vmqc.vehicleType},',%')
...
@@ -16,7 +16,9 @@
...
@@ -16,7 +16,9 @@
and v.keyword like CONCAT('%,',#{vmqc.takeAlieTheNumber},',%')
and v.keyword like CONCAT('%,',#{vmqc.takeAlieTheNumber},',%')
</if>
</if>
</select>
</select>
<resultMap
id=
"vehicleModel"
type=
"com.xxfc.platform.vehicle.entity.VehicleModel"
>
<id
property=
"id"
column=
"id"
></id>
</resultMap>
</mapper>
</mapper>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment