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
213ed51b
Commit
213ed51b
authored
Apr 01, 2020
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tmconfirm
parent
9f1c935b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
center-order/app/base/service/impl/dbcorder/internalCallsNotifySve.js
+3
-1
center-order/app/base/service/impl/dbcorder/orderinfoSve.js
+5
-2
No files found.
center-order/app/base/service/impl/dbcorder/internalCallsNotifySve.js
View file @
213ed51b
...
@@ -38,7 +38,8 @@ class InternalCallsNotifyService {
...
@@ -38,7 +38,8 @@ class InternalCallsNotifyService {
if
(
orderdeliveryRes
&&
orderdeliveryRes
.
length
>
0
){
if
(
orderdeliveryRes
&&
orderdeliveryRes
.
length
>
0
){
return
system
.
getResult
(
null
,
"保存商标订单交付信息失败,存在重复交付信息,不能重复提交,10300"
);
return
system
.
getResult
(
null
,
"保存商标订单交付信息失败,存在重复交付信息,不能重复提交,10300"
);
}
}
await
this
.
addOrderDelivery
(
deliveryData
,
deliveryData
.
sourceOrderNo
);
this
.
addOrderDelivery
(
deliveryData
,
deliveryData
.
sourceOrderNo
);
await
this
.
orderinfoDao
.
model
.
update
({
isSolution
:
1
},
{
where
:
{
orderNo
:
pobj
.
sourceOrderNo
}});
return
system
.
getResultSuccess
();
return
system
.
getResultSuccess
();
}
else
{
}
else
{
return
checkRes
;
return
checkRes
;
...
@@ -56,6 +57,7 @@ class InternalCallsNotifyService {
...
@@ -56,6 +57,7 @@ class InternalCallsNotifyService {
var
orderdelivery
=
orderdeliveryRes
[
0
];
var
orderdelivery
=
orderdeliveryRes
[
0
];
var
deliveryData
=
await
this
.
packagingTmDeliveryData
(
pobj
,
orderdelivery
.
deliveryContent
);
var
deliveryData
=
await
this
.
packagingTmDeliveryData
(
pobj
,
orderdelivery
.
deliveryContent
);
this
.
putOrderDelivery
(
deliveryData
,
deliveryData
.
sourceOrderNo
,
deliveryData
.
serviceNo
);
this
.
putOrderDelivery
(
deliveryData
,
deliveryData
.
sourceOrderNo
,
deliveryData
.
serviceNo
);
await
this
.
orderinfoDao
.
model
.
update
({
isSolution
:
1
},
{
where
:
{
orderNo
:
pobj
.
sourceOrderNo
}});
return
system
.
getResultSuccess
();
return
system
.
getResultSuccess
();
}
else
{
}
else
{
return
checkRes
;
return
checkRes
;
...
...
center-order/app/base/service/impl/dbcorder/orderinfoSve.js
View file @
213ed51b
...
@@ -1276,8 +1276,11 @@ class OrderInfoService extends ServiceBase {
...
@@ -1276,8 +1276,11 @@ class OrderInfoService extends ServiceBase {
// channelCode:deliveryContent.channelCode,
// channelCode:deliveryContent.channelCode,
// notes:ab.notes || ""
// notes:ab.notes || ""
// };
// };
orderdeliveryRes
=
await
this
.
getOrderDelivery
(
orderNo
);
orderdeliveryRes
=
await
self
.
getOrderDelivery
(
orderNo
);
return
system
.
getResultSuccess
({
orderdelivery
:
orderdeliveryRes
});
if
(
orderdeliveryRes
&&
orderdeliveryRes
.
length
>
0
){
return
system
.
getResultSuccess
(
orderdeliveryRes
[
0
]);
}
return
system
.
getResultSuccess
();
})
})
}
}
...
...
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