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
accc908d
Commit
accc908d
authored
a year ago
by
Kazuki Nakamura
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【受入修正対応】日付設定(8/10,20 ⇒ 9/10,20)
parent
fb573f57
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
31 additions
and
21 deletions
+31
-21
src/main/java/jp/agentec/sinaburocast/action/user/PointUseAction.java
+8
-9
src/main/java/jp/agentec/sinaburocast/common/SinaburoConstant.java
+11
-0
src/main/java/jp/agentec/sinaburocast/form/user/PointUseForm.java
+2
-2
src/main/webapp/WEB-INF/view/sp/user/pointUse/memberCardReceiptEnd.html
+1
-1
src/main/webapp/WEB-INF/view/sp/user/pointUse/memberRegistPage.html
+1
-1
src/main/webapp/WEB-INF/view/sp/user/pointUse/pointUseEnd.html
+1
-1
src/main/webapp/WEB-INF/view/sp/user/pointUse/pointUseIndex.html
+2
-2
src/main/webapp/WEB-INF/view/user/pointUse/memberCardReceiptEnd.html
+1
-1
src/main/webapp/WEB-INF/view/user/pointUse/memberRegistPage.html
+1
-1
src/main/webapp/WEB-INF/view/user/pointUse/pointUseEnd.html
+1
-1
src/main/webapp/WEB-INF/view/user/pointUse/pointUseIndex.html
+2
-2
No files found.
src/main/java/jp/agentec/sinaburocast/action/user/PointUseAction.java
View file @
accc908d
...
@@ -19,6 +19,7 @@ import org.seasar.struts.annotation.Execute;
...
@@ -19,6 +19,7 @@ import org.seasar.struts.annotation.Execute;
import
jp.agentec.sinaburocast.action.AbstractAction
;
import
jp.agentec.sinaburocast.action.AbstractAction
;
import
jp.agentec.sinaburocast.common.SinaburoConstant
;
import
jp.agentec.sinaburocast.common.SinaburoConstant
;
import
jp.agentec.sinaburocast.common.SinaburoConstant.UserType
;
import
jp.agentec.sinaburocast.common.SinaburoConstant.UserType
;
import
jp.agentec.sinaburocast.common.SinaburoConstant.giftExchangeHiddenDate
;
import
jp.agentec.sinaburocast.common.util.MailUtil
;
import
jp.agentec.sinaburocast.common.util.MailUtil
;
import
jp.agentec.sinaburocast.common.util.PropertyUtil
;
import
jp.agentec.sinaburocast.common.util.PropertyUtil
;
import
jp.agentec.sinaburocast.common.util.SinaburoUtil
;
import
jp.agentec.sinaburocast.common.util.SinaburoUtil
;
...
@@ -56,8 +57,6 @@ public class PointUseAction extends AbstractAction {
...
@@ -56,8 +57,6 @@ public class PointUseAction extends AbstractAction {
public
PointGetService
pointGetService
;
public
PointGetService
pointGetService
;
public
PrefectureService
prefectureService
;
public
PrefectureService
prefectureService
;
public
MemberCardReceiptService
memberCardReceiptService
;
public
MemberCardReceiptService
memberCardReceiptService
;
private
static
String
HIDE_ICHICO_DATE
=
"2023/08/21"
;
private
static
String
HIDE_MEMBER_CARD_RECEIPT_DATE
=
"2023/08/11"
;
/**
/**
* 初期表示
* 初期表示
...
@@ -79,11 +78,11 @@ public class PointUseAction extends AbstractAction {
...
@@ -79,11 +78,11 @@ public class PointUseAction extends AbstractAction {
// 現在日付を取得し、ICHICOポイントの交換リンクを表示するか判定する
// 現在日付を取得し、ICHICOポイントの交換リンクを表示するか判定する
Date
currentDate
=
new
Date
();
Date
currentDate
=
new
Date
();
Date
hideDate
=
new
SimpleDateFormat
(
"yyyy/MM/dd"
).
parse
(
HIDE_ICHICO
_DATE
);
Date
hideDate
=
new
SimpleDateFormat
(
"yyyy/MM/dd"
).
parse
(
giftExchangeHiddenDate
.
ICHICO_HIDE
_DATE
);
if
(
currentDate
.
before
(
hideDate
))
{
if
(
currentDate
.
before
(
hideDate
))
{
pointUseForm
.
hideIchioFlg
=
false
;
pointUseForm
.
ichicoHide
=
false
;
}
else
{
}
else
{
pointUseForm
.
hideIchioFlg
=
true
;
pointUseForm
.
ichicoHide
=
true
;
}
}
return
"/user/pointUse/pointUseIndex.html"
;
return
"/user/pointUse/pointUseIndex.html"
;
...
@@ -207,13 +206,13 @@ public class PointUseAction extends AbstractAction {
...
@@ -207,13 +206,13 @@ public class PointUseAction extends AbstractAction {
return
"/user/pointUse/memberConfirm.html"
;
return
"/user/pointUse/memberConfirm.html"
;
}
}
// 現在日付を取得し、会員カード郵送申請
リンク
を表示するか判定する
// 現在日付を取得し、会員カード郵送申請
ボタン
を表示するか判定する
Date
currentDate
=
new
Date
();
Date
currentDate
=
new
Date
();
Date
hideDate
=
new
SimpleDateFormat
(
"yyyy/MM/dd"
).
parse
(
HIDE_MEMBER_CARD_RECEIPT
_DATE
);
Date
hideDate
=
new
SimpleDateFormat
(
"yyyy/MM/dd"
).
parse
(
giftExchangeHiddenDate
.
MEMBER_CARD_RECEIPT_HIDE
_DATE
);
if
(
currentDate
.
before
(
hideDate
))
{
if
(
currentDate
.
before
(
hideDate
))
{
pointUseForm
.
hideMemberCardReceiptFlg
=
false
;
pointUseForm
.
memberCardReceiptHide
=
false
;
}
else
{
}
else
{
pointUseForm
.
hideMemberCardReceiptFlg
=
true
;
pointUseForm
.
memberCardReceiptHide
=
true
;
}
}
return
"/user/pointUse/memberRegistPage.html"
;
return
"/user/pointUse/memberRegistPage.html"
;
...
...
This diff is collapsed.
Click to expand it.
src/main/java/jp/agentec/sinaburocast/common/SinaburoConstant.java
View file @
accc908d
...
@@ -627,6 +627,17 @@ public interface SinaburoConstant {
...
@@ -627,6 +627,17 @@ public interface SinaburoConstant {
Integer
ICHICO
=
2
;
Integer
ICHICO
=
2
;
}
}
/**
* ポイント交換関連の日付を指定して、
* 指定した日付以降、項目を非表示にする
* @author nakamura-k
*
*/
interface
giftExchangeHiddenDate
{
String
ICHICO_HIDE_DATE
=
"2023/09/21"
;
String
MEMBER_CARD_RECEIPT_HIDE_DATE
=
"2023/09/11"
;
}
}
}
This diff is collapsed.
Click to expand it.
src/main/java/jp/agentec/sinaburocast/form/user/PointUseForm.java
View file @
accc908d
...
@@ -37,10 +37,10 @@ public class PointUseForm {
...
@@ -37,10 +37,10 @@ public class PointUseForm {
public
String
memberNum
;
public
String
memberNum
;
// ICHICOポイント交換リンク表示フラグ
// ICHICOポイント交換リンク表示フラグ
public
boolean
hideIchioFlg
=
false
;
public
boolean
ichicoHide
=
false
;
// 会員カード郵送申請リンク表示フラグ
// 会員カード郵送申請リンク表示フラグ
public
boolean
hideMemberCardReceiptFlg
=
false
;
public
boolean
memberCardReceiptHide
=
false
;
// 会員情報入力画面からのアクセスか判定するフラグ(ICHICOポイント交換用)
// 会員情報入力画面からのアクセスか判定するフラグ(ICHICOポイント交換用)
public
boolean
uEditEndFlg
=
false
;
public
boolean
uEditEndFlg
=
false
;
...
...
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/view/sp/user/pointUse/memberCardReceiptEnd.html
View file @
accc908d
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<b>
カードがお手元に届きましたらポイント交換手続きをお願いいたします。
</b><br>
<b>
カードがお手元に届きましたらポイント交換手続きをお願いいたします。
</b><br>
<br>
<br>
毎月15日までに受付し、月末の付与になります。
<br>
毎月15日までに受付し、月末の付与になります。
<br>
<font
color=
"red"
>
7月1日~
8
月10日までは、10日毎に受付を集計し、2週間程度で送付いたします。
</font><br>
<font
color=
"red"
>
7月1日~
9
月10日までは、10日毎に受付を集計し、2週間程度で送付いたします。
</font><br>
※ICHICOポイントの詳細は
<a
href=
"https://www.city.ichikawa.lg.jp/pla02/0000421807.html"
target=
"_blnak"
>
こちら
</a>
※ICHICOポイントの詳細は
<a
href=
"https://www.city.ichikawa.lg.jp/pla02/0000421807.html"
target=
"_blnak"
>
こちら
</a>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/view/sp/user/pointUse/memberRegistPage.html
View file @
accc908d
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
## ②カード
## ②カード
<div
class=
"bg_blue"
>
<div
class=
"bg_blue"
>
<h4>
❷カードをご希望の方
</h4>
<h4>
❷カードをご希望の方
</h4>
#if($!pointUseForm.
hideMemberCardReceiptFlg
== false)
#if($!pointUseForm.
memberCardReceiptHide
== false)
カードを郵送いたしますので、下記のボタンをクリックしてください。
<br>
カードを郵送いたしますので、下記のボタンをクリックしてください。
<br>
eモニの会員情報に入力いただいているご住所に郵送します。
<br>
eモニの会員情報に入力いただいているご住所に郵送します。
<br>
<font
color=
"red"
>
ICHICOポイントへの交換は9月
<b>
20日まで
</b>
できますが、カードの郵送は9月
<b>
10日まで
</b>
の受付とさせていただきます。
</font><br>
<font
color=
"red"
>
ICHICOポイントへの交換は9月
<b>
20日まで
</b>
できますが、カードの郵送は9月
<b>
10日まで
</b>
の受付とさせていただきます。
</font><br>
...
...
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/view/sp/user/pointUse/pointUseEnd.html
View file @
accc908d
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<a
href=
"http://www.e-moni.city.ichikawa.chiba.jp"
target=
"_blnak"
>
http://www.e-moni.city.ichikawa.chiba.jp
</a>
<a
href=
"http://www.e-moni.city.ichikawa.chiba.jp"
target=
"_blnak"
>
http://www.e-moni.city.ichikawa.chiba.jp
</a>
#else
#else
毎月15日までに受付し、月末の付与になります。
<br>
毎月15日までに受付し、月末の付与になります。
<br>
<font
color=
"red"
>
7月1日~
8
月20日までは、10日毎に受付を集計し、2週間程度で付与いたします。
</font><br>
<font
color=
"red"
>
7月1日~
9
月20日までは、10日毎に受付を集計し、2週間程度で付与いたします。
</font><br>
※ICHICOポイントの詳細は
<a
href=
"https://www.city.ichikawa.lg.jp/pla02/0000421807.html"
target=
"_blnak"
>
こちら
</a>
※ICHICOポイントの詳細は
<a
href=
"https://www.city.ichikawa.lg.jp/pla02/0000421807.html"
target=
"_blnak"
>
こちら
</a>
#end
#end
...
...
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/view/sp/user/pointUse/pointUseIndex.html
View file @
accc908d
...
@@ -13,13 +13,13 @@
...
@@ -13,13 +13,13 @@
<h2>
ポイントの利用
</h2>
<h2>
ポイントの利用
</h2>
<p
style=
"text-align:center"
>
<p
style=
"text-align:center"
>
#foreach($row in $!pointUseForm.giftExchangeInfoList)
#foreach($row in $!pointUseForm.giftExchangeInfoList)
#if(($!pointUseForm.
hideIchioFlg
== false
&&
$row.giftExchangeInfoId == 2) || $row.giftExchangeInfoId == 1)
#if(($!pointUseForm.
ichicoHide
== false
&&
$row.giftExchangeInfoId == 2) || $row.giftExchangeInfoId == 1)
<a
href=
"#q('/user/pointUse/pointUse/')?giftExchangeInfoId=$!row.giftExchangeInfoId"
data-ajax=
"false"
>
$!row.linkText
</a><br>
<a
href=
"#q('/user/pointUse/pointUse/')?giftExchangeInfoId=$!row.giftExchangeInfoId"
data-ajax=
"false"
>
$!row.linkText
</a><br>
#end
#end
#end
#end
</p>
</p>
#foreach($row in $!pointUseForm.giftExchangeInfoList)
#foreach($row in $!pointUseForm.giftExchangeInfoList)
#if(($!pointUseForm.
hideIchioFlg
== false
&&
$row.giftExchangeInfoId == 2) || $row.giftExchangeInfoId == 1)
#if(($!pointUseForm.
ichicoHide
== false
&&
$row.giftExchangeInfoId == 2) || $row.giftExchangeInfoId == 1)
$!row.message
$!row.message
#end
#end
#end
#end
...
...
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/view/user/pointUse/memberCardReceiptEnd.html
View file @
accc908d
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<tr><td><b>
カードの申し込みが完了しました。
</b></td></tr>
<tr><td><b>
カードの申し込みが完了しました。
</b></td></tr>
<tr><td><b>
カードがお手元に届きましたらポイント交換手続きをお願いいたします。
</b></td></tr>
<tr><td><b>
カードがお手元に届きましたらポイント交換手続きをお願いいたします。
</b></td></tr>
<tr><td><br>
毎月15日までに受付し、月末の付与になります。
</td></tr>
<tr><td><br>
毎月15日までに受付し、月末の付与になります。
</td></tr>
<tr><td><font
color=
"red"
>
7月1日~
8
月10日までは、10日毎に受付を集計し、2週間程度で送付いたします。
</font></td></tr>
<tr><td><font
color=
"red"
>
7月1日~
9
月10日までは、10日毎に受付を集計し、2週間程度で送付いたします。
</font></td></tr>
<tr><td>
※ICHICOポイントの詳細は
<a
href=
"https://www.city.ichikawa.lg.jp/pla02/0000421807.html"
target=
"_blnak"
>
こちら
</a></td></tr>
<tr><td>
※ICHICOポイントの詳細は
<a
href=
"https://www.city.ichikawa.lg.jp/pla02/0000421807.html"
target=
"_blnak"
>
こちら
</a></td></tr>
</table>
</table>
<br><br>
<br><br>
...
...
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/view/user/pointUse/memberRegistPage.html
View file @
accc908d
...
@@ -66,7 +66,7 @@ ICHICO繝昴う繝ウ繝医r縺溘a繧九%縺ィ縺ッ縺ァ縺阪∪縺吶′迴セ驥代繝√Ε繝シ繧ク縺ッ縺
...
@@ -66,7 +66,7 @@ ICHICO繝昴う繝ウ繝医r縺溘a繧九%縺ィ縺ッ縺ァ縺阪∪縺吶′迴セ驥代繝√Ε繝シ繧ク縺ッ縺
<br><br>
<br><br>
<table
width=
"740"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<table
width=
"740"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr><td
width=
"740"
>
❷カードをご希望の方
</td></tr>
<tr><td
width=
"740"
>
❷カードをご希望の方
</td></tr>
#if($!pointUseForm.
hideMemberCardReceiptFlg
== false)
#if($!pointUseForm.
memberCardReceiptHide
== false)
<tr><td><br>
カードを郵送いたしますので、下記のボタンをクリックしてください。
<tr><td><br>
カードを郵送いたしますので、下記のボタンをクリックしてください。
<br>
eモニの会員情報に入力いただいているご住所に郵送します。
</td></tr>
<br>
eモニの会員情報に入力いただいているご住所に郵送します。
</td></tr>
<tr><td><font
color=
"red"
>
ICHICOポイントへの交換は9月
<b>
20日まで
</b>
できますが、カードの郵送は9月
<b>
10日まで
</b>
の受付とさせていただきます。
</font></td></tr>
<tr><td><font
color=
"red"
>
ICHICOポイントへの交換は9月
<b>
20日まで
</b>
できますが、カードの郵送は9月
<b>
10日まで
</b>
の受付とさせていただきます。
</font></td></tr>
...
...
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/view/user/pointUse/pointUseEnd.html
View file @
accc908d
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
<tr><td><a
href=
"http://www.e-moni.city.ichikawa.chiba.jp"
target=
"_blnak"
>
http://www.e-moni.city.ichikawa.chiba.jp
</a></td></tr>
<tr><td><a
href=
"http://www.e-moni.city.ichikawa.chiba.jp"
target=
"_blnak"
>
http://www.e-moni.city.ichikawa.chiba.jp
</a></td></tr>
#else
#else
<tr><td><br>
毎月15日までに受付し、月末の付与になります。
</td></tr>
<tr><td><br>
毎月15日までに受付し、月末の付与になります。
</td></tr>
<tr><td><font
color=
"red"
>
7月1日~
8
月20日までは、10日毎に受付を集計し、2週間程度で付与いたします。
</font></td></tr>
<tr><td><font
color=
"red"
>
7月1日~
9
月20日までは、10日毎に受付を集計し、2週間程度で付与いたします。
</font></td></tr>
<tr><td>
※ICHICOポイントの詳細は
<a
href=
"https://www.city.ichikawa.lg.jp/pla02/0000421807.html"
target=
"_blnak"
>
こちら
</a></td></tr>
<tr><td>
※ICHICOポイントの詳細は
<a
href=
"https://www.city.ichikawa.lg.jp/pla02/0000421807.html"
target=
"_blnak"
>
こちら
</a></td></tr>
#end
#end
</table>
</table>
...
...
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/view/user/pointUse/pointUseIndex.html
View file @
accc908d
...
@@ -39,7 +39,7 @@ $tools.getMsg("dayError")
...
@@ -39,7 +39,7 @@ $tools.getMsg("dayError")
<td
width=
"5"
align=
"right"
><img
src=
"/em/images/cts_cmt03.gif"
width=
"5"
height=
"23"
border=
"0"
></td>
<td
width=
"5"
align=
"right"
><img
src=
"/em/images/cts_cmt03.gif"
width=
"5"
height=
"23"
border=
"0"
></td>
</tr>
</tr>
#foreach($row in $!pointUseForm.giftExchangeInfoList)
#foreach($row in $!pointUseForm.giftExchangeInfoList)
#if(($!pointUseForm.
hideIchioFlg
== false
&&
$row.giftExchangeInfoId == 2) || $row.giftExchangeInfoId == 1)
#if(($!pointUseForm.
ichicoHide
== false
&&
$row.giftExchangeInfoId == 2) || $row.giftExchangeInfoId == 1)
<tr>
<tr>
<td
background=
"/em/images/cts_cmt02_bg.gif"
><img
src=
"/em/images/spacer.gif"
width=
"5"
height=
"5"
border=
"0"
></td>
<td
background=
"/em/images/cts_cmt02_bg.gif"
><img
src=
"/em/images/spacer.gif"
width=
"5"
height=
"5"
border=
"0"
></td>
<td
align=
"left"
><a
href=
"#q('/user/pointUse/pointUse/')?giftExchangeInfoId=$!row.giftExchangeInfoId"
>
$row.linkText
</a></td>
<td
align=
"left"
><a
href=
"#q('/user/pointUse/pointUse/')?giftExchangeInfoId=$!row.giftExchangeInfoId"
>
$row.linkText
</a></td>
...
@@ -58,7 +58,7 @@ $tools.getMsg("dayError")
...
@@ -58,7 +58,7 @@ $tools.getMsg("dayError")
## ここからメッセージ表示
## ここからメッセージ表示
<!-- $!pointUseForm.message.message -->
<!-- $!pointUseForm.message.message -->
#foreach($row in $!pointUseForm.giftExchangeInfoList)
#foreach($row in $!pointUseForm.giftExchangeInfoList)
#if(($!pointUseForm.
hideIchioFlg
== false
&&
$row.giftExchangeInfoId == 2) || $row.giftExchangeInfoId == 1)
#if(($!pointUseForm.
ichicoHide
== false
&&
$row.giftExchangeInfoId == 2) || $row.giftExchangeInfoId == 1)
$!row.message
$!row.message
#end
#end
#end
#end
...
...
This diff is collapsed.
Click to expand it.
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