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
05bec39f
Commit
05bec39f
authored
Mar 25, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
2f7152e1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
center-order/app/base/service/impl/dbcorder/orderinfoSve.js
+9
-3
center-order/提示编码使用
+2
-2
No files found.
center-order/app/base/service/impl/dbcorder/orderinfoSve.js
View file @
05bec39f
...
...
@@ -328,6 +328,12 @@ class OrderInfoService extends ServiceBase {
var
self
=
this
;
return
await
self
.
db
.
transaction
(
async
function
(
t
)
{
var
orderNo
=
await
self
.
getBusUid
(
"ot"
+
pobj
.
appInfo
.
uapp_id
);
if
(
pobj
.
actionBody
.
channelOrder
&&
pobj
.
actionBody
.
channelOrder
.
channelOrderNo
)
{
var
count
=
await
this
.
dao
.
findCount
({
where
:
{
channelOrderNo
:
pobj
.
actionBody
.
channelOrder
.
channelOrderNo
}
});
if
(
count
>
0
)
{
return
system
.
getResult
(
null
,
"订单不能重复创建,30220"
);
}
}
var
item
=
await
self
.
createOrder
(
pobj
,
orderNo
,
t
);
return
system
.
getResultSuccess
({
orderNo
:
orderNo
,
...
...
@@ -414,10 +420,10 @@ class OrderInfoService extends ServiceBase {
}
//接收方案状态及支付信息
async
receiveSolutionPayInfo
(
channelSolutionNo
,
status
,
orderPrice
,
self
,
t
)
{
async
receiveSolutionPayInfo
(
channelSolutionNo
,
status
,
orderPrice
,
self
,
t
)
{
var
needsolutioninfo
=
await
self
.
needsolutionDao
.
findOne
({
channelSolutionNo
:
channelSolutionNo
},
t
);
if
(
!
needsolutioninfo
||
!
needsolutioninfo
.
id
)
{
return
system
.
getResultFail
(
-
400
,
"未知方案"
);
if
(
!
needsolutioninfo
||
!
needsolutioninfo
.
id
)
{
return
system
.
getResultFail
(
-
400
,
"未知方案"
);
}
var
solutionContent
=
needsolutioninfo
.
solutionContent
;
solutionContent
=
JSON
.
parse
(
solutionContent
);
...
...
center-order/提示编码使用
View file @
05bec39f
已经使用的
编码汇总:
已经使用的
编码汇总:
...
...
@@ -22,7 +22,7 @@
30190
30200
30210
30220
========================================================
...
...
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