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
69fcf2ae
Commit
69fcf2ae
authored
Oct 15, 2020
by
任晓松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改订单
parent
777398b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
center-order/app/base/api/impl/action/order.js
+3
-0
center-order/app/base/service/impl/dbcorder/orderinfoSve.js
+15
-0
No files found.
center-order/app/base/api/impl/action/order.js
View file @
69fcf2ae
...
...
@@ -55,6 +55,9 @@ class OrderAPI extends APIBase {
case
"updateOrderStatusById"
:
// 2020 0923 lin 新增 根据id修改orderStatus,目前用来商标交易更新订单状态
opResult
=
await
this
.
orderinfoSve
.
updateOrderStatusById
(
pobj
,
pobj
.
actionBody
);
break
;
case
"updateOrder"
:
opResult
=
await
this
.
orderinfoSve
.
updateOrderById
(
pobj
,
pobj
.
actionBody
);
break
;
case
"channeldelOrder"
:
//阿里工商注册退款
opResult
=
await
this
.
orderinfoSve
.
channeldelOrder
(
pobj
,
pobj
.
actionBody
);
break
;
...
...
center-order/app/base/service/impl/dbcorder/orderinfoSve.js
View file @
69fcf2ae
...
...
@@ -1892,5 +1892,19 @@ class OrderInfoService extends ServiceBase {
})
return
system
.
getResult
(
ret
);
}
//修改订单信息 更新IC订单号
async
updateOrderById
(
pobj
,
actionBody
){
if
(
!
actionBody
.
orderNo
){
return
system
.
getResultFail
(
-
1
,
'订单号不能为空'
);
}
let
updateParams
=
{
orderServiceNo
:
actionBody
.
orderServiceNo
,
channelOrderNo
:
actionBody
.
channelOrderNo
,
channelServiceNo
:
actionBody
.
channelServiceNo
}
let
result
=
await
this
.
updateByWhere
(
updateParams
,{
where
:{
orderNo
:
actionBody
.
orderNo
}})
return
system
.
getResult
(
result
);
}
}
module
.
exports
=
OrderInfoService
;
\ No newline at end of file
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