Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-trialdrive-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 18bab029
authored
Dec 28, 2021
by
levphon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
根据组织id获取权限用户
1 parent
d7c4517b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
8 deletions
src/main/java/cn/com/glsx/admin/modules/service/WorkOrderService.java
src/main/java/cn/com/glsx/admin/modules/service/WorkOrderService.java
View file @
18bab02
...
...
@@ -162,10 +162,16 @@ public class WorkOrderService {
installWorkOrderBO
.
setInstallAddress
(
workOrderBO
.
getServiceAddress
());
installWorkOrderBO
.
setInstallExplain
(
workOrderBO
.
getServiceExplain
());
installWorkOrderBO
.
setShopContactor
(
workOrderBO
.
getShopContactInfo
().
split
(
","
)[
0
]);
installWorkOrderBO
.
setShopTelephone
(
workOrderBO
.
getShopContactInfo
().
split
(
","
)[
1
]);
installWorkOrderBO
.
setInstallLinker
(
workOrderBO
.
getServiceLinkInfo
().
split
(
","
)[
0
]);
installWorkOrderBO
.
setInstallLinkerPhone
(
workOrderBO
.
getServiceLinkInfo
().
split
(
","
)[
1
]);
String
[]
shopContactInfo
=
workOrderBO
.
getShopContactInfo
().
split
(
","
);
installWorkOrderBO
.
setShopContactor
(
shopContactInfo
[
0
]);
if
(
shopContactInfo
.
length
>
1
)
{
installWorkOrderBO
.
setShopTelephone
(
shopContactInfo
[
1
]);
}
String
[]
serviceLinkInfo
=
workOrderBO
.
getServiceLinkInfo
().
split
(
","
);
installWorkOrderBO
.
setInstallLinker
(
serviceLinkInfo
[
0
]);
if
(
serviceLinkInfo
.
length
>
1
)
{
installWorkOrderBO
.
setInstallLinkerPhone
(
serviceLinkInfo
[
1
]);
}
installWorkOrderBO
.
setCreatedBy
(
ShieldContextHolder
.
getUserId
());
...
...
@@ -183,10 +189,17 @@ public class WorkOrderService {
InstallWorkOrderBO
installWorkOrderBO
=
WorkOrderConverter
.
INSTANCE
.
bo2installBo
(
workOrderBO
);
installWorkOrderBO
.
setWorkOrderId
(
workOrderBO
.
getId
());
installWorkOrderBO
.
setWorkOrderNo
(
workOrder
.
getOrderNo
());
installWorkOrderBO
.
setShopContactor
(
workOrderBO
.
getShopContactInfo
().
split
(
","
)[
0
]);
installWorkOrderBO
.
setShopTelephone
(
workOrderBO
.
getShopContactInfo
().
split
(
","
)[
1
]);
installWorkOrderBO
.
setInstallLinker
(
workOrderBO
.
getServiceLinkInfo
().
split
(
","
)[
0
]);
installWorkOrderBO
.
setInstallLinkerPhone
(
workOrderBO
.
getServiceLinkInfo
().
split
(
","
)[
1
]);
String
[]
shopContactInfo
=
workOrderBO
.
getShopContactInfo
().
split
(
","
);
installWorkOrderBO
.
setShopContactor
(
shopContactInfo
[
0
]);
if
(
shopContactInfo
.
length
>
1
)
{
installWorkOrderBO
.
setShopTelephone
(
shopContactInfo
[
1
]);
}
String
[]
serviceLinkInfo
=
workOrderBO
.
getServiceLinkInfo
().
split
(
","
);
installWorkOrderBO
.
setInstallLinker
(
serviceLinkInfo
[
0
]);
if
(
serviceLinkInfo
.
length
>
1
)
{
installWorkOrderBO
.
setInstallLinkerPhone
(
serviceLinkInfo
[
1
]);
}
installWorkOrderBO
.
setCreatedBy
(
ShieldContextHolder
.
getUserId
());
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment