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
43eaed9b
Commit
43eaed9b
authored
Mar 20, 2020
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
createSolutionByOrder
parent
d666052a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
13 deletions
+3
-13
center-order/app/base/service/impl/dbneed/needsolutionSve.js
+3
-13
No files found.
center-order/app/base/service/impl/dbneed/needsolutionSve.js
View file @
43eaed9b
...
...
@@ -369,15 +369,6 @@ class NeedsolutionService extends ServiceBase {
if
(
!
app
||
!
app
.
uapp_id
){
return
system
.
getResultFail
(
-
100
,
"未知渠道"
);
}
if
(
!
ab
.
solutionBizid
){
return
system
.
getResultFail
(
-
101
,
"需求编号不能为空"
);
}
var
needinfo
=
await
this
.
needinfoDao
.
model
.
findOne
({
where
:{
channelNeedNo
:
ab
.
intentionBizId
,
uapp_id
:
app
.
uapp_id
},
raw
:
true
});
if
(
!
needinfo
||
!
needinfo
.
id
){
return
system
.
getResultFail
(
-
102
,
"未知需求信息"
);
}
var
solution
=
""
;
var
bizType
=
"esp.companyreg"
;
if
(
ab
.
companyName
){
...
...
@@ -409,11 +400,10 @@ class NeedsolutionService extends ServiceBase {
// ab["solutionNo"] = solutionNo;
var
solutionNo
=
await
this
.
getBusUid
(
"ns"
);
var
reqObj
=
{
solutionContent
:
solutionContent
,
solutionNo
:
solutionNo
,
status
:
"ywc"
,
needNo
:
needinfo
.
needNo
,
channelNeedNo
:
needinfo
.
channelNeedNo
,
orderNo
:
ab
.
orderNo
,
createUserId
:
needinfo
.
followManUserId
solutionContent
:
solutionContent
,
solutionNo
:
solutionNo
,
status
:
"ywc"
};
await
this
.
dao
.
create
(
reqObj
);
return
system
.
getResultSuccess
();
var
ns
=
await
this
.
dao
.
create
(
reqObj
);
return
system
.
getResultSuccess
(
ns
);
}
//接收方案状态及支付信息
async
receiveSolutionPayInfo
(
pobj
){
...
...
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