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
806b8bab
Commit
806b8bab
authored
May 21, 2020
by
王昆
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'xggsve-order' of gitlab.gongsibao.com:jiangyong/zhichan into xggsve-order
parents
1e67a76b
677d6d65
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 @
806b8bab
...
@@ -40,13 +40,17 @@ class SaasOrderService extends ServiceBase {
...
@@ -40,13 +40,17 @@ class SaasOrderService extends ServiceBase {
if
(
!
params
.
id
)
{
if
(
!
params
.
id
)
{
return
system
.
getResult
(
null
,
"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
);
let
order
=
await
this
.
dao
.
getById
(
params
.
id
);
if
(
!
order
)
{
if
(
!
order
)
{
return
system
.
getResult
(
null
,
"订单不存在"
);
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
);
this
.
handleDate
(
order
,
[
"created_at"
],
null
);
await
this
.
setOrderStatus
([
order
]);
await
this
.
setOrderStatus
([
order
]);
let
bminfo
=
await
this
.
saasorderbminfoDao
.
getById
(
params
.
id
)
||
{};
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