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
90ad7392
Commit
90ad7392
authored
Sep 21, 2020
by
兰国旗
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
laolan
parent
08627a53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gsb-marketplat/app/base/db/impl/mediaaggregation/mediaaggregationDao.js
+4
-4
No files found.
gsb-marketplat/app/base/db/impl/mediaaggregation/mediaaggregationDao.js
View file @
90ad7392
...
...
@@ -165,8 +165,8 @@ class MediaaggregationDao extends Dao {
total
:
0
,
//总记录条数
rows
:
[]
};
var
countSql
=
"select count(1) as dataCount from mc_cycle_product where deleted_at is null order by sequence
de
sc"
;
var
sql
=
"select * from mc_cycle_product where deleted_at is null order by sequence
desc
"
;
var
countSql
=
"select count(1) as dataCount from mc_cycle_product where deleted_at is null order by sequence
a
sc"
;
var
sql
=
"select * from mc_cycle_product where deleted_at is null order by sequence
asc
"
;
var
optionType
=
"get"
;
var
functionName
=
"cycleProduct"
;
var
returnRes
=
this
.
redisInfo
(
sql
,
countSql
,
optionType
,
functionName
);
...
...
@@ -236,8 +236,8 @@ class MediaaggregationDao extends Dao {
rows
:
[]
};
var
functionName
;
var
sql
=
"select * from mc_cycle_product where deleted_at is null and cycle_type = :cycle_type"
;
var
countSql
=
"select count(1) as dataCount from mc_cycle_product where deleted_at is null and cycle_type = :cycle_type "
;
var
sql
=
"select * from mc_cycle_product where deleted_at is null and cycle_type = :cycle_type
order by sequence asc
"
;
var
countSql
=
"select count(1) as dataCount from mc_cycle_product where deleted_at is null and cycle_type = :cycle_type
order by sequence asc
"
;
switch
(
req
.
actionBody
.
cycle_type
)
{
case
"1"
:
...
...
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