Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
em
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
ichikawa
em
Commits
6b6050e9
Commit
6b6050e9
authored
Mar 22, 2024
by
Kim Gyeongeun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ICHICOポイント利用再開のため、期間設定を無効にする
parent
7e641598
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
src/main/java/jp/agentec/sinaburocast/action/user/PointUseAction.java
+7
-6
No files found.
src/main/java/jp/agentec/sinaburocast/action/user/PointUseAction.java
View file @
6b6050e9
...
...
@@ -94,13 +94,14 @@ public class PointUseAction extends AbstractAction {
pointUseForm
.
giftExchangeInfoList
=
giftExchangeInfoService
.
findGiftExchangeInfoList
();
// 現在日付を取得し、ICHICOポイントの交換リンクを表示するか判定する
Date
currentDate
=
new
Date
();
Date
hideDate
=
new
SimpleDateFormat
(
"yyyy/MM/dd"
).
parse
(
giftExchangeHiddenDate
.
ICHICO_HIDE_DATE
);
if
(
currentDate
.
before
(
hideDate
))
{
pointUseForm
.
ichicoHide
=
false
;
}
else
{
// 2024年4月1日から再開のため、当該ロジックを削除
// Date currentDate = new Date();
// Date hideDate = new SimpleDateFormat("yyyy/MM/dd").parse(giftExchangeHiddenDate.ICHICO_HIDE_DATE);
// if(currentDate.before(hideDate)) {
// pointUseForm.ichicoHide = false;
// } else {
pointUseForm
.
ichicoHide
=
true
;
}
//
}
return
"/user/pointUse/pointUseIndex.html"
;
}
...
...
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