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
2cf87687
Commit
2cf87687
authored
Mar 16, 2021
by
兰国旗
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
yiming
parent
61ff44d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
6 deletions
+23
-6
center-order/app/base/service/impl/dbneed/needinfoSve2.js
+1
-0
center-order/app/base/service/impl/qcutils/baseqcSve.js
+22
-6
No files found.
center-order/app/base/service/impl/dbneed/needinfoSve2.js
View file @
2cf87687
...
@@ -184,6 +184,7 @@ class NeedinfoService2 extends ServiceBase {
...
@@ -184,6 +184,7 @@ class NeedinfoService2 extends ServiceBase {
}
}
async
writeCommunicationLog
(
pobj
,
actionBody
)
{
async
writeCommunicationLog
(
pobj
,
actionBody
)
{
console
.
log
(
'actionBody---writeCommunicationLog---'
,
actionBody
)
// 查询需求沟通记录
// 查询需求沟通记录
// 2020 0820 lin 修改channel传过来的参数 为 note/intentionBizId
// 2020 0820 lin 修改channel传过来的参数 为 note/intentionBizId
actionBody
.
Note
=
[
"noteTime"
,
moment
().
format
(
"YYYY-MM-DD HH:mm:ss"
),
"note"
,
actionBody
.
note
];
actionBody
.
Note
=
[
"noteTime"
,
moment
().
format
(
"YYYY-MM-DD HH:mm:ss"
),
"note"
,
actionBody
.
note
];
...
...
center-order/app/base/service/impl/qcutils/baseqcSve.js
View file @
2cf87687
...
@@ -234,12 +234,28 @@ class BaseQcService {
...
@@ -234,12 +234,28 @@ class BaseQcService {
if
(
!
solution
)
{
if
(
!
solution
)
{
return
system
.
getResultFail
(
-
103
,
"方案交付信息有误"
);
return
system
.
getResultFail
(
-
103
,
"方案交付信息有误"
);
}
}
if
(
needinfo
.
channelTypeCode
==
"7"
)
{
//edi
//判断属于百度还是易名
ab
.
solutionContent
.
solution
.
IcpType
=
2
;
if
(
needinfo
.
uapp_id
==
44
){
}
else
if
(
needinfo
.
channelTypeCode
==
"5"
)
{
//icp
if
(
needinfo
.
channelTypeCode
==
"7"
)
{
//edi
ab
.
solutionContent
.
solution
.
IcpType
=
1
;
ab
.
solutionContent
.
solution
.
IcpType
=
2
;
}
else
{
}
else
if
(
needinfo
.
channelTypeCode
==
"5"
)
{
//icp
return
system
.
getResultFail
(
-
208
,
"需求业务类型有误"
);
ab
.
solutionContent
.
solution
.
IcpType
=
1
;
}
else
{
return
system
.
getResultFail
(
-
208
,
"需求业务类型有误"
);
}
}
if
(
needinfo
.
uapp_id
==
52
){
if
(
needinfo
.
channelTypeCode
==
"7"
)
{
//edi
ab
.
solutionContent
.
solution
.
IcpType
=
2
;
}
else
if
(
needinfo
.
channelTypeCode
==
"5"
)
{
//icp
ab
.
solutionContent
.
solution
.
IcpType
=
1
;
}
else
if
(
needinfo
.
channelTypeCode
==
"icpnb"
)
{
//icpnb
ab
.
solutionContent
.
solution
.
IcpType
=
4
;
}
else
if
(
needinfo
.
channelTypeCode
==
"edinb"
)
{
//edinb
ab
.
solutionContent
.
solution
.
IcpType
=
3
;
}
else
{
return
system
.
getResultFail
(
-
208
,
"需求业务类型有误"
);
}
}
}
if
(
!
solution
.
CompanyName
)
{
if
(
!
solution
.
CompanyName
)
{
return
system
.
getResultFail
(
-
105
,
"公司名不能为空"
);
return
system
.
getResultFail
(
-
105
,
"公司名不能为空"
);
...
...
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