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
f31bd6ff
Commit
f31bd6ff
authored
Aug 05, 2021
by
兰国旗
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
关闭订单优化
parent
6b7ef214
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
center-order/app/base/api/impl/action/need.js
+3
-0
center-order/app/base/service/impl/dbneed/needinfoSve.js
+7
-0
No files found.
center-order/app/base/api/impl/action/need.js
View file @
f31bd6ff
...
@@ -59,6 +59,9 @@ class IcAPI extends APIBase {
...
@@ -59,6 +59,9 @@ class IcAPI extends APIBase {
case
"getSolutionByChannelOrderNo"
:
//渠道订单号获取方案详情
case
"getSolutionByChannelOrderNo"
:
//渠道订单号获取方案详情
opResult
=
await
this
.
needinfoSve
.
getSolutionByChannelOrderNo
(
pobj
,
pobj
.
actionBody
,
req
);
opResult
=
await
this
.
needinfoSve
.
getSolutionByChannelOrderNo
(
pobj
,
pobj
.
actionBody
,
req
);
break
;
break
;
case
"getSolutionByChannelOrderNo"
:
//渠道订单号获取订单信息
opResult
=
await
this
.
needinfoSve
.
getSolutionByChannelOrderNo
(
pobj
,
pobj
.
actionBody
,
req
);
break
;
case
"writeCommunicationLog"
:
//渠道方案号获取需求详情
case
"writeCommunicationLog"
:
//渠道方案号获取需求详情
opResult
=
await
this
.
needinfoSve2
.
writeCommunicationLog
(
pobj
,
pobj
.
actionBody
,
req
);
opResult
=
await
this
.
needinfoSve2
.
writeCommunicationLog
(
pobj
,
pobj
.
actionBody
,
req
);
break
;
break
;
...
...
center-order/app/base/service/impl/dbneed/needinfoSve.js
View file @
f31bd6ff
...
@@ -237,6 +237,13 @@ class NeedinfoService extends ServiceBase {
...
@@ -237,6 +237,13 @@ class NeedinfoService extends ServiceBase {
return
system
.
getResultSuccess
(
item
);
return
system
.
getResultSuccess
(
item
);
}
}
async
getOrderInfoByChannelOrderNo
(
pobj
){
var
orderinfo
=
await
this
.
orderinfoDao
.
findOne
({
channelOrderNo
:
pobj
.
actionBody
.
orderNo
});
if
(
!
orderinfo
||
!
orderinfo
.
orderNo
)
{
return
system
.
getResult
(
null
,
"订单数据为空,302101"
);
}
return
system
.
getResultSuccess
(
orderinfo
);
}
async
submitIcpIntention
(
pobj
,
actionBody
,
req
)
{
async
submitIcpIntention
(
pobj
,
actionBody
,
req
)
{
var
needNo
=
await
this
.
getBusUid
(
"n"
);
var
needNo
=
await
this
.
getBusUid
(
"n"
);
var
nobj
=
{
var
nobj
=
{
...
...
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