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
18bfd9dc
Commit
18bfd9dc
authored
Apr 10, 2020
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
icp
parent
60ffc93a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
center-order/app/base/api/impl/action/icpapi.js
+1
-1
center-order/app/base/service/impl/dbneed/needsolutionSve.js
+4
-4
No files found.
center-order/app/base/api/impl/action/icpapi.js
View file @
18bfd9dc
...
@@ -40,7 +40,7 @@ class IcpAPI extends APIBase {
...
@@ -40,7 +40,7 @@ class IcpAPI extends APIBase {
opResult
=
await
this
.
needsolutionSve
.
submitIcpMaterial
(
pobj
);
opResult
=
await
this
.
needsolutionSve
.
submitIcpMaterial
(
pobj
);
break
;
break
;
case
"acceptIcpPartnerNotification"
:
//icp通知状态变更
case
"acceptIcpPartnerNotification"
:
//icp通知状态变更
opResult
=
await
this
.
needsolutionSve
.
updateStausByRefundOrder
(
pobj
);
opResult
=
await
this
.
needsolutionSve
.
acceptIcpPartnerNotification
(
pobj
);
break
;
break
;
case
"abolishIcpProgramme"
:
//服务商icp方案关闭
case
"abolishIcpProgramme"
:
//服务商icp方案关闭
opResult
=
await
this
.
needsolutionSve
.
abolishIcpProgramme
(
pobj
);
opResult
=
await
this
.
needsolutionSve
.
abolishIcpProgramme
(
pobj
);
...
...
center-order/app/base/service/impl/dbneed/needsolutionSve.js
View file @
18bfd9dc
...
@@ -574,7 +574,7 @@ class NeedsolutionService extends ServiceBase {
...
@@ -574,7 +574,7 @@ class NeedsolutionService extends ServiceBase {
"OfficialFileURL"
:
""
,
"OfficialFileURL"
:
""
,
"ApplicationStatus"
:
"submitIcpProgramme"
,
"ApplicationStatus"
:
"submitIcpProgramme"
,
"ApplicationStatusName"
:
"提交方案"
,
"ApplicationStatusName"
:
"提交方案"
,
"created_at"
:
new
Date
()
;
"created_at"
:
new
Date
()
}];
}];
if
(
!
solution
.
CompanyName
){
if
(
!
solution
.
CompanyName
){
return
system
.
getResultFail
(
-
105
,
"公司名不能为空"
);
return
system
.
getResultFail
(
-
105
,
"公司名不能为空"
);
...
@@ -791,7 +791,7 @@ class NeedsolutionService extends ServiceBase {
...
@@ -791,7 +791,7 @@ class NeedsolutionService extends ServiceBase {
var
self
=
this
;
var
self
=
this
;
return
await
this
.
db
.
transaction
(
async
function
(
t
)
{
return
await
this
.
db
.
transaction
(
async
function
(
t
)
{
await
self
.
dao
.
update
(
needsolutioninfo
,
t
);
await
self
.
dao
.
update
(
needsolutioninfo
,
t
);
needsolutioninfo
=
await
this
.
dao
.
model
.
findOne
({
needsolutioninfo
=
await
self
.
dao
.
model
.
findOne
({
where
:{
channelSolutionNo
:
ab
.
BizId
},
raw
:
true
where
:{
channelSolutionNo
:
ab
.
BizId
},
raw
:
true
});
});
return
system
.
getResultSuccess
(
needsolutioninfo
);
return
system
.
getResultSuccess
(
needsolutioninfo
);
...
@@ -840,7 +840,7 @@ class NeedsolutionService extends ServiceBase {
...
@@ -840,7 +840,7 @@ class NeedsolutionService extends ServiceBase {
var
statusObj
=
{
var
statusObj
=
{
"OfficialFileURL"
:
ab
.
OfficialFileURL
||
""
,
"OfficialFileURL"
:
ab
.
OfficialFileURL
||
""
,
"ApplicationStatus"
:
ab
.
ApplicationStatus
,
"ApplicationStatus"
:
ab
.
ApplicationStatus
,
"created_at"
:
new
Date
()
;
"created_at"
:
new
Date
()
};
};
applicationStatusList
.
push
(
statusObj
);
applicationStatusList
.
push
(
statusObj
);
solutionContent
.
applicationStatusList
=
applicationStatusList
;
solutionContent
.
applicationStatusList
=
applicationStatusList
;
...
@@ -849,7 +849,7 @@ class NeedsolutionService extends ServiceBase {
...
@@ -849,7 +849,7 @@ class NeedsolutionService extends ServiceBase {
var
self
=
this
;
var
self
=
this
;
return
await
this
.
db
.
transaction
(
async
function
(
t
)
{
return
await
this
.
db
.
transaction
(
async
function
(
t
)
{
await
self
.
dao
.
update
(
needsolutioninfo
,
t
);
await
self
.
dao
.
update
(
needsolutioninfo
,
t
);
needsolutioninfo
=
await
this
.
dao
.
model
.
findOne
({
needsolutioninfo
=
await
self
.
dao
.
model
.
findOne
({
where
:{
channelSolutionNo
:
ab
.
BizId
},
raw
:
true
where
:{
channelSolutionNo
:
ab
.
BizId
},
raw
:
true
});
});
statusObj
[
"BizId"
]
=
ab
.
BizId
;
statusObj
[
"BizId"
]
=
ab
.
BizId
;
...
...
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