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
7f873e6b
Commit
7f873e6b
authored
Oct 13, 2020
by
hezhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
4fe500ec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
VehicleApplyMapper.java
.../com/xxfc/platform/vehicle/mapper/VehicleApplyMapper.java
+1
-1
VehicleApplyMapper.xml
...e-server/src/main/resources/mapper/VehicleApplyMapper.xml
+1
-0
No files found.
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/mapper/VehicleApplyMapper.java
View file @
7f873e6b
...
...
@@ -15,7 +15,7 @@ public interface VehicleApplyMapper extends Mapper<VehicleApply>, SelectByIdList
List
<
VehicleApplyVo
>
selectList
(
VehicleApplyFindDTO
vehicleApplyFindDTO
);
@Select
(
"SELECT * FROM vehicle_apply WHERE vehicle_id=#{vehicleId} and form_type=2 ORDER BY upd_time DESC LIMIT 1"
)
@Select
(
"SELECT * FROM vehicle_apply WHERE vehicle_id=#{vehicleId} and form_type=2
and is_del = 0
ORDER BY upd_time DESC LIMIT 1"
)
VehicleApply
getOneByOrderUpdTime
(
@Param
(
"vehicleId"
)
String
vehicleId
);
List
<
VehicleApplyVo
>
selectListByApp
(
VehicleApplyFindDTO
vehicleApplyFindDTO
);
...
...
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleApplyMapper.xml
View file @
7f873e6b
...
...
@@ -10,6 +10,7 @@
FROM vehicle_apply a
LEFT JOIN branch_company i on a.subordinate_branch=i.id
<where>
a.is_del = 0
<if
test=
"name != null and name != ''"
>
AND ( a.`name` like concat('%',#{name},'%') or i.`name` like concat('%',#{name},'%') )
</if>
...
...
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