Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
a8147093
Commit
a8147093
authored
Feb 21, 2020
by
王昆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gsb
parent
b382ac59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
xggsve-common/app/base/service/impl/deliver/deliverSve.js
+9
-3
No files found.
xggsve-common/app/base/service/impl/deliver/deliverSve.js
View file @
a8147093
...
@@ -423,7 +423,10 @@ class DeliverService extends ServiceBase {
...
@@ -423,7 +423,10 @@ class DeliverService extends ServiceBase {
return
system
.
getResult
(
null
,
"交付商不存在"
);
return
system
.
getResult
(
null
,
"交付商不存在"
);
}
}
var
all
=
await
this
.
deliverorgDao
.
byDeliverId
(
params
.
deliver_id
,
''
);
var
all
=
await
this
.
deliverorgDao
.
byDeliverId
(
params
.
deliver_id
,
''
)
||
[];
for
(
let
row
of
all
)
{
this
.
handleDate
(
item
,
[
"created_at"
],
null
,
-
8
);
}
var
pmap
=
{};
var
pmap
=
{};
for
(
var
item
of
all
)
{
for
(
var
item
of
all
)
{
item
.
label
=
item
.
name
;
item
.
label
=
item
.
name
;
...
@@ -450,8 +453,11 @@ class DeliverService extends ServiceBase {
...
@@ -450,8 +453,11 @@ class DeliverService extends ServiceBase {
if
(
!
deliver_id
)
{
if
(
!
deliver_id
)
{
return
system
.
getResultSuccess
([]);
return
system
.
getResultSuccess
([]);
}
}
var
all
=
await
this
.
deliverorgDao
.
byDeliverId
(
params
.
deliver_id
,
''
);
var
all
=
await
this
.
deliverorgDao
.
byDeliverId
(
params
.
deliver_id
,
''
)
||
[];
return
system
.
getResultSuccess
(
all
||
[]);
for
(
let
row
of
all
)
{
this
.
handleDate
(
item
,
[
"created_at"
],
null
,
-
8
);
}
return
system
.
getResultSuccess
(
all
);
}
}
async
orgSave
(
params
)
{
async
orgSave
(
params
)
{
...
...
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