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
c3fd964b
Commit
c3fd964b
authored
Apr 22, 2021
by
任晓松
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/center-channel' into center-channel
parents
848b781d
44abe0d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
+7
-4
No files found.
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
View file @
c3fd964b
...
...
@@ -424,7 +424,7 @@ class UtilsNeedService extends AppServiceBase {
}
self
.
utilsPushSve
.
business2Channel
(
reqParams
,
"updateChanceStatus"
);
self
.
utilsPushSve
.
business2Channel
(
pobj
,
"pushCloseICPNeed"
);
}
}
return
result
;
}
...
...
@@ -525,6 +525,9 @@ class UtilsNeedService extends AppServiceBase {
if
(
!
actionBody
.
status
)
{
return
system
.
getResult
(
null
,
"actionBody.status can not be empty,100495"
);
}
if
(
actionBody
.
status
==
3
)
{
//3为资料未确认(暂时不用做处理)
return
system
.
getResultSuccess
();
}
if
(
actionBody
.
businessLicense
)
{
actionBody
.
newbusinessLicense
=
await
self
.
opDownFileInfo
(
actionBody
.
businessLicense
);
}
...
...
@@ -875,7 +878,7 @@ class UtilsNeedService extends AppServiceBase {
var
spobj
=
[];
// 遍历生成阿里需求 并把bizId 填充进数组
for
(
var
i
=
0
;
i
<
actionBody
.
demands
.
length
;
i
++
)
{
// 第一步
// 第一步
// 地区转换
var
area
=
this
.
areaChange
(
actionBody
.
demands
[
i
].
area
)
// SubmitIcpIntention需要的类型转换ICP许可证 = 5/EDI许可证 = 7
...
...
@@ -935,7 +938,7 @@ class UtilsNeedService extends AppServiceBase {
obj1
.
actionBody
=
npobj
[
i
];
var
opResult
=
await
this
.
submitNeed
(
obj1
,
obj1
.
actionBody
);
console
.
log
(
"needBatchUpload-opResult"
,
opResult
)
// 第三步
// 第三步
// 提交Icp注册方案
// 程序执行比异步分配需求快,所以写成两个循环
var
objString2
=
JSON
.
stringify
(
pobj
);
...
...
@@ -1569,7 +1572,7 @@ class UtilsNeedService extends AppServiceBase {
}
else
if
(
pobj
.
actionBody
.
channel_type_code
==
"edinb"
)
{
pobj
.
actionBody
.
type
=
"yiming.edinb"
;
pobj
.
actionBody
.
idempotentSource
=
"yiming.edinb"
;
}
}
}
if
(
pobj
.
actionBody
.
description
&&
pobj
.
actionBody
.
description
.
indexOf
(
"备#"
)
<
0
)
{
pobj
.
actionBody
.
level
=
"A"
;
...
...
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