Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
shop
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
shop
Commits
a8fc9e9d
Commit
a8fc9e9d
authored
Sep 29, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
781e08fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
PageServiceImpl.java
...ain/java/com/egolm/shop/service/impl/PageServiceImpl.java
+2
-2
PromoServiceImpl.java
...in/java/com/egolm/shop/service/impl/PromoServiceImpl.java
+2
-2
No files found.
src/main/java/com/egolm/shop/service/impl/PageServiceImpl.java
View file @
a8fc9e9d
...
...
@@ -70,9 +70,9 @@ public class PageServiceImpl implements PageService {
+
" LayoutTypeID = b.sLayoutTypeID,LayoutType = b.sLayoutType,JumpTypeID = b.sJumpTypeID,JumpType = b.sJumpType,JumpList = b.sJumpList,Idx = b.nIdx,ImagePath = b.sImagePath,"
+
" LinkPath = b.sLinkPath "
+
" from tBannerAd b "
+
" WHERE sOrgNO = ? AND sAdPositionTypeID =
? AND b.dStartTime <=getdate() AND b.dEndTime >= getdate() AND b.nTag&2 = 2
"
;
+
" WHERE sOrgNO = ? AND sAdPositionTypeID =
? AND b.dStartTime <=getdate() AND b.dEndTime >= getdate() AND b.nTag&2 = 2
"
;
return
jdbcTemplate
.
limit
(
sql
,
page
,
orgNO
,
adTypeID
);
return
jdbcTemplate
.
limit
(
sql
,
page
,
orgNO
,
adTypeID
);
}
/**
...
...
src/main/java/com/egolm/shop/service/impl/PromoServiceImpl.java
View file @
a8fc9e9d
...
...
@@ -91,8 +91,8 @@ public class PromoServiceImpl implements PromoService {
" CASE WHEN nUseCycle&32 = 32 THEN '6,' ELSE '' END + "
+
" CASE WHEN nUseCycle&64 = 64 THEN '7' ELSE '' END LIKE '%' + convert(VARCHAR,datepart(weekday,getdate())) + '%' "
+
" AND a.sPromoPaperNO = ? "
+
" AND b.sPromoGroupNO = ? "
+
" AND c.sShopNO = ? "
;
" AND b.sPromoGroupNO = ? "
;
//
" AND c.sShopNO = ? ";
List
<
Map
<
String
,
Object
>>
list
=
jdbcTemplate
.
queryForList
(
sql
.
replaceAll
(
"\\s+"
,
" "
),
sPromoPaperNO
,
sPromoGroupNO
,
sCustTypeID
);
return
list
;
}
...
...
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