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
787d842b
Commit
787d842b
authored
Feb 04, 2021
by
兰国旗
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
laolanyouhua
parent
ab854a31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
7 deletions
+17
-7
center-order/app/base/service/impl/qcutils/regCenterOrderSve.js
+17
-7
No files found.
center-order/app/base/service/impl/qcutils/regCenterOrderSve.js
View file @
787d842b
...
...
@@ -43,8 +43,11 @@ class RegCenterOrderService{
return
system
.
getResult
(
null
,
"方案数据为空,30211"
);
}
var
needinfo
=
await
this
.
needinfoDao
.
findOne
({
channelNeedNo
:
needsolution
.
channelNeedNo
});
if
(
!
needinfo
||
!
needinfo
.
channelNeedNo
)
{
return
system
.
getResult
(
null
,
"需求数据为空,30212"
);
if
(
!
needinfo
)
{
needifno
=
{}
needinfo
[
'publishMobile'
]
=
needsolution
.
solutionContent
.
customerInfo
.
publishMobile
needinfo
[
'channelNeedNo'
]
=
needsolution
.
channelNeedNo
needinfo
[
'solutionContent'
]
=
needsolution
.
solutionContent
}
}
if
(
pobj
.
actionBody
.
channelNeedNo
){
...
...
@@ -237,12 +240,19 @@ class RegCenterOrderService{
if
(
!
item
&&
!
solutionitem
)
{
return
system
.
getResult
(
null
,
"需求或者方案不存在,30211"
);
}
if
(
!
item
&&
solutionitem
)
{
item
[
'publishMobile'
]
=
solutionitem
.
solutionContent
.
customerInfo
.
publishMobile
if
(
!
item
){
item
=
{}
item
[
'publishMobile'
]
=
solutionitem
.
solutionContent
.
customerInfo
.
publishMobile
item
[
'solutionProvince'
]
=
solutionitem
.
solutionContent
.
solution
.
area
;
item
[
'solutionContent'
]
=
solutionitem
.
solutionContent
item
[
'channelSolutionNo'
]
=
solutionitem
.
channelSolutionNo
}
else
{
item
.
solutionProvince
=
solutionitem
.
solutionContent
.
solution
.
area
;
item
.
solutionContent
=
solutionitem
.
solutionContent
item
.
channelSolutionNo
=
solutionitem
.
channelSolutionNo
}
item
.
solutionProvince
=
solutionitem
.
solutionContent
.
solution
.
area
;
item
.
solutionContent
=
solutionitem
.
solutionContent
item
.
channelSolutionNo
=
solutionitem
.
channelSolutionNo
return
system
.
getResultSuccess
(
item
);
}
...
...
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