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
677d6d65
Commit
677d6d65
authored
May 21, 2020
by
孙亚楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
fd90c17d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
xggsve-order/app/base/service/impl/saas/saasorderSve.js
+7
-3
No files found.
xggsve-order/app/base/service/impl/saas/saasorderSve.js
View file @
677d6d65
...
...
@@ -40,13 +40,17 @@ class SaasOrderService extends ServiceBase {
if
(
!
params
.
id
)
{
return
system
.
getResult
(
null
,
"id不存在"
);
}
if
(
params
.
saas_id
&&
params
.
saas_id
!=
order
.
saas_id
){
return
system
.
getResult
(
null
,
`【
${
params
.
saas_id
}
】错误`
);
}
let
order
=
await
this
.
dao
.
getById
(
params
.
id
);
if
(
!
order
)
{
return
system
.
getResult
(
null
,
"订单不存在"
);
}
if
(
params
.
saas_id
&&
params
.
saas_id
!=
order
.
saas_id
){
return
system
.
getResult
(
null
,
`【
${
params
.
saas_id
}
】错误`
);
}
// let order = await this.dao.getById(params.id);
// if (!order) {
// return system.getResult(null, "订单不存在");
// }
this
.
handleDate
(
order
,
[
"created_at"
],
null
);
await
this
.
setOrderStatus
([
order
]);
let
bminfo
=
await
this
.
saasorderbminfoDao
.
getById
(
params
.
id
)
||
{};
...
...
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