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
fb0c492f
Commit
fb0c492f
authored
Sep 19, 2019
by
周健威
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master-modify-cutAmount' into master-modify-cutAmount
parents
a231cd6e
391a6c51
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
BackStageOrderController.java
...om/xxfc/platform/order/rest/BackStageOrderController.java
+2
-1
VehicleMapper.xml
...ehicle-server/src/main/resources/mapper/VehicleMapper.xml
+9
-3
No files found.
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/rest/BackStageOrderController.java
View file @
fb0c492f
...
...
@@ -219,7 +219,8 @@ public class BackStageOrderController extends CommonBaseController implements Us
List
<
Integer
>
list
=
userFeign
.
getUserIdByUsername
(
dto
.
getKeywords
());
if
(
list
!=
null
)
{
userIds
.
addAll
(
list
);
}
else
{
}
if
(
userIds
.
size
()
<=
0
)
{
return
ObjectRestResponse
.
succ
(
new
PageDataVO
<>());
}
}
...
...
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleMapper.xml
View file @
fb0c492f
...
...
@@ -383,9 +383,6 @@
<if
test=
"numberPlate != null"
>
and v1.number_plate = #{numberPlate}
</if>
<if
test=
"keywords != null and keywords != ''"
>
and (v1.number_plate like concat('%', #{keywords}, '%') or v1.code like concat('%', #{keywords}, '%'))
</if>
<if
test=
"status != null"
>
and v1.status = #{status}
</if>
...
...
@@ -421,6 +418,9 @@
<if
test=
"code != null and code != ''"
>
and v1.code = #{code}
</if>
<if
test=
"keywords != null and keywords != ''"
>
and (v1.number_plate like concat('%', #{keywords}, '%') or v1.code like concat('%', #{keywords}, '%'))
</if>
<if
test=
"companyIds != null and companyIds.size > 0"
>
and v1.park_branch_company_id in
<foreach
collection=
"companyIds"
item=
"id"
open=
"("
separator=
","
close=
")"
>
...
...
@@ -485,6 +485,9 @@
<if
test=
"status != null"
>
and v1.status = #{status}
</if>
<if
test=
"code !=null"
>
and v1.code=#{code}
</if>
<if
test=
"companyIds != null and companyIds.size > 0"
>
and v1.park_branch_company_id in
<foreach
collection=
"companyIds"
item=
"id"
open=
"("
separator=
","
close=
")"
>
...
...
@@ -508,6 +511,9 @@
<if
test=
"status != null"
>
and v2.status = #{status}
</if>
<if
test=
"code !=null"
>
and v2.code=#{code}
</if>
<if
test=
"companyIds != null and companyIds.size > 0"
>
and v2.park_branch_company_id in
<foreach
collection=
"companyIds"
item=
"id"
open=
"("
separator=
","
close=
")"
>
...
...
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