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
51d0a365
Commit
51d0a365
authored
Jun 09, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
0c92c857
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
center-order/app/base/service/impl/dbcorder/orderinfoSve.js
+3
-3
center-order/app/base/service/impl/dbneed/needsolutionSve.js
+0
-0
No files found.
center-order/app/base/service/impl/dbcorder/orderinfoSve.js
View file @
51d0a365
...
...
@@ -452,8 +452,8 @@ class OrderInfoService extends ServiceBase {
if
(
produceinfo
)
{
pobj
.
actionBody
.
payCode
=
produceinfo
[
0
].
payCode
;
}
pobj
.
actionBody
.
totalSum
=
pobj
.
actionBody
.
orderPrice
;
pobj
.
actionBody
.
payTotalSum
=
pobj
.
actionBody
.
orderPrice
;
pobj
.
actionBody
.
totalSum
=
Number
(
pobj
.
actionBody
.
orderPrice
||
"0"
)
;
pobj
.
actionBody
.
payTotalSum
=
=
Number
(
pobj
.
actionBody
.
orderPrice
||
"0"
)
;
var
self
=
this
;
return
await
self
.
db
.
transaction
(
async
function
(
t
)
{
var
orderNo
=
await
self
.
getBusUid
(
"ic"
+
pobj
.
appInfo
.
uapp_id
);
...
...
@@ -486,7 +486,7 @@ class OrderInfoService extends ServiceBase {
}
var
solutionContent
=
needsolutioninfo
.
solutionContent
;
solutionContent
=
JSON
.
parse
(
solutionContent
);
solutionContent
[
"totalSum"
]
=
orderPrice
;
solutionContent
[
"totalSum"
]
=
Number
(
orderPrice
||
"0"
)
;
needsolutioninfo
.
solutionContent
=
JSON
.
stringify
(
solutionContent
);
needsolutioninfo
.
status
=
status
;
await
self
.
needsolutionDao
.
update
(
needsolutioninfo
,
t
);
...
...
center-order/app/base/service/impl/dbneed/needsolutionSve.js
View file @
51d0a365
This diff is collapsed.
Click to expand it.
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