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
602f87dd
Commit
602f87dd
authored
Jun 08, 2020
by
孙亚楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
b7591ff4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
xggsve-merchant/app/base/db/impl/main/saasmainDao.js
+1
-1
xggsve-merchant/app/base/service/impl/main/saasmainSve.js
+2
-2
No files found.
xggsve-merchant/app/base/db/impl/main/saasmainDao.js
View file @
602f87dd
...
@@ -38,7 +38,7 @@ class SaasMainDao extends Dao {
...
@@ -38,7 +38,7 @@ class SaasMainDao extends Dao {
if
(
params
.
saas_id
)
{
if
(
params
.
saas_id
)
{
sql
.
push
(
"AND saas_id = :saas_id"
);
sql
.
push
(
"AND saas_id = :saas_id"
);
}
}
return
await
this
.
customQuery
(
sql
,
params
);
return
await
this
.
customQuery
(
sql
.
join
(
" "
)
,
params
);
}
}
}
}
module
.
exports
=
SaasMainDao
;
module
.
exports
=
SaasMainDao
;
xggsve-merchant/app/base/service/impl/main/saasmainSve.js
View file @
602f87dd
...
@@ -10,11 +10,11 @@ class SaasMainService extends ServiceBase {
...
@@ -10,11 +10,11 @@ class SaasMainService extends ServiceBase {
async
dics
(
params
)
{
async
dics
(
params
)
{
let
saas_id
=
Number
(
this
.
trim
(
params
.
saas_id
)
||
0
);
let
saas_id
=
Number
(
this
.
trim
(
params
.
saas_id
)
||
0
);
if
(
!
saas_id
)
{
if
(
!
saas_id
)
{
return
system
.
getResult
Success
([]);
return
system
.
getResult
([]);
}
}
params
.
attrs
=
"id, name"
;
params
.
attrs
=
"id, name"
;
let
list
=
await
this
.
dao
.
dics
(
params
);
let
list
=
await
this
.
dao
.
dics
(
params
);
return
system
.
getResult
Success
(
list
);
return
system
.
getResult
(
list
);
}
}
async
info
(
params
)
{
async
info
(
params
)
{
...
...
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