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
046df077
Commit
046df077
authored
Sep 30, 2020
by
linboxuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update 2.4
parent
d630c43c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
8 deletions
+14
-8
center-order/app/base/api/impl/action/ediApi.js
+9
-6
center-order/app/base/service/impl/qcutils/aliyunqcSve.js
+5
-2
No files found.
center-order/app/base/api/impl/action/ediApi.js
View file @
046df077
...
...
@@ -25,14 +25,17 @@ class ediApi extends APIBase {
var
opResult
=
null
;
switch
(
action_type
)
{
case
"produceNoticeAliEsp"
:
// uk后端订单拉取功能
opResult
=
await
this
.
needinfoSve
.
produceNoticeAliEsp
(
pobj
,
pobj
.
actionBody
);
break
;
opResult
=
await
this
.
needinfoSve
.
produceNoticeAliEsp
(
pobj
,
pobj
.
actionBody
);
break
;
case
"receiveEdiStatusNotify"
:
//接收渠道方案状态变更通知2.3
opResult
=
await
this
.
aliyunqcSve
.
receiveEdiStatusNotify
(
pobj
);
break
;
opResult
=
await
this
.
aliyunqcSve
.
receiveEdiStatusNotify
(
pobj
);
break
;
case
"soulutionFeebackAliEsp"
:
//接收渠道方案状态变更通知2.4
opResult
=
await
this
.
aliyunqcSve
.
soulutionFeebackAliEsp
(
pobj
);
break
;
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
}
return
opResult
;
}
...
...
center-order/app/base/service/impl/qcutils/aliyunqcSve.js
View file @
046df077
...
...
@@ -933,7 +933,8 @@ class AliyunQcService {
}
//获取方案信息
var
ns
=
await
this
.
needsolutionDao
.
model
.
findOne
({
where
:
{
channelSolutionNo
:
ab
.
BizId
,
isInvalid
:
0
},
raw
:
true
// 2020 0929 lin 修改ab.BizId 改为 ab.solutionBizId
where
:
{
channelSolutionNo
:
ab
.
solutionBizId
,
isInvalid
:
0
},
raw
:
true
});
if
(
!
ns
||
!
ns
.
id
)
{
return
system
.
getResultFail
(
-
102
,
"未知方案"
);
...
...
@@ -997,8 +998,10 @@ class AliyunQcService {
var
material
=
solutionContent
.
customerMaterial
||
{};
if
(
ab
.
extInfo
)
{
// 退回修改理由
var
extInfoJson
=
JSON
.
parse
(
ab
.
extInfo
);
if
(
ab
.
extInfo
.
rejectReason
)
{
ab
.
rejectReason
=
ab
.
extInfo
.
rejectReason
ab
.
rejectReason
=
ab
.
extInfo
.
rejectReason
,
solutionContent
.
note
=
ab
.
rejectReason
}
material
.
businessLicenseArr
=
ab
.
extInfo
.
businessLicenseArr
;
material
.
idCardListArr
=
ab
.
idCardListArr
;
...
...
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