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
ef759fc0
Commit
ef759fc0
authored
Nov 15, 2019
by
hanfeng
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/base-modify' into base-modify
parents
10400fa7
5f352ba2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
BackgroundBaseOrderBiz.java
...a/com/xxfc/platform/order/biz/BackgroundBaseOrderBiz.java
+4
-0
BaseOrderMapper.xml
...rder-server/src/main/resources/mapper/BaseOrderMapper.xml
+6
-1
No files found.
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/BackgroundBaseOrderBiz.java
View file @
ef759fc0
...
@@ -59,6 +59,10 @@ public class BackgroundBaseOrderBiz extends BaseBiz<BaseOrderMapper, BaseOrder>
...
@@ -59,6 +59,10 @@ public class BackgroundBaseOrderBiz extends BaseBiz<BaseOrderMapper, BaseOrder>
companyIds
.
add
(
dto
.
getStartCompanyId
());
companyIds
.
add
(
dto
.
getStartCompanyId
());
}
}
}
}
//有当前大区权限才能搜索到数据
if
(
dto
.
getZoneId
()
!=
null
&&
(
userDTO
.
getDataAll
()
==
1
||
userDTO
.
getZoneId
().
equals
(
dto
.
getZoneId
())
||
userDTO
.
getDataZone
().
contains
(
dto
.
getZoneId
()+
""
)))
{
companyIds
.
clear
();
}
dto
.
setCompanyIds
(
companyIds
);
dto
.
setCompanyIds
(
companyIds
);
if
(
dto
.
getStartTime
()
!=
null
)
{
if
(
dto
.
getStartTime
()
!=
null
)
{
if
(
dto
.
getEndTime
()
==
null
)
{
if
(
dto
.
getEndTime
()
==
null
)
{
...
...
xx-order/xx-order-server/src/main/resources/mapper/BaseOrderMapper.xml
View file @
ef759fc0
...
@@ -303,10 +303,15 @@
...
@@ -303,10 +303,15 @@
<foreach
collection=
"companyIds"
item=
"id"
open=
"("
separator=
","
close=
")"
>
<foreach
collection=
"companyIds"
item=
"id"
open=
"("
separator=
","
close=
")"
>
#{id}
#{id}
</foreach>
</foreach>
or
o1.end_company_id in
<foreach
collection=
"companyIds"
item=
"id"
open=
"("
separator=
","
close=
")"
>
#{id}
</foreach>
)
)
</if>
</if>
<if
test=
"zoneId != null"
>
<if
test=
"zoneId != null"
>
and
o1.start_zone_id = #{zoneId}
and
(bc1.zone_id = #{zoneId} or bc1.zone_id = #{zoneId})
</if>
</if>
<if
test=
"zoneIds != null and zoneIds.size > 0"
>
<if
test=
"zoneIds != null and zoneIds.size > 0"
>
and (o1.start_zone_id in
and (o1.start_zone_id in
...
...
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