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
c432ab07
Commit
c432ab07
authored
Mar 17, 2022
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加内容
parent
9840e8b8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
center-order/app/base/service/impl/qcutils/baseqcSve.js
+13
-0
No files found.
center-order/app/base/service/impl/qcutils/baseqcSve.js
View file @
c432ab07
...
...
@@ -8,6 +8,7 @@ const moment = require('moment');
*/
class
BaseQcService
{
constructor
()
{
this
.
execClientNew
=
system
.
getObject
(
"util.execClientNew"
);
this
.
needsolutionDao
=
system
.
getObject
(
"db.dbneed.needsolutionDao"
);
this
.
needinfoDao
=
system
.
getObject
(
"db.dbneed.needinfoDao"
);
this
.
orderinfoDao
=
system
.
getObject
(
"db.dbcorder.orderinfoDao"
);
...
...
@@ -425,6 +426,7 @@ class BaseQcService {
//交付商通知状态变更
async
serviceProviderNotification
(
pobj
)
{
try
{
let
ab
=
pobj
.
actionBody
;
if
(
!
pobj
.
userInfo
||
!
pobj
.
userInfo
.
id
)
{
return
system
.
getResultFail
(
-
1100
,
"未知用户"
);
...
...
@@ -452,12 +454,18 @@ class BaseQcService {
}
pobj
.
actionBody
=
ab
;
return
this
.
acceptIcpPartnerNotification
(
pobj
);
}
catch
(
e
)
{
const
stackStr
=
e
.
stack
?
e
.
stack
:
JSON
.
stringify
(
e
);
this
.
execClientNew
.
execLogs
(
"serviceProviderNotification-reqError:"
,
pobj
,
"center-order-serviceProviderNotification"
,
null
,
stackStr
);
return
system
.
getResultFail
(
-
200
,
"serviceProviderNotification操作异常"
);
}
}
//服务商通知状态变更
async
acceptIcpPartnerNotification
(
pobj
)
{
let
self
=
this
;
let
ab
=
pobj
.
actionBody
;
try
{
let
needSolutionWhere
=
{};
if
(
ab
.
solutionNo
)
{
needSolutionWhere
=
{
solutionNo
:
ab
.
solutionNo
};
...
...
@@ -620,6 +628,11 @@ class BaseQcService {
statusObj
[
'channelOrderNo'
]
=
channelOrderNo
;
return
system
.
getResultSuccess
(
statusObj
);
})
}
catch
(
e
)
{
const
stackStr
=
e
.
stack
?
e
.
stack
:
JSON
.
stringify
(
e
);
this
.
execClientNew
.
execLogs
(
"acceptIcpPartnerNotification-reqError:"
,
pobj
,
"center-order-acceptIcpPartnerNotification"
,
null
,
stackStr
);
return
system
.
getResultFail
(
-
200
,
"acceptIcpPartnerNotification操作异常"
);
}
}
/*
...
...
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