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
7d46402a
Commit
7d46402a
authored
Dec 20, 2023
by
Kim Gyeongeun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#56952 設問設定機能追加
#56951 性別の選択肢を追加 #56954 メールアドレスの種別変更
parent
76d152e8
Hide whitespace changes
Inline
Side-by-side
Showing
45 changed files
with
601 additions
and
392 deletions
+601
-392
src/main/java/jp/agentec/sinaburocast/action/admin/member/DeliveryGroupSearchAction.java
+18
-14
src/main/java/jp/agentec/sinaburocast/action/admin/member/MemberEditAction.java
+42
-42
src/main/java/jp/agentec/sinaburocast/action/admin/member/MemberRegistAction.java
+25
-25
src/main/java/jp/agentec/sinaburocast/action/admin/member/MemberRegistAllAction.java
+11
-11
src/main/java/jp/agentec/sinaburocast/action/user/PointUseAction.java
+9
-9
src/main/java/jp/agentec/sinaburocast/action/user/RegistAction.java
+4
-4
src/main/java/jp/agentec/sinaburocast/action/user/TopAction.java
+10
-4
src/main/java/jp/agentec/sinaburocast/action/user/UserEditAction.java
+27
-42
src/main/java/jp/agentec/sinaburocast/common/SinaburoConstant.java
+7
-0
src/main/java/jp/agentec/sinaburocast/csv/MemberInfoCsv.java
+29
-29
src/main/java/jp/agentec/sinaburocast/csv/MemberMigrationInfoCsv.java
+23
-19
src/main/java/jp/agentec/sinaburocast/entity/Member.java
+4
-4
src/main/java/jp/agentec/sinaburocast/form/admin/member/MemberEditForm.java
+4
-4
src/main/java/jp/agentec/sinaburocast/form/admin/member/MemberSearchForm.java
+10
-6
src/main/java/jp/agentec/sinaburocast/form/user/UserEditForm.java
+10
-6
src/main/java/jp/agentec/sinaburocast/logic/MemberRegisterBatchLogic.java
+6
-6
src/main/java/jp/agentec/sinaburocast/service/EnqueteMailAddressTmpService.java
+3
-3
src/main/java/jp/agentec/sinaburocast/service/EnqueteMailService.java
+6
-6
src/main/java/jp/agentec/sinaburocast/service/EnqueteService.java
+6
-2
src/main/java/jp/agentec/sinaburocast/service/GiftExchangeService.java
+1
-1
src/main/java/jp/agentec/sinaburocast/service/MemberService.java
+45
-45
src/main/java/jp/agentec/sinaburocast/service/MemberWithdrawService.java
+4
-4
src/main/java/jp/agentec/sinaburocast/service/PointDonationService.java
+4
-4
src/main/java/jp/agentec/sinaburocast/service/ReplyService.java
+4
-4
src/main/resources/application_ja.properties
+4
-3
src/main/resources/csv_application.properties
+4
-4
src/main/webapp/WEB-INF/view/admin/enquete/giftExchangeSearch.html
+1
-1
src/main/webapp/WEB-INF/view/admin/member/memberConfirm.html
+4
-4
src/main/webapp/WEB-INF/view/admin/member/memberEdit.html
+8
-8
src/main/webapp/WEB-INF/view/admin/member/memberInput.html
+12
-8
src/main/webapp/WEB-INF/view/admin/member/memberInputConfirm.html
+6
-6
src/main/webapp/WEB-INF/view/admin/member/memberSearch.html
+4
-4
src/main/webapp/WEB-INF/view/common/menu.vm
+10
-8
src/main/webapp/WEB-INF/view/index.html
+17
-2
src/main/webapp/WEB-INF/view/mb/user/userEdit/uEdit.html
+6
-6
src/main/webapp/WEB-INF/view/mb/user/userEdit/uEditConfirm.html
+8
-6
src/main/webapp/WEB-INF/view/sp/user/userEdit/uEdit.html
+14
-8
src/main/webapp/WEB-INF/view/sp/user/userEdit/uEditConfirm.html
+6
-4
src/main/webapp/WEB-INF/view/user/enquete/enquete.html
+8
-4
src/main/webapp/WEB-INF/view/user/top/newUserRegist.html
+154
-0
src/main/webapp/WEB-INF/view/user/userEdit/uEdit.html
+12
-13
src/main/webapp/WEB-INF/view/user/userEdit/uEditConfirm.html
+8
-6
src/main/webapp/images/logon_btn_new.png
+0
-0
src/test/java/jp/agentec/sinaburocast/service/EnqueteMailAddressTmpServiceTest.java
+1
-1
src/test/java/jp/agentec/sinaburocast/service/MemberServiceTest.java
+2
-2
No files found.
src/main/java/jp/agentec/sinaburocast/action/admin/member/DeliveryGroupSearchAction.java
View file @
7d46402a
...
...
@@ -14,6 +14,17 @@ import java.util.HashMap;
import
java.util.List
;
import
java.util.Properties
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.log4j.Logger
;
import
org.apache.struts.Globals
;
import
org.apache.struts.action.ActionMessage
;
import
org.apache.struts.action.ActionMessages
;
import
org.apache.struts.util.TokenProcessor
;
import
org.seasar.framework.util.StringUtil
;
import
org.seasar.struts.annotation.ActionForm
;
import
org.seasar.struts.annotation.Execute
;
import
org.seasar.struts.util.ResponseUtil
;
import
jp.agentec.sinaburocast.action.AbstractAction
;
import
jp.agentec.sinaburocast.common.SinaburoConstant
;
import
jp.agentec.sinaburocast.common.annotation.OperationHistoryAno
;
...
...
@@ -31,17 +42,6 @@ import jp.agentec.sinaburocast.service.DeliveryGroupService;
import
jp.agentec.sinaburocast.service.MemberService
;
import
jp.agentec.sinaburocast.service.PrefectureService
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.log4j.Logger
;
import
org.apache.struts.Globals
;
import
org.apache.struts.action.ActionMessage
;
import
org.apache.struts.action.ActionMessages
;
import
org.apache.struts.util.TokenProcessor
;
import
org.seasar.framework.util.StringUtil
;
import
org.seasar.struts.annotation.ActionForm
;
import
org.seasar.struts.annotation.Execute
;
import
org.seasar.struts.util.ResponseUtil
;
/**
*
* 配信グループ検索
...
...
@@ -362,7 +362,7 @@ public class DeliveryGroupSearchAction extends AbstractAction {
public
String
memberGroupDownload
()
throws
UnsupportedEncodingException
,
Exception
{
StringBuffer
str
=
new
StringBuffer
();
str
.
append
(
"\"会員ID\"\t\"ログインID\"\t\"パスワード\"\t\"氏\"\t\"名\"\t\"氏(カナ)\"\t\"名(カナ)\"\t\"
PCメールアドレス\"\t\"携帯メールアドレス
\"\t\"電話\"\t\"性別\"\t\""
+
str
.
append
(
"\"会員ID\"\t\"ログインID\"\t\"パスワード\"\t\"氏\"\t\"名\"\t\"氏(カナ)\"\t\"名(カナ)\"\t\"
E-mail(メイン)\"\t\"E-mail(サブ)
\"\t\"電話\"\t\"性別\"\t\""
+
"生年月日\"\t\"年代\"\t\"郵便番号\"\t\"都道府県\"\t\"市区町村\"\t\"町名・番地\"\t\"建物名\"\t\"ポイント\"\t\"メモ\"\t\"削除フラグ\"\t\"退会有無\"\t\"退会日時\"\t\"退会理由区分\"\t\"退会理由コメント\""
+
"\r\n"
);
int
offSet
=
0
;
...
...
@@ -379,12 +379,16 @@ public class DeliveryGroupSearchAction extends AbstractAction {
do
{
for
(
DeliveryGroupMember
report
:
list
)
{
str
.
append
(
"\""
+
report
.
memberId
+
"\"\t\""
+
report
.
member
.
loginId
+
"\"\t\""
+
report
.
member
.
password
+
"\"\t\""
+
report
.
member
.
firstName
+
"\"\t\""
+
report
.
member
.
lastName
+
"\"\t\""
+
report
.
member
.
firstNameKana
+
"\"\t\""
+
report
.
member
.
lastNameKana
);
str
.
append
(
"\"\t\""
+
report
.
member
.
pcEmail
+
"\"\t\""
+
report
.
member
.
mb
Email
+
"\"\t\""
+
report
.
member
.
telno
+
"\"\t\""
);
str
.
append
(
"\"\t\""
+
report
.
member
.
mainPcEmail
+
"\"\t\""
+
report
.
member
.
subPc
Email
+
"\"\t\""
+
report
.
member
.
telno
+
"\"\t\""
);
if
(
report
.
member
.
genderCd
!=
null
)
{
if
(
report
.
member
.
genderCd
==
SinaburoConstant
.
GenderType
.
MAN
)
{
if
(
report
.
member
.
genderCd
==
SinaburoConstant
.
GenderType
.
MAN
)
{
str
.
append
(
"男"
);
}
else
if
(
report
.
member
.
genderCd
==
SinaburoConstant
.
GenderType
.
WOMAN
)
{
str
.
append
(
"女"
);
}
else
if
(
report
.
member
.
genderCd
==
SinaburoConstant
.
GenderType
.
OTHERS
)
{
str
.
append
(
"その他"
);
}
else
if
(
report
.
member
.
genderCd
==
SinaburoConstant
.
GenderType
.
DO_NOT_ENTER
)
{
str
.
append
(
"入力しない"
);
}
else
{
str
.
append
(
""
);
}
...
...
src/main/java/jp/agentec/sinaburocast/action/admin/member/MemberEditAction.java
View file @
7d46402a
...
...
@@ -11,6 +11,16 @@ import java.util.List;
import
javax.mail.MessagingException
;
import
org.apache.log4j.Logger
;
import
org.apache.struts.Globals
;
import
org.apache.struts.action.ActionMessage
;
import
org.apache.struts.action.ActionMessages
;
import
org.apache.struts.util.TokenProcessor
;
import
org.seasar.framework.util.StringUtil
;
import
org.seasar.struts.annotation.ActionForm
;
import
org.seasar.struts.annotation.Execute
;
import
org.seasar.struts.util.RequestUtil
;
import
jp.agentec.sinaburocast.action.AbstractAction
;
import
jp.agentec.sinaburocast.common.SinaburoConstant
;
import
jp.agentec.sinaburocast.common.annotation.OperationHistoryAno
;
...
...
@@ -24,16 +34,6 @@ import jp.agentec.sinaburocast.form.admin.member.MemberEditForm;
import
jp.agentec.sinaburocast.service.MemberService
;
import
jp.agentec.sinaburocast.service.PrefectureService
;
import
org.apache.log4j.Logger
;
import
org.apache.struts.Globals
;
import
org.apache.struts.action.ActionMessage
;
import
org.apache.struts.action.ActionMessages
;
import
org.apache.struts.util.TokenProcessor
;
import
org.seasar.framework.util.StringUtil
;
import
org.seasar.struts.annotation.ActionForm
;
import
org.seasar.struts.annotation.Execute
;
import
org.seasar.struts.util.RequestUtil
;
/**
* @author kim-hs
* 会員情報編集
...
...
@@ -68,11 +68,11 @@ public class MemberEditAction extends AbstractAction {
memberEditForm
.
lastName
=
memberInfo
.
lastName
;
memberEditForm
.
firstNameKana
=
memberInfo
.
firstNameKana
;
memberEditForm
.
lastNameKana
=
memberInfo
.
lastNameKana
;
memberEditForm
.
pcEmail
=
memberInfo
.
p
cEmail
;
memberEditForm
.
pcEmailBefore
=
memberInfo
.
p
cEmail
;
memberEditForm
.
mainPcEmail
=
memberInfo
.
mainP
cEmail
;
memberEditForm
.
mainPcEmailBefore
=
memberInfo
.
mainP
cEmail
;
memberEditForm
.
mbEmail
=
memberInfo
.
mb
Email
;
memberEditForm
.
mbEmailBefore
=
memberInfo
.
mb
Email
;
memberEditForm
.
subPcEmail
=
memberInfo
.
subPc
Email
;
memberEditForm
.
subPcEmailBefore
=
memberInfo
.
subPc
Email
;
memberEditForm
.
password
=
memberInfo
.
password
;
memberEditForm
.
password2
=
memberInfo
.
password
;
...
...
@@ -142,7 +142,7 @@ public class MemberEditAction extends AbstractAction {
}
// メールアドレス登録チェック
if
(
StringUtil
.
isBlank
(
memberEditForm
.
pcEmail
)
&&
StringUtil
.
isBlank
(
memberEditForm
.
mb
Email
))
{
if
(
StringUtil
.
isBlank
(
memberEditForm
.
mainPcEmail
)
&&
StringUtil
.
isBlank
(
memberEditForm
.
subPc
Email
))
{
ActionMessages
messages
=
(
ActionMessages
)
request
.
getAttribute
(
Globals
.
ERROR_KEY
);
...
...
@@ -156,39 +156,39 @@ public class MemberEditAction extends AbstractAction {
}
//携帯メールチェック
if
(!
StringUtil
.
isBlank
(
memberEditForm
.
mb
Email
))
{
if
(!
SinaburoUtil
.
mobileAddressCheck
(
memberEditForm
.
mb
Email
))
{
if
(!
StringUtil
.
isBlank
(
memberEditForm
.
subPc
Email
))
{
if
(!
SinaburoUtil
.
mobileAddressCheck
(
memberEditForm
.
subPc
Email
))
{
ActionMessages
messages
=
(
ActionMessages
)
request
.
getAttribute
(
Globals
.
ERROR_KEY
);
if
(
messages
==
null
)
{
messages
=
new
ActionMessages
();
}
messages
.
add
(
"
mb
Email"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.email"
,
SinaburoViewUtil
.
getMessage
(
"labels.mbMail"
))));
messages
.
add
(
"
subPc
Email"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.email"
,
SinaburoViewUtil
.
getMessage
(
"labels.mbMail"
))));
request
.
setAttribute
(
Globals
.
ERROR_KEY
,
messages
);
return
"/admin/member/memberEdit.html"
;
}
}
//メールアドレス重複チェックPCメール
if
(!
memberEditForm
.
pcEmail
.
trim
().
equals
(
memberEditForm
.
p
cEmailBefore
))
{
if
(!
StringUtil
.
isBlank
(
memberEditForm
.
p
cEmail
))
{
if
(!
memberEditForm
.
mainPcEmail
.
trim
().
equals
(
memberEditForm
.
mainP
cEmailBefore
))
{
if
(!
StringUtil
.
isBlank
(
memberEditForm
.
mainP
cEmail
))
{
if
(
SinaburoUtil
.
mobileAddressCheck
(
memberEditForm
.
p
cEmail
))
{
if
(
SinaburoUtil
.
mobileAddressCheck
(
memberEditForm
.
mainP
cEmail
))
{
ActionMessages
messages
=
(
ActionMessages
)
request
.
getAttribute
(
Globals
.
ERROR_KEY
);
if
(
messages
==
null
)
{
messages
=
new
ActionMessages
();
}
messages
.
add
(
"
p
cEmail"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.email"
,
SinaburoViewUtil
.
getMessage
(
"labels.pcMail"
))));
messages
.
add
(
"
mainP
cEmail"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.email"
,
SinaburoViewUtil
.
getMessage
(
"labels.pcMail"
))));
request
.
setAttribute
(
Globals
.
ERROR_KEY
,
messages
);
return
"/admin/member/memberEdit.html"
;
}
memberInfo
=
memberService
.
findBy
PcEmail
(
memberEditForm
.
p
cEmail
);
memberInfo
=
memberService
.
findBy
MainPcEmail
(
memberEditForm
.
mainP
cEmail
);
if
(
memberInfo
!=
null
)
{
ActionMessages
messages
=
(
ActionMessages
)
request
.
getAttribute
(
Globals
.
ERROR_KEY
);
if
(
messages
==
null
)
{
messages
=
new
ActionMessages
();
}
messages
.
add
(
"
p
cEmail"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.E014"
)));
messages
.
add
(
"
mainP
cEmail"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.E014"
)));
request
.
setAttribute
(
Globals
.
ERROR_KEY
,
messages
);
return
"/admin/member/memberEdit.html"
;
...
...
@@ -199,14 +199,14 @@ public class MemberEditAction extends AbstractAction {
if
(
memberEditForm
.
withDrawFlgBefore
.
equals
(
SinaburoConstant
.
MemberDelFlg
.
DEL
)
&&
memberEditForm
.
withDrawFlg
.
equals
(
SinaburoConstant
.
MemberDelFlg
.
NOT_DEL
))
{
if
(!
StringUtil
.
isBlank
(
memberEditForm
.
p
cEmail
))
{
memberInfo
=
memberService
.
findBy
PcEmail
(
memberEditForm
.
p
cEmail
);
if
(!
StringUtil
.
isBlank
(
memberEditForm
.
mainP
cEmail
))
{
memberInfo
=
memberService
.
findBy
MainPcEmail
(
memberEditForm
.
mainP
cEmail
);
if
(
memberInfo
!=
null
)
{
ActionMessages
messages
=
(
ActionMessages
)
request
.
getAttribute
(
Globals
.
ERROR_KEY
);
if
(
messages
==
null
)
{
messages
=
new
ActionMessages
();
}
messages
.
add
(
"
p
cEmail"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.E014"
)+
SinaburoViewUtil
.
getMessage
(
"errors.E049"
)));
messages
.
add
(
"
mainP
cEmail"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.E014"
)+
SinaburoViewUtil
.
getMessage
(
"errors.E049"
)));
request
.
setAttribute
(
Globals
.
ERROR_KEY
,
messages
);
return
"/admin/member/memberEdit.html"
;
...
...
@@ -216,17 +216,17 @@ public class MemberEditAction extends AbstractAction {
}
//メールアドレス重複チェック携帯メール
if
(!
memberEditForm
.
mbEmail
.
trim
().
equals
(
memberEditForm
.
mb
EmailBefore
))
{
if
(!
StringUtil
.
isBlank
(
memberEditForm
.
mb
Email
))
{
if
(!
memberEditForm
.
subPcEmail
.
trim
().
equals
(
memberEditForm
.
subPc
EmailBefore
))
{
if
(!
StringUtil
.
isBlank
(
memberEditForm
.
subPc
Email
))
{
memberInfo
=
memberService
.
findBy
MoEmail
(
memberEditForm
.
mb
Email
);
memberInfo
=
memberService
.
findBy
SubPcEmail
(
memberEditForm
.
subPc
Email
);
if
(
memberInfo
!=
null
)
{
ActionMessages
messages
=
(
ActionMessages
)
request
.
getAttribute
(
Globals
.
ERROR_KEY
);
if
(
messages
==
null
)
{
messages
=
new
ActionMessages
();
}
messages
.
add
(
"
mb
Email"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.E015"
)));
messages
.
add
(
"
subPc
Email"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.E015"
)));
request
.
setAttribute
(
Globals
.
ERROR_KEY
,
messages
);
return
"/admin/member/memberEdit.html"
;
}
...
...
@@ -234,14 +234,14 @@ public class MemberEditAction extends AbstractAction {
}
if
(
memberEditForm
.
withDrawFlgBefore
.
equals
(
SinaburoConstant
.
MemberDelFlg
.
DEL
)
&&
memberEditForm
.
withDrawFlg
.
equals
(
SinaburoConstant
.
MemberDelFlg
.
NOT_DEL
))
{
if
(!
StringUtil
.
isBlank
(
memberEditForm
.
mb
Email
))
{
memberInfo
=
memberService
.
findBy
MoEmail
(
memberEditForm
.
mb
Email
.
trim
());
if
(!
StringUtil
.
isBlank
(
memberEditForm
.
subPc
Email
))
{
memberInfo
=
memberService
.
findBy
SubPcEmail
(
memberEditForm
.
subPc
Email
.
trim
());
if
(
memberInfo
!=
null
)
{
ActionMessages
messages
=
(
ActionMessages
)
request
.
getAttribute
(
Globals
.
ERROR_KEY
);
if
(
messages
==
null
)
{
messages
=
new
ActionMessages
();
}
messages
.
add
(
"
mb
Email"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.E015"
)+
SinaburoViewUtil
.
getMessage
(
"errors.E049"
)));
messages
.
add
(
"
subPc
Email"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.E015"
)+
SinaburoViewUtil
.
getMessage
(
"errors.E049"
)));
request
.
setAttribute
(
Globals
.
ERROR_KEY
,
messages
);
return
"/admin/member/memberEdit.html"
;
...
...
@@ -281,27 +281,27 @@ public class MemberEditAction extends AbstractAction {
//return "/admin/member/memberEdit.html";
}
if
(!
StringUtil
.
isBlank
(
memberEditForm
.
p
cEmail
))
{
memberInfo
=
memberService
.
findBy
PcEmail
(
memberEditForm
.
p
cEmail
);
if
(!
StringUtil
.
isBlank
(
memberEditForm
.
mainP
cEmail
))
{
memberInfo
=
memberService
.
findBy
MainPcEmail
(
memberEditForm
.
mainP
cEmail
);
if
(
memberInfo
!=
null
)
{
ActionMessages
messages
=
(
ActionMessages
)
request
.
getAttribute
(
Globals
.
ERROR_KEY
);
if
(
messages
==
null
)
{
messages
=
new
ActionMessages
();
}
messages
.
add
(
"
p
cEmail"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.E014"
)+
SinaburoViewUtil
.
getMessage
(
"errors.E049"
)));
messages
.
add
(
"
mainP
cEmail"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.E014"
)+
SinaburoViewUtil
.
getMessage
(
"errors.E049"
)));
request
.
setAttribute
(
Globals
.
ERROR_KEY
,
messages
);
err
=
true
;
//return "/admin/member/memberEdit.html";
}
}
if
(!
StringUtil
.
isBlank
(
memberEditForm
.
mb
Email
))
{
memberInfo
=
memberService
.
findBy
MoEmail
(
memberEditForm
.
mb
Email
);
if
(!
StringUtil
.
isBlank
(
memberEditForm
.
subPc
Email
))
{
memberInfo
=
memberService
.
findBy
SubPcEmail
(
memberEditForm
.
subPc
Email
);
if
(
memberInfo
!=
null
)
{
ActionMessages
messages
=
(
ActionMessages
)
request
.
getAttribute
(
Globals
.
ERROR_KEY
);
if
(
messages
==
null
)
{
messages
=
new
ActionMessages
();
}
messages
.
add
(
"
mb
Email"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.E015"
)+
SinaburoViewUtil
.
getMessage
(
"errors.E049"
)));
messages
.
add
(
"
subPc
Email"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.E015"
)+
SinaburoViewUtil
.
getMessage
(
"errors.E049"
)));
request
.
setAttribute
(
Globals
.
ERROR_KEY
,
messages
);
err
=
true
;
//return "/admin/member/memberEdit.html";
...
...
@@ -385,8 +385,8 @@ public class MemberEditAction extends AbstractAction {
member
.
lastName
=
memberEditForm
.
lastName
;
member
.
firstNameKana
=
memberEditForm
.
firstNameKana
;
member
.
lastNameKana
=
memberEditForm
.
lastNameKana
;
member
.
pcEmail
=
memberEditForm
.
p
cEmail
;
member
.
mbEmail
=
memberEditForm
.
mb
Email
;
member
.
mainPcEmail
=
memberEditForm
.
mainP
cEmail
;
member
.
subPcEmail
=
memberEditForm
.
subPc
Email
;
member
.
password
=
memberEditForm
.
password
;
member
.
password
=
memberEditForm
.
password2
;
member
.
zipCode
=
memberEditForm
.
zipCode
;
...
...
src/main/java/jp/agentec/sinaburocast/action/admin/member/MemberRegistAction.java
View file @
7d46402a
...
...
@@ -8,6 +8,15 @@ import java.text.SimpleDateFormat;
import
java.util.ArrayList
;
import
java.util.List
;
import
org.apache.log4j.Logger
;
import
org.apache.struts.Globals
;
import
org.apache.struts.action.ActionMessage
;
import
org.apache.struts.action.ActionMessages
;
import
org.apache.struts.util.TokenProcessor
;
import
org.seasar.framework.util.StringUtil
;
import
org.seasar.struts.annotation.ActionForm
;
import
org.seasar.struts.annotation.Execute
;
import
jp.agentec.sinaburocast.action.AbstractAction
;
import
jp.agentec.sinaburocast.common.SinaburoConstant
;
import
jp.agentec.sinaburocast.common.annotation.OperationHistoryAno
;
...
...
@@ -22,15 +31,6 @@ import jp.agentec.sinaburocast.service.MemberService;
import
jp.agentec.sinaburocast.service.PostalcodeService
;
import
jp.agentec.sinaburocast.service.PrefectureService
;
import
org.apache.log4j.Logger
;
import
org.apache.struts.Globals
;
import
org.apache.struts.action.ActionMessage
;
import
org.apache.struts.action.ActionMessages
;
import
org.apache.struts.util.TokenProcessor
;
import
org.seasar.framework.util.StringUtil
;
import
org.seasar.struts.annotation.ActionForm
;
import
org.seasar.struts.annotation.Execute
;
/**
*
* 会員登録
...
...
@@ -102,7 +102,7 @@ public class MemberRegistAction extends AbstractAction {
}
// メールアドレス登録チェック
if
(
StringUtil
.
isBlank
(
memberEditForm
.
pcEmail
)
&&
memberEditForm
.
mb
Email
==
""
)
{
if
(
StringUtil
.
isBlank
(
memberEditForm
.
mainPcEmail
)
&&
memberEditForm
.
subPc
Email
==
""
)
{
ActionMessages
messages
=
(
ActionMessages
)
request
.
getAttribute
(
Globals
.
ERROR_KEY
);
...
...
@@ -116,39 +116,39 @@ public class MemberRegistAction extends AbstractAction {
}
//携帯メールチェック
if
(!
StringUtil
.
isBlank
(
memberEditForm
.
mb
Email
))
{
if
(!
SinaburoUtil
.
mobileAddressCheck
(
memberEditForm
.
mb
Email
))
{
if
(!
StringUtil
.
isBlank
(
memberEditForm
.
subPc
Email
))
{
if
(!
SinaburoUtil
.
mobileAddressCheck
(
memberEditForm
.
subPc
Email
))
{
ActionMessages
messages
=
(
ActionMessages
)
request
.
getAttribute
(
Globals
.
ERROR_KEY
);
if
(
messages
==
null
)
{
messages
=
new
ActionMessages
();
}
messages
.
add
(
"
mb
Email"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.email"
,
SinaburoViewUtil
.
getMessage
(
"labels.mbMail"
))));
messages
.
add
(
"
subPc
Email"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.email"
,
SinaburoViewUtil
.
getMessage
(
"labels.mbMail"
))));
request
.
setAttribute
(
Globals
.
ERROR_KEY
,
messages
);
return
"/admin/member/memberInput.html"
;
}
}
//メールアドレス重複チェックPCメール
if
(!
memberEditForm
.
pcEmail
.
trim
().
equals
(
memberEditForm
.
p
cEmailBefore
))
{
if
(!
StringUtil
.
isBlank
(
memberEditForm
.
p
cEmail
))
{
if
(!
memberEditForm
.
mainPcEmail
.
trim
().
equals
(
memberEditForm
.
mainP
cEmailBefore
))
{
if
(!
StringUtil
.
isBlank
(
memberEditForm
.
mainP
cEmail
))
{
if
(
SinaburoUtil
.
mobileAddressCheck
(
memberEditForm
.
p
cEmail
))
{
if
(
SinaburoUtil
.
mobileAddressCheck
(
memberEditForm
.
mainP
cEmail
))
{
ActionMessages
messages
=
(
ActionMessages
)
request
.
getAttribute
(
Globals
.
ERROR_KEY
);
if
(
messages
==
null
)
{
messages
=
new
ActionMessages
();
}
messages
.
add
(
"
p
cEmail"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.email"
,
SinaburoViewUtil
.
getMessage
(
"labels.pcMail"
))));
messages
.
add
(
"
mainP
cEmail"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.email"
,
SinaburoViewUtil
.
getMessage
(
"labels.pcMail"
))));
request
.
setAttribute
(
Globals
.
ERROR_KEY
,
messages
);
return
"/admin/member/memberInput.html"
;
}
memberInfo
=
memberService
.
findBy
PcEmail
(
memberEditForm
.
p
cEmail
);
memberInfo
=
memberService
.
findBy
MainPcEmail
(
memberEditForm
.
mainP
cEmail
);
if
(
memberInfo
!=
null
)
{
ActionMessages
messages
=
(
ActionMessages
)
request
.
getAttribute
(
Globals
.
ERROR_KEY
);
if
(
messages
==
null
)
{
messages
=
new
ActionMessages
();
}
messages
.
add
(
"
p
cEmail"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.E014"
)));
messages
.
add
(
"
mainP
cEmail"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.E014"
)));
request
.
setAttribute
(
Globals
.
ERROR_KEY
,
messages
);
return
"/admin/member/memberInput.html"
;
...
...
@@ -158,17 +158,17 @@ public class MemberRegistAction extends AbstractAction {
}
//メールアドレス重複チェック携帯メール
if
(!
memberEditForm
.
mbEmail
.
trim
().
equals
(
memberEditForm
.
mb
EmailBefore
))
{
if
(!
StringUtil
.
isBlank
(
memberEditForm
.
mb
Email
))
{
if
(!
memberEditForm
.
subPcEmail
.
trim
().
equals
(
memberEditForm
.
subPc
EmailBefore
))
{
if
(!
StringUtil
.
isBlank
(
memberEditForm
.
subPc
Email
))
{
memberInfo
=
memberService
.
findBy
MoEmail
(
memberEditForm
.
mb
Email
);
memberInfo
=
memberService
.
findBy
SubPcEmail
(
memberEditForm
.
subPc
Email
);
if
(
memberInfo
!=
null
)
{
ActionMessages
messages
=
(
ActionMessages
)
request
.
getAttribute
(
Globals
.
ERROR_KEY
);
if
(
messages
==
null
)
{
messages
=
new
ActionMessages
();
}
messages
.
add
(
"
mb
Email"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.E015"
)));
messages
.
add
(
"
subPc
Email"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.E015"
)));
request
.
setAttribute
(
Globals
.
ERROR_KEY
,
messages
);
return
"/admin/member/memberInput.html"
;
}
...
...
@@ -262,8 +262,8 @@ public class MemberRegistAction extends AbstractAction {
member
.
lastName
=
memberEditForm
.
lastName
;
member
.
firstNameKana
=
memberEditForm
.
firstNameKana
;
member
.
lastNameKana
=
memberEditForm
.
lastNameKana
;
member
.
pcEmail
=
memberEditForm
.
p
cEmail
;
member
.
mbEmail
=
memberEditForm
.
mb
Email
;
member
.
mainPcEmail
=
memberEditForm
.
mainP
cEmail
;
member
.
subPcEmail
=
memberEditForm
.
subPc
Email
;
member
.
password
=
memberEditForm
.
password
;
member
.
password
=
memberEditForm
.
password2
;
member
.
zipCode
=
memberEditForm
.
zipCode
;
...
...
src/main/java/jp/agentec/sinaburocast/action/admin/member/MemberRegistAllAction.java
View file @
7d46402a
...
...
@@ -8,6 +8,16 @@ import java.io.UnsupportedEncodingException;
import
java.net.URLEncoder
;
import
java.util.List
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.io.IOUtils
;
import
org.apache.log4j.Logger
;
import
org.apache.struts.util.TokenProcessor
;
import
org.seasar.framework.util.FileUtil
;
import
org.seasar.framework.util.StringUtil
;
import
org.seasar.struts.annotation.ActionForm
;
import
org.seasar.struts.annotation.Execute
;
import
org.seasar.struts.util.ResponseUtil
;
import
jp.agentec.sinaburocast.action.AbstractAction
;
import
jp.agentec.sinaburocast.common.SinaburoConstant
;
import
jp.agentec.sinaburocast.common.annotation.OperationHistoryAno
;
...
...
@@ -21,16 +31,6 @@ import jp.agentec.sinaburocast.service.MemberService;
import
jp.agentec.sinaburocast.service.UploadErrorService
;
import
jp.agentec.sinaburocast.service.csv.CsvService
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.io.IOUtils
;
import
org.apache.log4j.Logger
;
import
org.apache.struts.util.TokenProcessor
;
import
org.seasar.framework.util.FileUtil
;
import
org.seasar.framework.util.StringUtil
;
import
org.seasar.struts.annotation.ActionForm
;
import
org.seasar.struts.annotation.Execute
;
import
org.seasar.struts.util.ResponseUtil
;
/**
* @author kim-hs
*
...
...
@@ -41,7 +41,7 @@ public class MemberRegistAllAction extends AbstractAction {
private
final
Logger
logger
=
Logger
.
getLogger
(
getClass
());
private
final
String
header
=
"\"会員ID\"\t\"ログインID\"\t\"パスワード\"\t\"氏\"\t\"名\"\t\"氏(カナ)\"\t\"名(カナ)\"\t\"
PCメールアドレス\"\t\"携帯メールアドレス
\"\t\"電話\"\t\"性別\"\t\""
+
private
final
String
header
=
"\"会員ID\"\t\"ログインID\"\t\"パスワード\"\t\"氏\"\t\"名\"\t\"氏(カナ)\"\t\"名(カナ)\"\t\"
E-mail(メイン)\"\t\"E-mail(サブ)
\"\t\"電話\"\t\"性別\"\t\""
+
"生年月日\"\t\"年代\"\t\"郵便番号\"\t\"都道府県\"\t\"市区町村\"\t\"町名・番地\"\t\"建物名\"\t\"ポイント\"\t\"メモ\"\t\"削除フラグ\"\t\"退会有無\""
+
"\r\n"
;
@ActionForm
...
...
src/main/java/jp/agentec/sinaburocast/action/user/PointUseAction.java
View file @
7d46402a
...
...
@@ -76,7 +76,7 @@ public class PointUseAction extends AbstractAction {
if
(
StringUtil
.
isBlank
(
member
.
zipCode
)
||
member
.
prefectureId
==
null
||
StringUtil
.
isBlank
(
member
.
cityName
)
||
StringUtil
.
isBlank
(
member
.
areaName
)
||
StringUtil
.
isBlank
(
member
.
telno
)
||
StringUtil
.
isBlank
(
member
.
firstName
)
||
StringUtil
.
isBlank
(
member
.
lastName
)
||
StringUtil
.
isBlank
(
member
.
firstNameKana
)
||
StringUtil
.
isBlank
(
member
.
lastNameKana
)
||
member
.
genderCd
==
null
||
StringUtil
.
isBlank
(
member
.
birthday
))
{
||
StringUtil
.
isBlank
(
member
.
birthday
))
{
ActionMessages
messages
=
(
ActionMessages
)
request
.
getAttribute
(
Globals
.
ERROR_KEY
);
...
...
@@ -277,11 +277,11 @@ public class PointUseAction extends AbstractAction {
//メール送信
try
{
Message
message
=
messageService
.
findById
(
SinaburoConstant
.
MessageCode
.
MEMBER_CARD_RECEIPT
);
if
(!
StringUtil
.
isBlank
(
member
.
p
cEmail
))
{
MailUtil
.
send
(
member
.
p
cEmail
,
PropertyUtil
.
getProperty
(
"MEMBER_CARD_RECEIPT_MAIL_TITLE"
),
message
.
message
);
if
(!
StringUtil
.
isBlank
(
member
.
mainP
cEmail
))
{
MailUtil
.
send
(
member
.
mainP
cEmail
,
PropertyUtil
.
getProperty
(
"MEMBER_CARD_RECEIPT_MAIL_TITLE"
),
message
.
message
);
}
if
(!
StringUtil
.
isBlank
(
member
.
mb
Email
))
{
MailUtil
.
send
(
member
.
mb
Email
,
PropertyUtil
.
getProperty
(
"MEMBER_CARD_RECEIPT_MAIL_TITLE"
),
message
.
message
);
if
(!
StringUtil
.
isBlank
(
member
.
subPc
Email
))
{
MailUtil
.
send
(
member
.
subPc
Email
,
PropertyUtil
.
getProperty
(
"MEMBER_CARD_RECEIPT_MAIL_TITLE"
),
message
.
message
);
}
}
catch
(
MessagingException
e
)
{
logger
.
warn
(
"Mail send failed."
+
e
.
toString
());
...
...
@@ -333,11 +333,11 @@ public class PointUseAction extends AbstractAction {
}
else
{
giftExchangeInfo
=
giftExchangeInfoService
.
findGiftExchangeInfoById
(
SinaburoConstant
.
giftType
.
ICHICO
);
}
if
(!
StringUtil
.
isBlank
(
member
.
p
cEmail
))
{
MailUtil
.
send
(
member
.
p
cEmail
,
PropertyUtil
.
getProperty
(
"POINT_USE_MAIL_TITLE"
),
giftExchangeInfo
.
mailBody
);
if
(!
StringUtil
.
isBlank
(
member
.
mainP
cEmail
))
{
MailUtil
.
send
(
member
.
mainP
cEmail
,
PropertyUtil
.
getProperty
(
"POINT_USE_MAIL_TITLE"
),
giftExchangeInfo
.
mailBody
);
}
if
(!
StringUtil
.
isBlank
(
member
.
mb
Email
))
{
MailUtil
.
send
(
member
.
mb
Email
,
PropertyUtil
.
getProperty
(
"POINT_USE_MAIL_TITLE"
),
giftExchangeInfo
.
mailBody
);
if
(!
StringUtil
.
isBlank
(
member
.
subPc
Email
))
{
MailUtil
.
send
(
member
.
subPc
Email
,
PropertyUtil
.
getProperty
(
"POINT_USE_MAIL_TITLE"
),
giftExchangeInfo
.
mailBody
);
}
}
catch
(
MessagingException
e
)
{
logger
.
warn
(
"Mail send failed."
+
e
.
toString
());
...
...
src/main/java/jp/agentec/sinaburocast/action/user/RegistAction.java
View file @
7d46402a
...
...
@@ -106,9 +106,9 @@ public class RegistAction extends AbstractAction {
List
<
Member
>
memberList
=
new
ArrayList
<
Member
>();
if
(
SinaburoUtil
.
mobileAddressCheck
(
registForm
.
email
))
{
member
.
mb
Email
=
registForm
.
email
;
member
.
subPc
Email
=
registForm
.
email
;
}
else
{
member
.
p
cEmail
=
registForm
.
email
;
member
.
mainP
cEmail
=
registForm
.
email
;
}
String
id
=
RandomStringUtils
.
randomAlphanumeric
(
6
);
...
...
@@ -228,9 +228,9 @@ public class RegistAction extends AbstractAction {
// 登録済みのメールアドレスチェック
Member
memberInfo
=
null
;
if
(
SinaburoUtil
.
mobileAddressCheck
(
registForm
.
email
))
{
memberInfo
=
memberService
.
findBy
Mo
Email
(
registForm
.
email
);
memberInfo
=
memberService
.
findBy
SubPc
Email
(
registForm
.
email
);
}
else
{
memberInfo
=
memberService
.
findByPcEmail
(
registForm
.
email
);
memberInfo
=
memberService
.
findBy
Main
PcEmail
(
registForm
.
email
);
}
if
(
memberInfo
!=
null
)
{
...
...
src/main/java/jp/agentec/sinaburocast/action/user/TopAction.java
View file @
7d46402a
package
jp
.
agentec
.
sinaburocast
.
action
.
user
;
import
org.apache.log4j.Logger
;
import
org.seasar.struts.annotation.ActionForm
;
import
org.seasar.struts.annotation.Execute
;
import
jp.agentec.sinaburocast.action.AbstractAction
;
import
jp.agentec.sinaburocast.common.annotation.NoLogin
;
import
jp.agentec.sinaburocast.form.user.TopForm
;
import
jp.agentec.sinaburocast.service.TestService
;
import
org.apache.log4j.Logger
;
import
org.seasar.struts.annotation.ActionForm
;
import
org.seasar.struts.annotation.Execute
;
@NoLogin
public
class
TopAction
extends
AbstractAction
{
private
final
Logger
logger
=
Logger
.
getLogger
(
getClass
());
...
...
@@ -86,5 +86,11 @@ public class TopAction extends AbstractAction {
return
"/user/top/faq.html"
;
}
@Execute
(
validator
=
false
)
public
String
newUserRegist
()
{
return
"/user/top/newUserRegist.html"
;
}
}
src/main/java/jp/agentec/sinaburocast/action/user/UserEditAction.java
View file @
7d46402a
...
...
@@ -68,8 +68,8 @@ public class UserEditAction extends AbstractAction {
userEditForm
.
lastName
=
memberInfo
.
lastName
;
userEditForm
.
firstNameKana
=
memberInfo
.
firstNameKana
;
userEditForm
.
lastNameKana
=
memberInfo
.
lastNameKana
;
userEditForm
.
pcEmail
=
memberInfo
.
p
cEmail
;
userEditForm
.
mbEmail
=
memberInfo
.
mb
Email
;
userEditForm
.
mainPcEmail
=
memberInfo
.
mainP
cEmail
;
userEditForm
.
subPcEmail
=
memberInfo
.
subPc
Email
;
userEditForm
.
password
=
memberInfo
.
password
;
userEditForm
.
password2
=
memberInfo
.
password
;
...
...
@@ -169,7 +169,7 @@ public class UserEditAction extends AbstractAction {
Member
memberInfo
=
null
;
// メールアドレス登録チェック
if
(
StringUtil
.
isBlank
(
userEditForm
.
pcEmail
)
&&
StringUtil
.
isBlank
(
userEditForm
.
mb
Email
))
{
if
(
StringUtil
.
isBlank
(
userEditForm
.
mainPc
Email
))
{
ActionMessages
messages
=
(
ActionMessages
)
request
.
getAttribute
(
Globals
.
ERROR_KEY
);
...
...
@@ -183,59 +183,44 @@ public class UserEditAction extends AbstractAction {
}
//携帯メールチェック
if
(!
StringUtil
.
isBlank
(
userEditForm
.
mbEmail
))
{
if
(!
SinaburoUtil
.
mobileAddressCheck
(
userEditForm
.
mbEmail
))
{
// if (!StringUtil.isBlank(userEditForm.subPcEmail)) {
// if (!SinaburoUtil.mobileAddressCheck(userEditForm.subPcEmail)) {
// ActionMessages messages = (ActionMessages)request.getAttribute(Globals.ERROR_KEY);
// if (messages == null) {
// messages = new ActionMessages();
// }
// messages.add("subPcEmail", new ActionMessage(SinaburoViewUtil.getMessage("errors.email",SinaburoViewUtil.getMessage("labels.mbMail"))));
// request.setAttribute(Globals.ERROR_KEY, messages);
// return "/user/userEdit/uEdit.html";
// }
// }
//メールアドレス重複チェックPCメール
if
(!
userEditForm
.
mainPcEmail
.
trim
().
equals
(
memberInfoSession
.
mainPcEmail
))
{
memberInfo
=
memberService
.
findByMainPcEmail
(
userEditForm
.
mainPcEmail
);
if
(
memberInfo
!=
null
)
{
ActionMessages
messages
=
(
ActionMessages
)
request
.
getAttribute
(
Globals
.
ERROR_KEY
);
if
(
messages
==
null
)
{
messages
=
new
ActionMessages
();
}
messages
.
add
(
"m
bEmail"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.email"
,
SinaburoViewUtil
.
getMessage
(
"labels.mbMail"
)
)));
messages
.
add
(
"m
ainPcEmail"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.E014"
)));
request
.
setAttribute
(
Globals
.
ERROR_KEY
,
messages
);
return
"/user/userEdit/uEdit.html"
;
}
}
//メールアドレス重複チェックPCメール
if
(!
userEditForm
.
pcEmail
.
trim
().
equals
(
memberInfoSession
.
pcEmail
))
{
if
(!
StringUtil
.
isBlank
(
userEditForm
.
pcEmail
))
{
if
(
SinaburoUtil
.
mobileAddressCheck
(
userEditForm
.
pcEmail
))
{
ActionMessages
messages
=
(
ActionMessages
)
request
.
getAttribute
(
Globals
.
ERROR_KEY
);
if
(
messages
==
null
)
{
messages
=
new
ActionMessages
();
}
messages
.
add
(
"pcEmail"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.email"
,
SinaburoViewUtil
.
getMessage
(
"labels.pcMail"
))));
request
.
setAttribute
(
Globals
.
ERROR_KEY
,
messages
);
return
"/user/userEdit/uEdit.html"
;
}
memberInfo
=
memberService
.
findByPcEmail
(
userEditForm
.
pcEmail
);
if
(
memberInfo
!=
null
)
{
ActionMessages
messages
=
(
ActionMessages
)
request
.
getAttribute
(
Globals
.
ERROR_KEY
);
if
(
messages
==
null
)
{
messages
=
new
ActionMessages
();
}
messages
.
add
(
"pcEmail"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.E014"
)));
request
.
setAttribute
(
Globals
.
ERROR_KEY
,
messages
);
return
"/user/userEdit/uEdit.html"
;
}
return
"/user/userEdit/uEdit.html"
;
}
}
//メールアドレス重複チェック携帯メール
if
(!
userEditForm
.
mbEmail
.
trim
().
equals
(
memberInfoSession
.
mbEmail
))
{
if
(!
StringUtil
.
isBlank
(
userEditForm
.
mbEmail
))
{
memberInfo
=
memberService
.
findByMoEmail
(
userEditForm
.
mbEmail
);
if
(!
userEditForm
.
subPcEmail
.
trim
().
equals
(
memberInfoSession
.
subPcEmail
))
{
if
(!
StringUtil
.
isBlank
(
userEditForm
.
subPcEmail
))
{
memberInfo
=
memberService
.
findBySubPcEmail
(
userEditForm
.
subPcEmail
);
if
(
memberInfo
!=
null
)
{
ActionMessages
messages
=
(
ActionMessages
)
request
.
getAttribute
(
Globals
.
ERROR_KEY
);
if
(
messages
==
null
)
{
messages
=
new
ActionMessages
();
}
messages
.
add
(
"
mb
Email"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.E015"
)));
messages
.
add
(
"
subPc
Email"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.E015"
)));
request
.
setAttribute
(
Globals
.
ERROR_KEY
,
messages
);
return
"/user/userEdit/uEdit.html"
;
}
...
...
@@ -444,8 +429,8 @@ public class UserEditAction extends AbstractAction {
member
.
lastName
=
userEditForm
.
lastName
;
member
.
firstNameKana
=
userEditForm
.
firstNameKana
;
member
.
lastNameKana
=
userEditForm
.
lastNameKana
;
member
.
pcEmail
=
userEditForm
.
p
cEmail
;
member
.
mbEmail
=
userEditForm
.
mb
Email
;
member
.
mainPcEmail
=
userEditForm
.
mainP
cEmail
;
member
.
subPcEmail
=
userEditForm
.
subPc
Email
;
member
.
password
=
userEditForm
.
password
;
member
.
password
=
userEditForm
.
password2
;
member
.
zipCode
=
userEditForm
.
zipCode
;
...
...
src/main/java/jp/agentec/sinaburocast/common/SinaburoConstant.java
View file @
7d46402a
...
...
@@ -122,6 +122,13 @@ public interface SinaburoConstant {
/** 女性 */
int
WOMAN
=
1
;
/** その他 */
int
OTHERS
=
2
;
/** 入力しない */
int
DO_NOT_ENTER
=
3
;
}
/**
...
...
src/main/java/jp/agentec/sinaburocast/csv/MemberInfoCsv.java
View file @
7d46402a
...
...
@@ -10,13 +10,6 @@ import java.util.List;
import
javax.servlet.http.HttpServletRequest
;
import
jp.agentec.sinaburocast.common.util.SinaburoUtil
;
import
jp.agentec.sinaburocast.common.util.SinaburoViewUtil
;
import
jp.agentec.sinaburocast.entity.Member
;
import
jp.agentec.sinaburocast.entity.Prefecture
;
import
jp.agentec.sinaburocast.service.MemberService
;
import
jp.agentec.sinaburocast.service.PrefectureService
;
import
org.seasar.framework.util.StringUtil
;
import
org.seasar.s2csv.csv.annotation.CSVValidator
;
import
org.seasar.s2csv.csv.annotation.column.CSVColumn
;
...
...
@@ -28,6 +21,13 @@ import org.seasar.s2csv.csv.annotation.entity.CSVRecordValidator;
import
org.seasar.s2csv.csv.exception.runtime.CSVValidationException
;
import
org.seasar.struts.util.RequestUtil
;
import
jp.agentec.sinaburocast.common.util.SinaburoUtil
;
import
jp.agentec.sinaburocast.common.util.SinaburoViewUtil
;
import
jp.agentec.sinaburocast.entity.Member
;
import
jp.agentec.sinaburocast.entity.Prefecture
;
import
jp.agentec.sinaburocast.service.MemberService
;
import
jp.agentec.sinaburocast.service.PrefectureService
;
/**
* @author kim-hs
*
...
...
@@ -41,8 +41,8 @@ public class MemberInfoCsv extends AbstractCsv {
private
int
checkMemberId
;
private
String
checkLoginId
;
private
String
checkPcEmail
;
private
String
check
Mb
Email
;
private
String
check
Main
PcEmail
;
private
String
check
SubPc
Email
;
private
int
checkDelFlg
;
...
...
@@ -83,15 +83,15 @@ public class MemberInfoCsv extends AbstractCsv {
@CSVMaxLength
(
maxlength
=
64
)
@CSVMask
(
mask
=
"^[!-~]+@[!-~]+$"
)
@CSVValidator
(
msgKey
=
"errors.
pcEmail"
,
method
=
"validatep
cEmail"
)
@CSVColumn
(
columnIndex
=
7
,
columnName
=
"
PCメールアドレス
"
)
public
String
p
cEmail
;
@CSVValidator
(
msgKey
=
"errors.
mainPcEmail"
,
method
=
"validateMainP
cEmail"
)
@CSVColumn
(
columnIndex
=
7
,
columnName
=
"
E-mail(メイン)
"
)
public
String
mainP
cEmail
;
@CSVMaxLength
(
maxlength
=
64
)
@CSVMask
(
mask
=
"^[!-~]+@[!-~]+$"
)
@CSVValidator
(
msgKey
=
"errors.
mbEmail"
,
method
=
"validatemb
Email"
)
@CSVColumn
(
columnIndex
=
8
,
columnName
=
"
携帯メールアドレス
"
)
public
String
mb
Email
;
@CSVValidator
(
msgKey
=
"errors.
subPcEmail"
,
method
=
"validateSubPc
Email"
)
@CSVColumn
(
columnIndex
=
8
,
columnName
=
"
E-mail(サブ)
"
)
public
String
subPc
Email
;
@CSVMask
(
mask
=
"^[0-9]{8,20}$"
)
@CSVColumn
(
columnIndex
=
9
,
columnName
=
"電話番号"
)
...
...
@@ -268,15 +268,15 @@ public class MemberInfoCsv extends AbstractCsv {
return
true
;
}
public
boolean
validate
p
cEmail
(
String
args
)
{
// PCメールアドレスの検証は削除フラグの検証で行う
checkPcEmail
=
args
;
public
boolean
validate
MainP
cEmail
(
String
args
)
{
//
メイン
PCメールアドレスの検証は削除フラグの検証で行う
check
Main
PcEmail
=
args
;
return
true
;
}
public
boolean
validate
mb
Email
(
String
args
)
{
//
携帯
メールアドレスの検証は削除フラグの検証で行う
check
Mb
Email
=
args
;
public
boolean
validate
SubPc
Email
(
String
args
)
{
//
サブPC
メールアドレスの検証は削除フラグの検証で行う
check
SubPc
Email
=
args
;
return
true
;
}
...
...
@@ -319,31 +319,31 @@ public class MemberInfoCsv extends AbstractCsv {
}
// PCメールチェック
if
(!
StringUtil
.
isBlank
(
checkPcEmail
))
{
memberInfo
=
memberService
.
findBy
PcEmail
(
check
PcEmail
);
//
メイン
PCメールチェック
if
(!
StringUtil
.
isBlank
(
check
Main
PcEmail
))
{
memberInfo
=
memberService
.
findBy
MainPcEmail
(
checkMain
PcEmail
);
if
(
memberInfo
!=
null
){
if
(!
memberInfo
.
memberId
.
equals
(
checkMemberId
))
{
errorMessage
.
append
(
SinaburoViewUtil
.
getMessage
(
"errors.E014"
));
}
}
if
(
SinaburoUtil
.
mobileAddressCheck
(
checkPcEmail
))
{
if
(
SinaburoUtil
.
mobileAddressCheck
(
check
Main
PcEmail
))
{
errorMessage
.
append
(
SinaburoViewUtil
.
getMessage
(
"errors.email"
,
SinaburoViewUtil
.
getMessage
(
"labels.pcMail"
)));
}
}
//
携帯
メールチェック
if
(!
StringUtil
.
isBlank
(
check
Mb
Email
))
{
memberInfo
=
memberService
.
findBy
MoEmail
(
checkMb
Email
);
//
サブPC
メールチェック
if
(!
StringUtil
.
isBlank
(
check
SubPc
Email
))
{
memberInfo
=
memberService
.
findBy
SubPcEmail
(
checkSubPc
Email
);
if
(
memberInfo
!=
null
){
if
(!
memberInfo
.
memberId
.
equals
(
checkMemberId
))
{
errorMessage
.
append
(
SinaburoViewUtil
.
getMessage
(
"errors.E015"
));
}
}
if
(!
SinaburoUtil
.
mobileAddressCheck
(
check
Mb
Email
))
{
if
(!
SinaburoUtil
.
mobileAddressCheck
(
check
SubPc
Email
))
{
errorMessage
.
append
(
SinaburoViewUtil
.
getMessage
(
"errors.email"
,
SinaburoViewUtil
.
getMessage
(
"labels.mbMail"
)));
}
}
...
...
src/main/java/jp/agentec/sinaburocast/csv/MemberMigrationInfoCsv.java
View file @
7d46402a
...
...
@@ -11,12 +11,6 @@ import java.util.List;
import
javax.servlet.http.HttpServletRequest
;
import
jp.agentec.sinaburocast.common.SinaburoConstant
;
import
jp.agentec.sinaburocast.entity.Member
;
import
jp.agentec.sinaburocast.entity.Prefecture
;
import
jp.agentec.sinaburocast.service.MemberService
;
import
jp.agentec.sinaburocast.service.PrefectureService
;
import
org.seasar.framework.util.StringUtil
;
import
org.seasar.s2csv.csv.annotation.CSVValidator
;
import
org.seasar.s2csv.csv.annotation.column.CSVColumn
;
...
...
@@ -28,6 +22,12 @@ import org.seasar.s2csv.csv.annotation.entity.CSVRecordValidator;
import
org.seasar.s2csv.csv.exception.runtime.CSVValidationException
;
import
org.seasar.struts.util.RequestUtil
;
import
jp.agentec.sinaburocast.common.SinaburoConstant
;
import
jp.agentec.sinaburocast.entity.Member
;
import
jp.agentec.sinaburocast.entity.Prefecture
;
import
jp.agentec.sinaburocast.service.MemberService
;
import
jp.agentec.sinaburocast.service.PrefectureService
;
/**
* @author choi-c
*
...
...
@@ -78,16 +78,16 @@ public class MemberMigrationInfoCsv extends AbstractCsv {
@CSVMaxLength
(
maxlength
=
64
)
@CSVValidator
(
msgKey
=
"errors.
pcEmail"
,
method
=
"validatep
cEmail"
)
@CSVValidator
(
msgKey
=
"errors.
mainPcEmail"
,
method
=
"validateMainP
cEmail"
)
@CSVMask
(
mask
=
"^[!-~]+@[!-~]+$"
)
@CSVColumn
(
columnIndex
=
9
,
columnName
=
"メールアドレス(PC)"
)
public
String
p
cEmail
;
public
String
mainP
cEmail
;
@CSVMaxLength
(
maxlength
=
64
)
@CSVValidator
(
msgKey
=
"errors.
mbEmail"
,
method
=
"validatemb
Email"
)
@CSVValidator
(
msgKey
=
"errors.
subPcEmail"
,
method
=
"validateSubPc
Email"
)
@CSVMask
(
mask
=
"^[!-~]+@[!-~]+$"
)
@CSVColumn
(
columnIndex
=
10
,
columnName
=
"メールアドレス(
携帯
)"
)
public
String
mb
Email
;
@CSVColumn
(
columnIndex
=
10
,
columnName
=
"メールアドレス(
サブPC
)"
)
public
String
subPc
Email
;
@CSVValidator
(
msgKey
=
"errors.prefecture"
,
method
=
"validatezipCode"
)
//@CSVMask(mask = "^[0-9]{7}$")
...
...
@@ -203,6 +203,10 @@ public class MemberMigrationInfoCsv extends AbstractCsv {
genderCd
=
SinaburoConstant
.
GenderType
.
MAN
;
}
else
if
(
args
.
equals
(
"女性"
))
{
genderCd
=
SinaburoConstant
.
GenderType
.
WOMAN
;
}
else
if
(
args
.
equals
(
"その他"
))
{
genderCd
=
SinaburoConstant
.
GenderType
.
OTHERS
;
}
else
if
(
args
.
equals
(
"入力しない"
))
{
genderCd
=
SinaburoConstant
.
GenderType
.
DO_NOT_ENTER
;
}
else
{
genderCd
=
null
;
}
...
...
@@ -269,7 +273,7 @@ public class MemberMigrationInfoCsv extends AbstractCsv {
//
// }
public
boolean
validate
p
cEmail
(
String
args
)
{
public
boolean
validate
MainP
cEmail
(
String
args
)
{
boolean
result
=
false
;
...
...
@@ -277,13 +281,13 @@ public class MemberMigrationInfoCsv extends AbstractCsv {
if
(
StringUtil
.
isBlank
(
args
))
return
true
;
memberInfo
=
memberService
.
findByPcEmail
(
args
);
memberInfo
=
memberService
.
findBy
Main
PcEmail
(
args
);
if
(
memberInfo
!=
null
)
{
if
(
StringUtil
.
isBlank
(
args
))
{
result
=
false
;
throw
new
CSVValidationException
(
"errors.
p
cEmail"
,
"errors.
mainP
cEmail"
,
new
Object
[]{
"costom validation error"
}
);
}
...
...
@@ -293,7 +297,7 @@ public class MemberMigrationInfoCsv extends AbstractCsv {
}
result
=
false
;
throw
new
CSVValidationException
(
"errors.
p
cEmail"
,
"errors.
mainP
cEmail"
,
new
Object
[]{
"costom validation error"
}
);
}
...
...
@@ -311,7 +315,7 @@ public class MemberMigrationInfoCsv extends AbstractCsv {
return
result
;
}
public
boolean
validate
mb
Email
(
String
args
)
{
public
boolean
validate
SubPc
Email
(
String
args
)
{
boolean
result
=
false
;
...
...
@@ -319,13 +323,13 @@ public class MemberMigrationInfoCsv extends AbstractCsv {
if
(
StringUtil
.
isBlank
(
args
))
return
true
;
memberInfo
=
memberService
.
findBy
Mo
Email
(
args
);
memberInfo
=
memberService
.
findBy
SubPc
Email
(
args
);
if
(
memberInfo
!=
null
)
{
if
(
StringUtil
.
isBlank
(
args
))
{
result
=
false
;
throw
new
CSVValidationException
(
"errors.
mb
Email"
,
"errors.
subPc
Email"
,
new
Object
[]{
"costom validation error"
}
);
}
...
...
@@ -334,7 +338,7 @@ public class MemberMigrationInfoCsv extends AbstractCsv {
}
result
=
false
;
throw
new
CSVValidationException
(
"errors.
mb
Email"
,
"errors.
subPc
Email"
,
new
Object
[]{
"costom validation error"
}
);
}
...
...
src/main/java/jp/agentec/sinaburocast/entity/Member.java
View file @
7d46402a
...
...
@@ -45,11 +45,11 @@ public class Member extends AbstractEntity {
@Column
(
name
=
"last_name_kana"
)
public
String
lastNameKana
;
@Column
(
name
=
"pc_email"
)
public
String
p
cEmail
;
@Column
(
name
=
"
main_
pc_email"
)
public
String
mainP
cEmail
;
@Column
(
name
=
"
mb
_email"
)
public
String
mb
Email
;
@Column
(
name
=
"
sub_pc
_email"
)
public
String
subPc
Email
;
@Column
(
name
=
"zip_code"
)
public
String
zipCode
;
...
...
src/main/java/jp/agentec/sinaburocast/form/admin/member/MemberEditForm.java
View file @
7d46402a
...
...
@@ -53,12 +53,12 @@ public class MemberEditForm {
//@Required(msg=@Msg(key="errors.required"), arg0=@Arg(key="labels.pcMail"))
@Maxlength
(
maxlength
=
64
,
msg
=
@Msg
(
key
=
"errors.maxlength"
),
arg0
=
@Arg
(
key
=
"labels.pcMail"
))
@Mask
(
mask
=
"^[!-~]+@[!-~]+$"
,
msg
=
@Msg
(
key
=
"errors.email"
),
arg0
=
@Arg
(
key
=
"labels.pcMail"
))
public
String
p
cEmail
;
public
String
mainP
cEmail
;
//@Required(msg=@Msg(key="errors.required"), arg0=@Arg(key="labels.mbMail"))
@Maxlength
(
maxlength
=
64
,
msg
=
@Msg
(
key
=
"errors.maxlength"
),
arg0
=
@Arg
(
key
=
"labels.mbMail"
))
@Mask
(
mask
=
"^[!-~]+@[!-~]+$"
,
msg
=
@Msg
(
key
=
"errors.email"
),
arg0
=
@Arg
(
key
=
"labels.mbMail"
))
public
String
mb
Email
;
public
String
subPc
Email
;
@Mask
(
mask
=
"^[0-9]{7}$"
,
msg
=
@Msg
(
key
=
"errors.invalid"
),
arg0
=
@Arg
(
key
=
"labels.zipCode"
))
public
String
zipCode
;
...
...
@@ -96,8 +96,8 @@ public class MemberEditForm {
public
String
withDrawFlg
;
public
String
loginIdBefore
;
public
String
p
cEmailBefore
;
public
String
mb
EmailBefore
;
public
String
mainP
cEmailBefore
;
public
String
subPc
EmailBefore
;
public
String
withDrawFlgBefore
;
@Override
...
...
src/main/java/jp/agentec/sinaburocast/form/admin/member/MemberSearchForm.java
View file @
7d46402a
...
...
@@ -4,8 +4,6 @@
package
jp
.
agentec
.
sinaburocast
.
form
.
admin
.
member
;
import
jp.agentec.sinaburocast.form.admin.setting.PagingForm
;
import
org.apache.commons.lang.builder.StandardToStringStyle
;
import
org.apache.commons.lang.builder.ToStringBuilder
;
import
org.seasar.framework.container.annotation.tiger.Component
;
...
...
@@ -15,6 +13,8 @@ import org.seasar.struts.annotation.Mask;
import
org.seasar.struts.annotation.Maxlength
;
import
org.seasar.struts.annotation.Msg
;
import
jp.agentec.sinaburocast.form.admin.setting.PagingForm
;
/**
* @author kim-hs
*
...
...
@@ -36,9 +36,12 @@ public class MemberSearchForm extends PagingForm{
public
String
lastNameKana
;
public
String
p
cEmail
;
public
String
mainP
cEmail
;
public
String
mbEmail
;
public
String
subPcEmail
;
// メイン、サブいずれか含む検索
public
String
searchPcEmail
;
@Mask
(
mask
=
"^[0-9]{7}$"
,
msg
=
@Msg
(
key
=
"errors.zipcode"
),
arg0
=
@Arg
(
key
=
"labels.zipCode.from"
),
target
=
"memberSearchResult"
)
public
String
zipCode
;
...
...
@@ -93,8 +96,9 @@ public class MemberSearchForm extends PagingForm{
lastName
=
null
;
firstNameKana
=
null
;
lastNameKana
=
null
;
pcEmail
=
null
;
mbEmail
=
null
;
mainPcEmail
=
null
;
subPcEmail
=
null
;
searchPcEmail
=
null
;
zipCode
=
null
;
zipCode1
=
null
;
pageNo
=
1
;
...
...
src/main/java/jp/agentec/sinaburocast/form/user/UserEditForm.java
View file @
7d46402a
...
...
@@ -41,14 +41,18 @@ public class UserEditForm {
public
String
lastNameKana
;
//@Required(msg=@Msg(key="errors.required"), arg0=@Arg(key="labels.pcMail"))
@Maxlength
(
maxlength
=
64
,
msg
=
@Msg
(
key
=
"errors.maxlength"
),
arg0
=
@Arg
(
key
=
"labels.
p
cMail"
))
@Mask
(
mask
=
"^[!-~]+@[!-~]+$"
,
msg
=
@Msg
(
key
=
"errors.email"
),
arg0
=
@Arg
(
key
=
"labels.
p
cMail"
))
public
String
p
cEmail
;
@Maxlength
(
maxlength
=
64
,
msg
=
@Msg
(
key
=
"errors.maxlength"
),
arg0
=
@Arg
(
key
=
"labels.
mainP
cMail"
))
@Mask
(
mask
=
"^[!-~]+@[!-~]+$"
,
msg
=
@Msg
(
key
=
"errors.email"
),
arg0
=
@Arg
(
key
=
"labels.
mainP
cMail"
))
public
String
mainP
cEmail
;
//@Required(msg=@Msg(key="errors.required"), arg0=@Arg(key="labels.mbMail"))
@Maxlength
(
maxlength
=
64
,
msg
=
@Msg
(
key
=
"errors.maxlength"
),
arg0
=
@Arg
(
key
=
"labels.mbMail"
))
@Mask
(
mask
=
"^[!-~]+@[!-~]+$"
,
msg
=
@Msg
(
key
=
"errors.email"
),
arg0
=
@Arg
(
key
=
"labels.mbMail"
))
public
String
mbEmail
;
@Maxlength
(
maxlength
=
64
,
msg
=
@Msg
(
key
=
"errors.maxlength"
),
arg0
=
@Arg
(
key
=
"labels.subPcMail"
))
@Mask
(
mask
=
"^[!-~]+@[!-~]+$"
,
msg
=
@Msg
(
key
=
"errors.email"
),
arg0
=
@Arg
(
key
=
"labels.subPcMail"
))
public
String
subPcEmail
;
@Maxlength
(
maxlength
=
64
,
msg
=
@Msg
(
key
=
"errors.maxlength"
),
arg0
=
@Arg
(
key
=
"labels.email"
))
@Mask
(
mask
=
"^[!-~]+@[!-~]+$"
,
msg
=
@Msg
(
key
=
"errors.email"
),
arg0
=
@Arg
(
key
=
"labels.email"
))
public
String
searchPcEmail
;
@Required
(
msg
=
@Msg
(
key
=
"errors.required"
),
arg0
=
@Arg
(
key
=
"labels.zipCode"
),
target
=
"addrSearchUseMb"
)
@Mask
(
mask
=
"^[0-9]{7}$"
,
msg
=
@Msg
(
key
=
"errors.invalid"
),
arg0
=
@Arg
(
key
=
"labels.zipCode"
))
...
...
src/main/java/jp/agentec/sinaburocast/logic/MemberRegisterBatchLogic.java
View file @
7d46402a
...
...
@@ -112,9 +112,9 @@ public class MemberRegisterBatchLogic {
private
void
sendRegisterMail
(
String
email
)
throws
Exception
{
Member
member
;
if
(
SinaburoUtil
.
mobileAddressCheck
(
email
))
{
member
=
memberService
.
findBy
Mo
Email
(
email
);
member
=
memberService
.
findBy
SubPc
Email
(
email
);
}
else
{
member
=
memberService
.
findByPcEmail
(
email
);
member
=
memberService
.
findBy
Main
PcEmail
(
email
);
}
if
(
member
!=
null
)
{
// すでに登録されている場合のメール送信
...
...
@@ -144,11 +144,11 @@ public class MemberRegisterBatchLogic {
List
<
Member
>
memberList
=
new
ArrayList
<
Member
>();
if
(
SinaburoUtil
.
mobileAddressCheck
(
email
))
{
member
.
mb
Email
=
email
;
memberInfo
=
memberService
.
findBy
Mo
Email
(
email
);
member
.
subPc
Email
=
email
;
memberInfo
=
memberService
.
findBy
SubPc
Email
(
email
);
}
else
{
member
.
p
cEmail
=
email
;
memberInfo
=
memberService
.
findByPcEmail
(
email
);
member
.
mainP
cEmail
=
email
;
memberInfo
=
memberService
.
findBy
Main
PcEmail
(
email
);
}
if
(
memberInfo
==
null
)
{
...
...
src/main/java/jp/agentec/sinaburocast/service/EnqueteMailAddressTmpService.java
View file @
7d46402a
...
...
@@ -31,8 +31,8 @@ public class EnqueteMailAddressTmpService extends AbstractService<EnqueteMailAdd
for
(
EnqueteMailAddressTmp
address
:
select
().
where
(
new
SimpleWhere
().
eq
(
"enqueteMailId"
,
enqueteMailId
)).
getResultList
())
{
DeliveryGroupMember
deliveryGroupMember
=
new
DeliveryGroupMember
();
Member
member
=
new
Member
();
member
.
p
cEmail
=
address
.
email
;
member
.
mb
Email
=
address
.
email
;
member
.
mainP
cEmail
=
address
.
email
;
member
.
subPc
Email
=
address
.
email
;
member
.
firstName
=
""
;
member
.
lastName
=
""
;
member
.
loginId
=
""
;
...
...
@@ -58,7 +58,7 @@ public class EnqueteMailAddressTmpService extends AbstractService<EnqueteMailAdd
for
(
DeliveryGroupMember
address
:
addressList
)
{
EnqueteMailAddressTmp
entity
=
new
EnqueteMailAddressTmp
();
entity
.
enqueteMailId
=
enqueteMailId
;
entity
.
email
=
address
.
member
.
p
cEmail
;
entity
.
email
=
address
.
member
.
mainP
cEmail
;
insert
(
entity
,
insIdStr
);
}
}
...
...
src/main/java/jp/agentec/sinaburocast/service/EnqueteMailService.java
View file @
7d46402a
...
...
@@ -245,15 +245,15 @@ public class EnqueteMailService extends AbstractService<EnqueteMail> {
for
(
DeliveryGroupMember
member
:
list
)
{
String
email
=
null
;
if
(
enqueteMail
.
deliveryTargetType
.
equals
(
SinaburoConstant
.
DeliveryTargetType
.
PC
))
{
if
(
StringUtil
.
isBlank
(
member
.
member
.
p
cEmail
))
{
if
(
StringUtil
.
isBlank
(
member
.
member
.
mainP
cEmail
))
{
continue
;
}
email
=
member
.
member
.
p
cEmail
;
email
=
member
.
member
.
mainP
cEmail
;
}
else
{
if
(
StringUtil
.
isBlank
(
member
.
member
.
mb
Email
))
{
if
(
StringUtil
.
isBlank
(
member
.
member
.
subPc
Email
))
{
continue
;
}
email
=
member
.
member
.
mb
Email
;
email
=
member
.
member
.
subPc
Email
;
}
String
contents
=
enqueteMail
.
mailBody
;
...
...
@@ -350,8 +350,8 @@ public class EnqueteMailService extends AbstractService<EnqueteMail> {
for
(
MailCsv
csv
:
list
)
{
DeliveryGroupMember
deliveryGroupMember
=
new
DeliveryGroupMember
();
Member
member
=
new
Member
();
member
.
p
cEmail
=
csv
.
mailAddress
;
member
.
mb
Email
=
csv
.
mailAddress
;
member
.
mainP
cEmail
=
csv
.
mailAddress
;
member
.
subPc
Email
=
csv
.
mailAddress
;
member
.
firstName
=
""
;
member
.
lastName
=
""
;
member
.
loginId
=
""
;
...
...
src/main/java/jp/agentec/sinaburocast/service/EnqueteService.java
View file @
7d46402a
...
...
@@ -1185,7 +1185,7 @@ public class EnqueteService extends AbstractService<Enquete> {
StringBuffer
str
=
new
StringBuffer
();
if
(
hasHeader
){
str
.
append
(
"\"会員ID\"\t\"ログインID\"\t\"パスワード\"\t\"氏\"\t\"名\"\t\"氏(カナ)\"\t\"名(カナ)\"\t\"
PCメールアドレス\"\t\"携帯メールアドレス
\"\t\"電話\"\t\"性別\"\t\""
+
str
.
append
(
"\"会員ID\"\t\"ログインID\"\t\"パスワード\"\t\"氏\"\t\"名\"\t\"氏(カナ)\"\t\"名(カナ)\"\t\"
E-mail(メイン)\"\t\"E-mail(サブ)
\"\t\"電話\"\t\"性別\"\t\""
+
"生年月日\"\t\"年代\"\t\"郵便番号\"\t\"都道府県\"\t\"市区町村\"\t\"町名・番地\"\t\"建物名\"\t\"ポイント\"\t\"メモ\"\t\"削除フラグ\""
);
if
(
isMemberWithdraw
){
...
...
@@ -1205,12 +1205,16 @@ public class EnqueteService extends AbstractService<Enquete> {
for
(
Member
report
:
list
)
{
str
.
append
(
"\""
+
report
.
memberId
+
"\"\t\""
+
report
.
loginId
+
"\"\t\""
+
report
.
password
+
"\"\t\""
+
report
.
firstName
+
"\"\t\""
+
report
.
lastName
+
"\"\t\""
+
report
.
firstNameKana
+
"\"\t\""
+
report
.
lastNameKana
);
str
.
append
(
"\"\t\""
+
report
.
pcEmail
+
"\"\t\""
+
report
.
mb
Email
+
"\"\t\""
+
report
.
telno
+
"\"\t\""
);
str
.
append
(
"\"\t\""
+
report
.
mainPcEmail
+
"\"\t\""
+
report
.
subPc
Email
+
"\"\t\""
+
report
.
telno
+
"\"\t\""
);
if
(
report
.
genderCd
!=
null
)
{
if
(
report
.
genderCd
==
SinaburoConstant
.
GenderType
.
MAN
)
{
str
.
append
(
"男"
);
}
else
if
(
report
.
genderCd
==
SinaburoConstant
.
GenderType
.
WOMAN
)
{
str
.
append
(
"女"
);
}
else
if
(
report
.
genderCd
==
SinaburoConstant
.
GenderType
.
OTHERS
)
{
str
.
append
(
"その他"
);
}
else
if
(
report
.
genderCd
==
SinaburoConstant
.
GenderType
.
DO_NOT_ENTER
)
{
str
.
append
(
"入力しない"
);
}
else
{
str
.
append
(
""
);
}
...
...
src/main/java/jp/agentec/sinaburocast/service/GiftExchangeService.java
View file @
7d46402a
...
...
@@ -135,7 +135,7 @@ public class GiftExchangeService extends AbstractService<GiftExchange> {
str
.
append
(
"\""
+
giftExchange
.
member
.
firstName
+
" "
+
giftExchange
.
member
.
lastName
+
"\","
);
//メールアドレス
str
.
append
(
"\""
+
replaceNullWithBlank
(
giftExchange
.
member
.
p
cEmail
)
+
"\","
);
str
.
append
(
"\""
+
replaceNullWithBlank
(
giftExchange
.
member
.
mainP
cEmail
)
+
"\","
);
//申請枚数
String
unit
=
null
;
...
...
src/main/java/jp/agentec/sinaburocast/service/MemberService.java
View file @
7d46402a
...
...
@@ -92,8 +92,8 @@ public class MemberService extends AbstractService<Member> {
* @return emailが一致するMember情報
*/
public
List
<
Member
>
findByEmail
(
String
email
)
{
//入力されたemailで
mb_email,
pc_emailともに検索する。
return
jdbcManager
.
from
(
Member
.
class
).
where
(
" '"
+
email
+
"' in (
mb_email,
pc_email) and del_flg = ? and valid_flg = ? "
//入力されたemailで
sub_pc_email,main_
pc_emailともに検索する。
return
jdbcManager
.
from
(
Member
.
class
).
where
(
" '"
+
email
+
"' in (
sub_pc_email,main_
pc_email) and del_flg = ? and valid_flg = ? "
,
Integer
.
parseInt
(
SinaburoConstant
.
DelFlg
.
NOT_DEL
)
,
SinaburoConstant
.
ValidFlg
.
VALID
).
getResultList
();
...
...
@@ -101,19 +101,19 @@ public class MemberService extends AbstractService<Member> {
public
Member
findByPcEmail
(
String
mail
)
{
public
Member
findBy
Main
PcEmail
(
String
mail
)
{
return
select
().
where
(
new
SimpleWhere
()
.
eq
(
"
p
cEmail"
,
mail
)
.
eq
(
"
mainP
cEmail"
,
mail
)
.
eq
(
"validFlg"
,
SinaburoConstant
.
MemberValidFlg
.
VALID
)
.
eq
(
"delFlg"
,
SinaburoConstant
.
MemberDelFlg
.
NOT_DEL
)
).
orderBy
(
"memberId asc"
).
getSingleResult
();
}
public
Member
findBy
Mo
Email
(
String
mail
)
{
public
Member
findBy
SubPc
Email
(
String
mail
)
{
return
select
().
where
(
new
SimpleWhere
()
.
eq
(
"
mb
Email"
,
mail
)
.
eq
(
"
subPc
Email"
,
mail
)
.
eq
(
"validFlg"
,
SinaburoConstant
.
MemberValidFlg
.
VALID
)
.
eq
(
"delFlg"
,
SinaburoConstant
.
MemberDelFlg
.
NOT_DEL
)
).
orderBy
(
"memberId asc"
).
getSingleResult
();
...
...
@@ -278,16 +278,16 @@ public class MemberService extends AbstractService<Member> {
values
.
add
(
"%"
+
memberSearchForm
.
lastNameKana
.
trim
().
replace
(
"%"
,
"\\%"
)+
"%"
);
flg
=
true
;
}
if
(!
StringUtil
.
isBlank
(
memberSearchForm
.
p
cEmail
))
{
if
(!
StringUtil
.
isBlank
(
memberSearchForm
.
mainP
cEmail
))
{
if
(
flg
)
sql
.
append
(
" and "
);
sql
.
append
(
"pc_email like ? "
);
values
.
add
(
"%"
+
memberSearchForm
.
p
cEmail
.
trim
().
replace
(
"%"
,
"\\%"
)+
"%"
);
sql
.
append
(
"
main_
pc_email like ? "
);
values
.
add
(
"%"
+
memberSearchForm
.
mainP
cEmail
.
trim
().
replace
(
"%"
,
"\\%"
)+
"%"
);
flg
=
true
;
}
if
(!
StringUtil
.
isBlank
(
memberSearchForm
.
mb
Email
))
{
if
(!
StringUtil
.
isBlank
(
memberSearchForm
.
subPc
Email
))
{
if
(
flg
)
sql
.
append
(
" and "
);
sql
.
append
(
"
mb
_email like ? "
);
values
.
add
(
"%"
+
memberSearchForm
.
mb
Email
.
trim
().
replace
(
"%"
,
"\\%"
)+
"%"
);
sql
.
append
(
"
sub_pc
_email like ? "
);
values
.
add
(
"%"
+
memberSearchForm
.
subPc
Email
.
trim
().
replace
(
"%"
,
"\\%"
)+
"%"
);
flg
=
true
;
}
if
(!
StringUtil
.
isBlank
(
memberSearchForm
.
telNo
))
{
...
...
@@ -489,10 +489,10 @@ public class MemberService extends AbstractService<Member> {
dto
.
name1
=
member
.
firstName
;
dto
.
name2
=
member
.
lastName
;
if
(
StringUtil
.
isBlank
(
member
.
p
cEmail
)
)
{
dto
.
mail
=
member
.
mb
Email
;
if
(
StringUtil
.
isBlank
(
member
.
mainP
cEmail
)
)
{
dto
.
mail
=
member
.
subPc
Email
;
}
else
{
dto
.
mail
=
member
.
p
cEmail
;
dto
.
mail
=
member
.
mainP
cEmail
;
}
dto
.
birthDay
=
member
.
birthday
;
...
...
@@ -526,14 +526,14 @@ public class MemberService extends AbstractService<Member> {
sb
.
append
(
" ,COUNT(1) ALL_REG"
);
sb
.
append
(
" ,0 ALL_RET "
);
sb
.
append
(
" ,COUNT(1) ALL_JUN "
);
sb
.
append
(
" ,SUM(CASE WHEN COALESCE(LTRIM(pc_email),'') != '' THEN 1 ELSE 0 END ) PC_REG"
);
sb
.
append
(
" ,SUM(CASE WHEN COALESCE(LTRIM(
main_
pc_email),'') != '' THEN 1 ELSE 0 END ) PC_REG"
);
sb
.
append
(
" ,0 PC_RET"
);
sb
.
append
(
" ,SUM(CASE WHEN COALESCE(LTRIM(pc_email),'') != '' THEN 1 ELSE 0 END ) PC_JUN"
);
sb
.
append
(
" ,SUM(CASE WHEN COALESCE(LTRIM(
mb
_email),'') != '' THEN 1 ELSE 0 END ) MB_REG"
);
sb
.
append
(
" ,SUM(CASE WHEN COALESCE(LTRIM(
main_
pc_email),'') != '' THEN 1 ELSE 0 END ) PC_JUN"
);
sb
.
append
(
" ,SUM(CASE WHEN COALESCE(LTRIM(
sub_pc
_email),'') != '' THEN 1 ELSE 0 END ) MB_REG"
);
sb
.
append
(
" ,0 MB_RET"
);
sb
.
append
(
" ,SUM(CASE WHEN COALESCE(LTRIM(
mb
_email),'') != '' THEN 1 ELSE 0 END ) MB_JUN"
);
sb
.
append
(
" ,SUM(CASE WHEN COALESCE(LTRIM(
sub_pc
_email),'') != '' THEN 1 ELSE 0 END ) MB_JUN"
);
sb
.
append
(
" FROM"
);
sb
.
append
(
" (SELECT member_id,TO_CHAR(insert_date, 'yyyyMMdd') AS insert_date,
mb_email,
pc_email "
);
sb
.
append
(
" (SELECT member_id,TO_CHAR(insert_date, 'yyyyMMdd') AS insert_date,
sub_pc_email,main_
pc_email "
);
sb
.
append
(
" FROM m_member ) M"
);
sb
.
append
(
" GROUP BY SUBSTRING(M.insert_date,1,6) "
);
sb
.
append
(
" UNION ALL"
);
...
...
@@ -542,15 +542,15 @@ public class MemberService extends AbstractService<Member> {
sb
.
append
(
" ,COUNT(1) ALL_RET"
);
sb
.
append
(
" ,-COUNT(1) ALL_JUN"
);
sb
.
append
(
" ,0 PC_REG"
);
sb
.
append
(
" ,SUM(CASE WHEN COALESCE(LTRIM(W.pc_email),'') != '' THEN 1 ELSE 0 END ) PC_RET"
);
sb
.
append
(
" ,-SUM(CASE WHEN COALESCE(LTRIM(W.pc_email),'') != '' THEN 1 ELSE 0 END ) PC_JUN"
);
sb
.
append
(
" ,SUM(CASE WHEN COALESCE(LTRIM(W.
main_
pc_email),'') != '' THEN 1 ELSE 0 END ) PC_RET"
);
sb
.
append
(
" ,-SUM(CASE WHEN COALESCE(LTRIM(W.
main_
pc_email),'') != '' THEN 1 ELSE 0 END ) PC_JUN"
);
sb
.
append
(
" ,0 MB_REG"
);
sb
.
append
(
" ,SUM(CASE WHEN COALESCE(LTRIM(
mb
_email),'') != '' THEN 1 ELSE 0 END ) MB_RET"
);
sb
.
append
(
" ,-SUM(CASE WHEN COALESCE(LTRIM(
mb
_email),'') != '' THEN 1 ELSE 0 END ) MB_JUN"
);
sb
.
append
(
" ,SUM(CASE WHEN COALESCE(LTRIM(
sub_pc
_email),'') != '' THEN 1 ELSE 0 END ) MB_RET"
);
sb
.
append
(
" ,-SUM(CASE WHEN COALESCE(LTRIM(
sub_pc
_email),'') != '' THEN 1 ELSE 0 END ) MB_JUN"
);
sb
.
append
(
" FROM"
);
sb
.
append
(
" (SELECT TO_CHAR(WIT.INSERT_DATE,'yyyyMMdd') AS insert_date"
);
sb
.
append
(
" ,MEM.pc_email"
);
sb
.
append
(
" ,MEM.
mb
_email"
);
sb
.
append
(
" ,MEM.
main_
pc_email"
);
sb
.
append
(
" ,MEM.
sub_pc
_email"
);
sb
.
append
(
" FROM t_member_withdraw WIT"
);
sb
.
append
(
" INNER JOIN m_member MEM"
);
sb
.
append
(
" ON MEM.member_id = WIT.member_id"
);
...
...
@@ -594,14 +594,14 @@ public class MemberService extends AbstractService<Member> {
sb
.
append
(
" ,COUNT(1) ALL_REG"
);
sb
.
append
(
" ,0 ALL_RET "
);
sb
.
append
(
" ,COUNT(1) ALL_JUN "
);
sb
.
append
(
" ,SUM(CASE WHEN COALESCE(LTRIM(pc_email),'') != '' THEN 1 ELSE 0 END ) PC_REG"
);
sb
.
append
(
" ,SUM(CASE WHEN COALESCE(LTRIM(
main_
pc_email),'') != '' THEN 1 ELSE 0 END ) PC_REG"
);
sb
.
append
(
" ,0 PC_RET"
);
sb
.
append
(
" ,SUM(CASE WHEN COALESCE(LTRIM(pc_email),'') != '' THEN 1 ELSE 0 END ) PC_JUN"
);
sb
.
append
(
" ,SUM(CASE WHEN COALESCE(LTRIM(
mb
_email),'') != '' THEN 1 ELSE 0 END ) MB_REG"
);
sb
.
append
(
" ,SUM(CASE WHEN COALESCE(LTRIM(
main_
pc_email),'') != '' THEN 1 ELSE 0 END ) PC_JUN"
);
sb
.
append
(
" ,SUM(CASE WHEN COALESCE(LTRIM(
sub_pc
_email),'') != '' THEN 1 ELSE 0 END ) MB_REG"
);
sb
.
append
(
" ,0 MB_RET"
);
sb
.
append
(
" ,SUM(CASE WHEN COALESCE(LTRIM(
mb
_email),'') != '' THEN 1 ELSE 0 END ) MB_JUN"
);
sb
.
append
(
" ,SUM(CASE WHEN COALESCE(LTRIM(
sub_pc
_email),'') != '' THEN 1 ELSE 0 END ) MB_JUN"
);
sb
.
append
(
" FROM"
);
sb
.
append
(
" (SELECT member_id,TO_CHAR(insert_date, 'yyyyMMdd') AS insert_date,
mb_email,
pc_email "
);
sb
.
append
(
" (SELECT member_id,TO_CHAR(insert_date, 'yyyyMMdd') AS insert_date,
sub_pc_email,main_
pc_email "
);
sb
.
append
(
" FROM m_member WHERE TO_CHAR(INSERT_DATE,'yyyyMMdd') BETWEEN ? AND ?) M"
);
sb
.
append
(
" GROUP BY M.insert_date "
);
sb
.
append
(
" UNION ALL"
);
...
...
@@ -610,15 +610,15 @@ public class MemberService extends AbstractService<Member> {
sb
.
append
(
" ,COUNT(1) ALL_RET"
);
sb
.
append
(
" ,-COUNT(1) ALL_JUN"
);
sb
.
append
(
" ,0 PC_REG"
);
sb
.
append
(
" ,SUM(CASE WHEN COALESCE(LTRIM(W.pc_email),'') != '' THEN 1 ELSE 0 END ) PC_RET"
);
sb
.
append
(
" ,-SUM(CASE WHEN COALESCE(LTRIM(W.pc_email),'') != '' THEN 1 ELSE 0 END ) PC_JUN"
);
sb
.
append
(
" ,SUM(CASE WHEN COALESCE(LTRIM(W.
main_
pc_email),'') != '' THEN 1 ELSE 0 END ) PC_RET"
);
sb
.
append
(
" ,-SUM(CASE WHEN COALESCE(LTRIM(W.
main_
pc_email),'') != '' THEN 1 ELSE 0 END ) PC_JUN"
);
sb
.
append
(
" ,0 MB_REG"
);
sb
.
append
(
" ,SUM(CASE WHEN COALESCE(LTRIM(
mb
_email),'') != '' THEN 1 ELSE 0 END ) MB_RET"
);
sb
.
append
(
" ,-SUM(CASE WHEN COALESCE(LTRIM(
mb
_email),'') != '' THEN 1 ELSE 0 END ) MB_JUN"
);
sb
.
append
(
" ,SUM(CASE WHEN COALESCE(LTRIM(
sub_pc
_email),'') != '' THEN 1 ELSE 0 END ) MB_RET"
);
sb
.
append
(
" ,-SUM(CASE WHEN COALESCE(LTRIM(
sub_pc
_email),'') != '' THEN 1 ELSE 0 END ) MB_JUN"
);
sb
.
append
(
" FROM"
);
sb
.
append
(
" (SELECT TO_CHAR(WIT.INSERT_DATE,'yyyyMMdd') AS insert_date"
);
sb
.
append
(
" ,MEM.pc_email"
);
sb
.
append
(
" ,MEM.
mb
_email"
);
sb
.
append
(
" ,MEM.
main_
pc_email"
);
sb
.
append
(
" ,MEM.
sub_pc
_email"
);
sb
.
append
(
" FROM t_member_withdraw WIT"
);
sb
.
append
(
" INNER JOIN m_member MEM"
);
sb
.
append
(
" ON MEM.member_id = WIT.member_id"
);
...
...
@@ -709,16 +709,16 @@ public class MemberService extends AbstractService<Member> {
values
.
add
(
"%"
+
memberSearchForm
.
lastNameKana
.
trim
().
replace
(
"%"
,
"\\%"
)+
"%"
);
flg
=
true
;
}
if
(!
StringUtil
.
isBlank
(
memberSearchForm
.
p
cEmail
))
{
if
(!
StringUtil
.
isBlank
(
memberSearchForm
.
mainP
cEmail
))
{
if
(
flg
)
sql
.
append
(
" and "
);
sql
.
append
(
"pc_email like ? "
);
values
.
add
(
"%"
+
memberSearchForm
.
p
cEmail
.
trim
().
replace
(
"%"
,
"\\%"
)+
"%"
);
sql
.
append
(
"
main_
pc_email like ? "
);
values
.
add
(
"%"
+
memberSearchForm
.
mainP
cEmail
.
trim
().
replace
(
"%"
,
"\\%"
)+
"%"
);
flg
=
true
;
}
if
(!
StringUtil
.
isBlank
(
memberSearchForm
.
mb
Email
))
{
if
(!
StringUtil
.
isBlank
(
memberSearchForm
.
subPc
Email
))
{
if
(
flg
)
sql
.
append
(
" and "
);
sql
.
append
(
"
mb
_email like ? "
);
values
.
add
(
"%"
+
memberSearchForm
.
mb
Email
.
trim
().
replace
(
"%"
,
"\\%"
)+
"%"
);
sql
.
append
(
"
sub_pc
_email like ? "
);
values
.
add
(
"%"
+
memberSearchForm
.
subPc
Email
.
trim
().
replace
(
"%"
,
"\\%"
)+
"%"
);
flg
=
true
;
}
if
(!
StringUtil
.
isBlank
(
memberSearchForm
.
telNo
))
{
...
...
@@ -1067,8 +1067,8 @@ public class MemberService extends AbstractService<Member> {
member
.
lastName
=
null
;
member
.
firstNameKana
=
null
;
member
.
lastNameKana
=
null
;
member
.
p
cEmail
=
null
;
member
.
mb
Email
=
null
;
member
.
mainP
cEmail
=
null
;
member
.
subPc
Email
=
null
;
member
.
zipCode
=
null
;
member
.
prefectureId
=
null
;
member
.
cityName
=
null
;
...
...
src/main/java/jp/agentec/sinaburocast/service/MemberWithdrawService.java
View file @
7d46402a
...
...
@@ -90,11 +90,11 @@ public class MemberWithdrawService extends AbstractService<MemberWithdraw> {
Properties
prop
=
PropertyUtil
.
getProperties
(
"application_ja"
,
false
);
try
{
if
(
StringUtil
.
isNotBlank
(
member
.
p
cEmail
)){
MailUtil
.
send
(
member
.
p
cEmail
,
prop
.
getProperty
(
"withDrow.mail.title"
),
prop
.
getProperty
(
"withDrow.mail.body"
));
if
(
StringUtil
.
isNotBlank
(
member
.
mainP
cEmail
)){
MailUtil
.
send
(
member
.
mainP
cEmail
,
prop
.
getProperty
(
"withDrow.mail.title"
),
prop
.
getProperty
(
"withDrow.mail.body"
));
}
if
(
StringUtil
.
isNotBlank
(
member
.
mb
Email
)){
MailUtil
.
send
(
member
.
mb
Email
,
prop
.
getProperty
(
"withDrow.mail.title"
),
prop
.
getProperty
(
"withDrow.mail.body"
));
if
(
StringUtil
.
isNotBlank
(
member
.
subPc
Email
)){
MailUtil
.
send
(
member
.
subPc
Email
,
prop
.
getProperty
(
"withDrow.mail.title"
),
prop
.
getProperty
(
"withDrow.mail.body"
));
}
}
catch
(
MessagingException
e
)
{
logger
.
error
(
"Mail send failed."
+
e
.
toString
());
// 退会時なので例外はスローしない
...
...
src/main/java/jp/agentec/sinaburocast/service/PointDonationService.java
View file @
7d46402a
...
...
@@ -99,12 +99,12 @@ public class PointDonationService extends AbstractService<PointDonation> {
//ユーザーに送信
if
(
StringUtil
.
isNotBlank
(
member
.
p
cEmail
)){
MailUtil
.
send
(
member
.
p
cEmail
,
memberNotifyMail
.
subject
,
memberNotifyMail
.
mailBody
);
if
(
StringUtil
.
isNotBlank
(
member
.
mainP
cEmail
)){
MailUtil
.
send
(
member
.
mainP
cEmail
,
memberNotifyMail
.
subject
,
memberNotifyMail
.
mailBody
);
}
if
(
StringUtil
.
isNotBlank
(
member
.
mb
Email
)){
MailUtil
.
send
(
member
.
mb
Email
,
memberNotifyMail
.
subject
,
memberNotifyMail
.
mailBody
);
if
(
StringUtil
.
isNotBlank
(
member
.
subPc
Email
)){
MailUtil
.
send
(
member
.
subPc
Email
,
memberNotifyMail
.
subject
,
memberNotifyMail
.
mailBody
);
}
//BCCに送信
...
...
src/main/java/jp/agentec/sinaburocast/service/ReplyService.java
View file @
7d46402a
...
...
@@ -389,9 +389,9 @@ public class ReplyService extends AbstractService<Reply> {
memberNotifyMail
.
mailBody
+
"\r\n"
+
PropertyUtil
.
getString
(
"ENQUETE_CONFIRM_URL"
),
enqueteEncodeId
);
//ユーザーに送信
if
(
StringUtil
.
isNotBlank
(
member
.
p
cEmail
)){
if
(
StringUtil
.
isNotBlank
(
member
.
mainP
cEmail
)){
try
{
MailUtil
.
send
(
member
.
p
cEmail
,
memberNotifyMail
.
subject
,
mailbody
);
MailUtil
.
send
(
member
.
mainP
cEmail
,
memberNotifyMail
.
subject
,
mailbody
);
}
catch
(
UnsupportedEncodingException
e
)
{
logger
.
error
(
"Mail encode failed."
+
e
.
toString
());
}
catch
(
MessagingException
e
)
{
...
...
@@ -399,9 +399,9 @@ public class ReplyService extends AbstractService<Reply> {
}
}
if
(
StringUtil
.
isNotBlank
(
member
.
mb
Email
)){
if
(
StringUtil
.
isNotBlank
(
member
.
subPc
Email
)){
try
{
MailUtil
.
send
(
member
.
mb
Email
,
memberNotifyMail
.
subject
,
mailbody
);
MailUtil
.
send
(
member
.
subPc
Email
,
memberNotifyMail
.
subject
,
mailbody
);
}
catch
(
UnsupportedEncodingException
e
)
{
logger
.
error
(
"Mail encode failed."
+
e
.
toString
());
}
catch
(
MessagingException
e
)
{
...
...
src/main/resources/application_ja.properties
View file @
7d46402a
...
...
@@ -49,7 +49,7 @@ errors.E006=\u4e0d\u6b63\u306a\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308a\u307e\u
errors.E007
=
\u
8a72
\u
5f53
\u3059\u
308b
\u
30c7
\u
30fc
\u
30bf
\u
304c
\u3042\u
308a
\u
307e
\u
305b
\u3093\u3002
errors.E008
=
\u
30e1
\u
30fc
\u
30eb
\u
30a2
\u
30c9
\u
30ec
\u
30b9
\u
304c
\u
4e00
\u
81f4
\u3057\u
307e
\u
305b
\u3093\u3002
errors.E009
=
\u
65e2
\u
306b
\u
767b
\u9332\u
6e08
\u
307f
\u
306e
\u
30e1
\u
30fc
\u
30eb
\u
30a2
\u
30c9
\u
30ec
\u
30b9
\u3067\u3059\u3002
errors.E010
=
\u
30d1
\u
30bd
\u
30b3
\u
30f3
\u
307e
\u
305f
\u
306f
\u
643a
\u
5e2f
\u
96fb
\u
8a71
\u3069\u3061\u3089\u
304b
\u
306f
\u
5fc5
\u9808\u3067\u3059\u3002
errors.E010
=
E-mail(
\u
30e1
\u
30a4
\u
30f3)
\u
306f
\u
5fc5
\u9808\u3067\u3059\u3002
errors.E011
=
\u
30d1
\u
30b9
\u
30ef
\u
30fc
\u
30c9
\u
304c
\u
4e00
\u
81f4
\u3057\u
307e
\u
305b
\u3093\u3002
errors.E012
=
\u
30ed
\u
30b0
\u
30a4
\u
30f3ID
\u3082\u3057\u
304f
\u
306f
\u
30d1
\u
30b9
\u
30ef
\u
30fc
\u
30c9
\u
304c
\u
4e0d
\u
6b63
\u3067\u3059\u3002
errors.E013
=
\u
73fe
\u5728\u
306e
\u
30dd
\u
30a4
\u
30f3
\u
30c8
\u6570\u3088\u
308a
\u
30dd
\u
30a4
\u
30f3
\u
30c8
\u
6d88
\u
8cbb
\u6570\u
304c
\u5927\u
304d
\u3044\u3067\u3059\u3002
...
...
@@ -168,8 +168,9 @@ labels.firstName=\u6c0f\u540d(\u59d3)
labels.lastName
=
\u
6c0f
\u
540d(
\u
540d)
labels.firstKana
=
\u
30d5
\u
30ea
\u
30ac
\u
30ca(
\u
30bb
\u
30a4)
labels.lastKana
=
\u
30d5
\u
30ea
\u
30ac
\u
30ca(
\u
30e1
\u
30a4)
labels.pcMail
=
\u
30d1
\u
30bd
\u
30b3
\u
30f3E-mail
labels.mbMail
=
\u
643a
\u
5e2f
\u
96fb
\u
8a71E-mail
labels.mainPcEmail
=
E-mail(
\u
30e1
\u
30a4
\u
30f3)
labels.subPcEmail
=
E-mail(
\u
30b5
\u
30d6)
labels.email
=
E-mail
labels.zipCode
=
\u
90f5
\u
4fbf
\u
756a
\u
53f7
labels.zipCode.from
=
\u
90f5
\u
4fbf
\u
756a
\u
53f7(From)
labels.zipCode.to
=
\u
90f5
\u
4fbf
\u
756a
\u
53f7(To)
...
...
src/main/resources/csv_application.properties
View file @
7d46402a
...
...
@@ -27,10 +27,10 @@ errors.mailCheck=\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\uff08PC\u30e1\u30fc\
errors.prefecture
=
\u
8a72
\u
5f53
\u3059\u
308b
\u
90fd
\u9053\u
5e9c
\u
770c
\u
304c
\u
5b58
\u5728\u3057\u
307e
\u
305b
\u3093\u3002
errors.birthday
=
\u
751f
\u
5e74
\u6708\u
65e5
\u
306f
\u
65e5
\u
4ed8
\u3067\u
306a
\u3051\u
308c
\u3070\u3044\u3051\u
307e
\u
305b
\u3093\u3002
errors.birthday
=
\u
751f
\u
5e74
\u6708\u
65e5
\u
306f
\u
65e5
\u
4ed8
\u3067\u
306a
\u3051\u
308c
\u3070\u3044\u3051\u
307e
\u
305b
\u3093\u3002
errors.
pcEmail
=
\u
65e2
\u
306b
\u
767b
\u9332\u
6e08
\u
307f
\u
306e
\u
30d1
\u
30bd
\u
30b3
\u
30f3
E-mail
\u3067\u3059\u3002
errors.
p
cEmail1
=
\u
30d1
\u
30bd
\u
30b3
\u
30f3E-mail
\u
306f
\u
30e1
\u
30fc
\u
30eb
\u
30a2
\u
30c9
\u
30ec
\u
30b9
\u3068\u3057\u3066\u
4e0d
\u
6b63
\u3067\u3059\u3002
errors.
mbEmail
=
\u
65e2
\u
306b
\u
767b
\u9332\u
6e08
\u
307f
\u
306e
\u
643a
\u
5e2f
\u
96fb
\u
8a71
E-mail
\u3067\u3059\u3002
errors.
mb
Email1
=
\u
643a
\u
5e2f
\u
96fb
\u
8a71E-mail
\u
306f
\u
30e1
\u
30fc
\u
30eb
\u
30a2
\u
30c9
\u
30ec
\u
30b9
\u3068\u3057\u3066\u
4e0d
\u
6b63
\u3067\u3059\u3002
errors.
mainPcEmail
=
\u
65e2
\u
306b
\u
767b
\u9332\u
6e08
\u
307f
\u
306e
E-mail
\u3067\u3059\u3002
errors.
mainP
cEmail1
=
\u
30d1
\u
30bd
\u
30b3
\u
30f3E-mail
\u
306f
\u
30e1
\u
30fc
\u
30eb
\u
30a2
\u
30c9
\u
30ec
\u
30b9
\u3068\u3057\u3066\u
4e0d
\u
6b63
\u3067\u3059\u3002
errors.
subPcEmail
=
\u
65e2
\u
306b
\u
767b
\u9332\u
6e08
\u
307f
\u
306e
E-mail
\u3067\u3059\u3002
errors.
subPc
Email1
=
\u
643a
\u
5e2f
\u
96fb
\u
8a71E-mail
\u
306f
\u
30e1
\u
30fc
\u
30eb
\u
30a2
\u
30c9
\u
30ec
\u
30b9
\u3068\u3057\u3066\u
4e0d
\u
6b63
\u3067\u3059\u3002
errors.loginId
=
\u
65e2
\u
306b
\u
767b
\u9332\u
6e08
\u
307f
\u
306e
\u
30ed
\u
30b0
\u
30a4
\u
30f3ID
\u3067\u3059\u3002
errors.memberId
=
\u
5b58
\u5728\u3057\u
306a
\u3044\u
4f1a
\u
54e1ID
\u3067\u3059\u3002
errors.memberId2
=
\u
4f1a
\u
54e1ID
\u
304c
\u
4e0d
\u
6b63
\u3067\u3059\u3002
...
...
src/main/webapp/WEB-INF/view/admin/enquete/giftExchangeSearch.html
View file @
7d46402a
...
...
@@ -115,7 +115,7 @@ $!tools.getMsg("dateError") $!tools.getMsg("dateError_1") $!tools.getMsg("dateEr
<td
class=
"tdDiv t_center"
>
$date.format("yyyy/MM/dd",$!giftExchange.applyDate)
</td>
<td
class=
"tdDiv"
>
$!giftExchange.memberId
</td>
<td
class=
"tdDiv"
>
$!escape.html($!giftExchange.member.firstName) $!escape.html($!giftExchange.member.lastName)
</td>
<td
class=
"tdDiv"
>
$!giftExchange.member.
p
cEmail
</td>
<td
class=
"tdDiv"
>
$!giftExchange.member.
mainP
cEmail
</td>
<td
class=
"tdDiv"
>
$!giftExchange.cnt #if($!giftExchange.gift.giftType == 1)枚#elseポイント#end
</td>
<td
class=
"tdDiv"
>
$!giftExchange.member.zipCode
</td>
<td
class=
"tdDiv"
>
$!giftExchange.member.prefecture.prefecture
</td>
...
...
src/main/webapp/WEB-INF/view/admin/member/memberConfirm.html
View file @
7d46402a
...
...
@@ -48,11 +48,11 @@
</tr>
<tr>
<td
style=
"vertical-align:top"
>
パソコンE-mail
</td>
<td>
$!escape.html($!memberEditForm.
p
cEmail)
</td>
<td>
$!escape.html($!memberEditForm.
mainP
cEmail)
</td>
</tr>
<tr>
<td
style=
"vertical-align:top"
>
携帯電話E-mail
</td>
<td>
$!escape.html($!memberEditForm.
mb
Email)
</td>
<td>
$!escape.html($!memberEditForm.
subPc
Email)
</td>
</tr>
<tr>
<td
style=
"vertical-align:top"
>
氏名
</td>
...
...
@@ -139,8 +139,8 @@
##
</div>
#makeToken()
<input
type=
"hidden"
name=
"loginIdBefore"
value=
"$!memberEditForm.loginIdBefore"
>
<input
type=
"hidden"
name=
"
pcEmailBefore"
value=
"$!memberEditForm.p
cEmailBefore"
>
<input
type=
"hidden"
name=
"
mbEmailBefore"
value=
"$!memberEditForm.mb
EmailBefore"
>
<input
type=
"hidden"
name=
"
mainPcEmailBefore"
value=
"$!memberEditForm.mainP
cEmailBefore"
>
<input
type=
"hidden"
name=
"
subPcEmailBefore"
value=
"$!memberEditForm.subPc
EmailBefore"
>
</form>
</div>
</div>
...
...
src/main/webapp/WEB-INF/view/admin/member/memberEdit.html
View file @
7d46402a
...
...
@@ -78,16 +78,16 @@
</td>
</tr>
<tr
class=
"gray"
>
<td>
パソコンE-mail
<font
class=
"listpoint"
>
*
</font></td>
<td><input
name=
"
pcEmail"
type=
"text"
/
class=
"w250"
value=
"$!escape.html($!memberEditForm.p
cEmail)"
>
<BR>
$!tools.getMsg("
p
cEmail")
<td>
E-mail(メイン)
<font
class=
"listpoint"
>
*
</font></td>
<td><input
name=
"
mainPcEmail"
type=
"text"
/
class=
"w250"
value=
"$!escape.html($!memberEditForm.mainP
cEmail)"
>
<BR>
$!tools.getMsg("
mainP
cEmail")
$!tools.getMsg("Email")
</td>
</tr>
<tr>
<td>
携帯電話E-mail
<font
class=
"listpoint"
>
*
</font></td>
<td><input
name=
"
mbEmail"
type=
"text"
/
class=
"w250"
value=
"$!escape.html($!{memberEditForm.mb
Email})"
>
<BR>
$!tools.getMsg("
mb
Email")
<td>
E-mail(サブ)
<font
class=
"listpoint"
>
*
</font></td>
<td><input
name=
"
subPcEmail"
type=
"text"
/
class=
"w250"
value=
"$!escape.html($!{memberEditForm.subPc
Email})"
>
<BR>
$!tools.getMsg("
subPc
Email")
$!tools.getMsg("Email")
</td>
</tr>
...
...
@@ -261,8 +261,8 @@
##
</div>
#makeToken()
<input
type=
"hidden"
name=
"loginIdBefore"
value=
"$!memberEditForm.loginIdBefore"
>
<input
type=
"hidden"
name=
"
pcEmailBefore"
value=
"$!memberEditForm.p
cEmailBefore"
>
<input
type=
"hidden"
name=
"
mbEmailBefore"
value=
"$!memberEditForm.mb
EmailBefore"
>
<input
type=
"hidden"
name=
"
mainPcEmailBefore"
value=
"$!memberEditForm.mainP
cEmailBefore"
>
<input
type=
"hidden"
name=
"
subPcEmailBefore"
value=
"$!memberEditForm.subPc
EmailBefore"
>
<input
type=
"hidden"
name=
"memberId"
value=
"$!memberEditForm.memberId"
>
<input
type=
"hidden"
name=
"withDrawFlgBefore"
value=
"$!memberEditForm.withDrawFlgBefore"
>
</form>
...
...
src/main/webapp/WEB-INF/view/admin/member/memberInput.html
View file @
7d46402a
...
...
@@ -60,15 +60,15 @@
</tr>
<tr>
<td>
パソコンE-mail
<font
class=
"listpoint"
>
*
</font></td>
<td><input
name=
"
pcEmail"
type=
"text"
/
class=
"w250"
value=
"$!escape.html($!memberEditForm.p
cEmail)"
>
<BR>
$!tools.getMsg("
p
cEmail")
<td><input
name=
"
mainPcEmail"
type=
"text"
/
class=
"w250"
value=
"$!escape.html($!memberEditForm.mainP
cEmail)"
>
<BR>
$!tools.getMsg("
mainP
cEmail")
$!tools.getMsg("Email")
</td>
</tr>
<tr>
<td>
携帯電話E-mail
<font
class=
"listpoint"
>
*
</font></td>
<td><input
name=
"
mbEmail"
type=
"text"
/
class=
"w250"
value=
"$!escape.html($!{memberEditForm.mb
Email})"
>
<BR>
$!tools.getMsg("
mb
Email")
<td><input
name=
"
subPcEmail"
type=
"text"
/
class=
"w250"
value=
"$!escape.html($!{memberEditForm.subPc
Email})"
>
<BR>
$!tools.getMsg("
subPc
Email")
$!tools.getMsg("Email")
</td>
</tr>
...
...
@@ -153,11 +153,15 @@
<td>
#if($!memberEditForm.genderCd)
<input
type=
"radio"
name=
"genderCd"
value=
"0"
#
if
($!
memberEditForm
.
genderCd =
=
"
0
")
checked
#
end
>
男性
<input
type=
"radio"
name=
"genderCd"
value=
"1"
#
if
($!
memberEditForm
.
genderCd =
=
"
1
")
checked
#
end
>
女性
<input
type=
"radio"
name=
"genderCd"
value=
"1"
#
if
($!
memberEditForm
.
genderCd =
=
"
1
")
checked
#
end
>
女性
<input
type=
"radio"
name=
"genderCd"
value=
"2"
#
if
($!
memberEditForm
.
genderCd =
=
"
2
")
checked
#
end
>
その他
<input
type=
"radio"
name=
"genderCd"
value=
"3"
#
if
($!
memberEditForm
.
genderCd =
=
"
3
")
checked
#
end
>
入力しない
#else
<input
type=
"radio"
name=
"genderCd"
value=
"0"
>
男性
<input
type=
"radio"
name=
"genderCd"
value=
"1"
>
女性
<input
type=
"radio"
name=
"genderCd"
value=
"1"
>
女性
<input
type=
"radio"
name=
"genderCd"
value=
"2"
>
その他
<input
type=
"radio"
name=
"genderCd"
value=
"3"
>
入力しない
#end
</td>
</tr>
...
...
@@ -239,8 +243,8 @@
</div>
##
</div>
<input
type=
"hidden"
name=
"loginIdBefore"
value=
"$!memberEditForm.loginIdBefore"
>
<input
type=
"hidden"
name=
"
pcEmailBefore"
value=
"$!memberEditForm.p
cEmailBefore"
>
<input
type=
"hidden"
name=
"
mbEmailBefore"
value=
"$!memberEditForm.mb
EmailBefore"
>
<input
type=
"hidden"
name=
"
mainPcEmailBefore"
value=
"$!memberEditForm.mainP
cEmailBefore"
>
<input
type=
"hidden"
name=
"
subPcEmailBefore"
value=
"$!memberEditForm.subPc
EmailBefore"
>
<input
type=
"hidden"
name=
"memberId"
value=
"$!memberEditForm.memberId"
>
</form>
...
...
src/main/webapp/WEB-INF/view/admin/member/memberInputConfirm.html
View file @
7d46402a
...
...
@@ -46,13 +46,13 @@
</td>
</tr>
<tr>
<td
style=
"vertical-align:top"
>
パソコンE-mail
</td>
<td>
$!escape.html($!memberEditForm.
p
cEmail)
<td
style=
"vertical-align:top"
>
E-mail(メイン)
</td>
<td>
$!escape.html($!memberEditForm.
mainP
cEmail)
</td>
</tr>
<tr>
<td
style=
"vertical-align:top"
>
携帯電話E-mail
</td>
<td>
$!escape.html($!memberEditForm.
mb
Email)
<td
style=
"vertical-align:top"
>
E-mail(サブ)
</td>
<td>
$!escape.html($!memberEditForm.
subPc
Email)
</td>
</tr>
<tr>
...
...
@@ -135,8 +135,8 @@
##
</div>
#makeToken()
<input
type=
"hidden"
name=
"loginIdBefore"
value=
"$!memberEditForm.loginIdBefore"
>
<input
type=
"hidden"
name=
"
pcEmailBefore"
value=
"$!memberEditForm.p
cEmailBefore"
>
<input
type=
"hidden"
name=
"
mbEmailBefore"
value=
"$!memberEditForm.mb
EmailBefore"
>
<input
type=
"hidden"
name=
"
mainPcEmailBefore"
value=
"$!memberEditForm.mainP
cEmailBefore"
>
<input
type=
"hidden"
name=
"
subPcEmailBefore"
value=
"$!memberEditForm.subPc
EmailBefore"
>
</form>
</div>
</div>
...
...
src/main/webapp/WEB-INF/view/admin/member/memberSearch.html
View file @
7d46402a
...
...
@@ -82,10 +82,8 @@ function formClear(form_obj){
<td><input
name=
"lastNameKana"
type=
"text"
class=
"w180 mgl10"
value=
"$!escape.html($!memberSearchForm.lastNameKana)"
>
を含む
</td>
</tr>
<tr>
<td>
PCメールアドレス
</td>
<td><input
name=
"pcEmail"
type=
"text"
class=
"w180 mgl10"
value=
"$!escape.html($!memberSearchForm.pcEmail)"
>
を含む
</td>
<td>
携帯メールアドレス
</td>
<td><input
name=
"mbEmail"
type=
"text"
class=
"w180 mgl10"
value=
"$!escape.html($!memberSearchForm.mbEmail)"
>
を含む
</td>
<td>
E-mail
</td>
<td><input
name=
"searchPcEmail"
type=
"text"
class=
"w180 mgl10"
value=
"$!escape.html($!memberSearchForm.searchPcEmail)"
>
を含む
</td>
</tr>
<tr>
<td
class=
"w100"
>
電話
</td>
...
...
@@ -96,6 +94,8 @@ function formClear(form_obj){
<option
value=
""
></option>
<option
value=
"0"
#
if
(
"$!{
memberSearchForm
.
genderCd
}"
==
"
0
"
)
selected
#
end
>
男
</option>
<option
value=
"1"
#
if
(
"$!{
memberSearchForm
.
genderCd
}"
==
"
1
"
)
selected
#
end
>
女
</option>
<option
value=
"2"
#
if
(
"$!{
memberSearchForm
.
genderCd
}"
==
"
2
"
)
selected
#
end
>
その他
</option>
<option
value=
"3"
#
if
(
"$!{
memberSearchForm
.
genderCd
}"
==
"
3
"
)
selected
#
end
>
入力しない
</option>
</select>
と一致
</td>
</tr>
...
...
src/main/webapp/WEB-INF/view/common/menu.vm
View file @
7d46402a
...
...
@@ -39,15 +39,17 @@
</td>
</tr>
</table>
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr style="padding: 15px 0 0 0;">
<td nowrap align="center">
<input type="image" src="/em/images/logon_btn.png" onmouseover="this.src='/em/images/logon_on_btn.png'" onmouseout="this.src='/em/images/logon_btn.png'" alt="ログイン">
</td>
</tr>
</table>
</FORM>
</div>
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr style="padding: 15px 0 0 0;">
<td nowrap align="center">
<a href="/em/user/top/newUserRegist/">
<img src="/em/images/logon_btn_new.png"/>
</a>
</td>
</tr>
</table>
#end
</td>
</tr>
...
...
@@ -80,7 +82,7 @@
<div class="ctg01"><a href="#q('/user/top/howtoHtml/')">ご利用方法</a></div>
<div class="ctg01"><a href="#q('/user/top/ruleHtml/')">会員規約</a></div>
<div class="ctg01"><a href="#q('/user/top/faqHtml/')">FAQ</a></div>
<div class="ctg01"><a href="#q('/user/
top/faqHtml
/')" style="font-size:11pt;">アンケート結果</a></div>
<div class="ctg01"><a href="#q('/user/
enqResultList
/')" style="font-size:11pt;">アンケート結果</a></div>
#if($userInfo.loginId)
<div class="ctg01"><a href="/em/user/myPage/">マイページ</a></div>
#end
...
...
src/main/webapp/WEB-INF/view/index.html
View file @
7d46402a
...
...
@@ -93,14 +93,29 @@
#if($registForm.genderCd == 0)
<input type="radio" name="genderCd" value="0" checked>男性
<input type="radio" name="genderCd" value="1">女性
<input type="radio" name="genderCd" value="2">その他
<input type="radio" name="genderCd" value="3">入力しない
#elseif($registForm.genderCd == 1)
<input type="radio" name="genderCd" value="0">男性
<input type="radio" name="genderCd" value="1" checked>女性
#else
<input type="radio" name="genderCd" value="2">その他
<input type="radio" name="genderCd" value="3">入力しない
#elseif($registForm.genderCd == 2)
<input type="radio" name="genderCd" value="0">男性
<input type="radio" name="genderCd" value="1">女性
<input type="radio" name="genderCd" value="2" checked>その他
<input type="radio" name="genderCd" value="3">入力しない
#elseif($registForm.genderCd == 3)
<input type="radio" name="genderCd" value="0">男性
<input type="radio" name="genderCd" value="1">女性
<input type="radio" name="genderCd" value="2">その他
<input type="radio" name="genderCd" value="3" checked>入力しない
#else
<input type="radio" name="genderCd" value="0"><span>男性</span>
<input type="radio" name="genderCd" value="1"><span>女性</span>
<input type="radio" name="genderCd" value="2"><span>その他</span>
<input type="radio" name="genderCd" value="3"><span>入力しない</span>
#end
</td>
</tr>
<tr>
...
...
src/main/webapp/WEB-INF/view/mb/user/userEdit/uEdit.html
View file @
7d46402a
...
...
@@ -36,14 +36,14 @@ $!tools.getMsg("lastNameKana")
$!tools.getMsg("Email")
<br>
<font
class=
"txt10or"
>
※パソコンと携帯どちらかを必ず入力してください。
</font><br>
<br>
パソコン E-mail
<br><input
type=
"text"
size=
"37"
name=
"
pcEmail"
maxlength=
"128"
value=
"$!escape.html($!userEditForm.p
cEmail)"
style=
"width:100%"
>
$!tools.getMsg("
p
cEmail")
<br>
E-mail(メイン)
<br><input
type=
"text"
size=
"37"
name=
"
mainPcEmail"
maxlength=
"128"
value=
"$!escape.html($!userEditForm.mainP
cEmail)"
style=
"width:100%"
>
$!tools.getMsg("
mainP
cEmail")
$!tools.getMsg("Email")
<br>
携帯電話 E-mail
<br><input
type=
"text"
size=
"37"
name=
"
mbEmail"
maxlength=
"128"
value=
"$!escape.html($!{userEditForm.mb
Email})"
style=
"width:100%"
>
$!tools.getMsg("
mb
Email")
<br>
E-mail(サブ)
<br><input
type=
"text"
size=
"37"
name=
"
subPcEmail"
maxlength=
"128"
value=
"$!escape.html($!{userEditForm.subPc
Email})"
style=
"width:100%"
>
$!tools.getMsg("
subPc
Email")
$!tools.getMsg("Email")
<br>
...
...
src/main/webapp/WEB-INF/view/mb/user/userEdit/uEditConfirm.html
View file @
7d46402a
...
...
@@ -26,12 +26,12 @@
<br>
$!escape.html($!userEditForm.lastNameKana)
##
<input
type=
"hidden"
name=
"lastNameKana"
value=
"$!userEditForm.lastNameKana"
>
<br>
パソコン E-mail
<br>
$!userEditForm.
p
cEmail
##
<input
type=
"hidden"
name=
"
pcEmail"
value=
"$!userEditForm.p
cEmail"
>
<br>
携帯電話 E-mail
<br>
$!userEditForm.
mb
Email
##
<input
type=
"hidden"
name=
"
mbEmail"
value=
"$!userEditForm.mb
Email"
>
<br>
E-mail(メイン)
<br>
$!userEditForm.
mainP
cEmail
##
<input
type=
"hidden"
name=
"
mainPcEmail"
value=
"$!userEditForm.mainP
cEmail"
>
<br>
E-mail(サブ)
<br>
$!userEditForm.
subPc
Email
##
<input
type=
"hidden"
name=
"
subPcEmail"
value=
"$!userEditForm.subPc
Email"
>
<br>
ログイン名
<br>
$!escape.html($!userEditForm.loginId)
...
...
@@ -77,6 +77,8 @@
<br>
#if($!userEditForm.genderCd == "0")男性
#elseif($!userEditForm.genderCd == "1")女性
#elseif($!userEditForm.genderCd == "2")その他
#elseif($!userEditForm.genderCd == "3")入力しない
#else
#end
##
<input
type=
"hidden"
name=
"genderCd"
value=
"$!userEditForm.genderCd"
>
...
...
src/main/webapp/WEB-INF/view/sp/user/userEdit/uEdit.html
View file @
7d46402a
...
...
@@ -21,20 +21,20 @@ $!tools.getMsg("pointUse")
<div
class=
"dot_line02"
></div>
<div
data-role=
"fieldcontain"
>
$!tools.getMsg("
p
cEmail")
$!tools.getMsg("
mainP
cEmail")
$!tools.getMsg("Email")
<label
for=
"
pcEmail"
class=
"area_title"
>
パソコンE-mail(半角英数字)
<sup>
※
</sup></label>
<input
type=
"text"
id=
"
pcEmail"
name=
"pcEmail"
size=
"40"
maxlength=
"128"
value=
"$!escape.html($!userEditForm.p
cEmail)"
>
<label
for=
"
mainPcEmail"
class=
"area_title"
>
E-mail(メイン)
<sup>
※
</sup></label>
<input
type=
"text"
id=
"
mainPcEmail"
name=
"mainPcEmail"
size=
"40"
maxlength=
"128"
value=
"$!escape.html($!userEditForm.mainP
cEmail)"
>
</div>
<div
class=
"dot_line02"
></div>
<div
data-role=
"fieldcontain"
>
$!tools.getMsg("
mb
Email")
$!tools.getMsg("
subPc
Email")
$!tools.getMsg("Email")
<label
for=
"
mbEmail"
class=
"area_title"
>
携帯電話E-mail
<sup>
※
</sup></label>
<input
type=
"text"
id=
"
mbEmail"
name=
"mbEmail"
size=
"40"
maxlength=
"128"
value=
"$!escape.html($!{userEditForm.mb
Email})"
>
<p
class=
"indent01"
>
※
パソコンE-mailまたは携帯電話E-mailどちらか
は必須です。
</p>
<label
for=
"
subPcEmail"
class=
"area_title"
>
E-mail(サブ)
<sup>
※
</sup></label>
<input
type=
"text"
id=
"
subPcEmail"
name=
"subPcEmail"
size=
"40"
maxlength=
"128"
value=
"$!escape.html($!{userEditForm.subPc
Email})"
>
<p
class=
"indent01"
>
※
E-mail(メイン)
は必須です。
</p>
<p
class=
"indent01"
>
※ドメイン指定受信をされている方は[city.ichikawa.lg.jp]をドメインに追加していただく必要があります。
</p>
</div>
...
...
@@ -169,9 +169,15 @@ $!tools.getMsg("pointUse")
<label
for=
"genderCd1"
>
男性
</label>
<input
type=
"radio"
name=
"genderCd"
id=
"genderCd2"
value=
"1"
/>
<label
for=
"genderCd2"
>
女性
</label>
<input
type=
"radio"
name=
"genderCd"
id=
"genderCd3"
value=
"2"
/>
<label
for=
"genderCd3"
>
その他
</label>
<input
type=
"radio"
name=
"genderCd"
id=
"genderCd4"
value=
"3"
/>
<label
for=
"genderCd4"
>
入力しない
</label>
#else
<input
type=
"radio"
name=
"genderCd"
id=
"genderCd1"
value=
"0"
#
if
($!
userEditForm
.
genderCd =
=
"
0
")
checked
#
end
><label
for=
"genderCd1"
>
男性
</label>
<input
type=
"radio"
name=
"genderCd"
id=
"genderCd2"
value=
"1"
#
if
($!
userEditForm
.
genderCd
!=
"
0
")
checked
#
end
><label
for=
"genderCd2"
>
女性
</label>
<input
type=
"radio"
name=
"genderCd"
id=
"genderCd2"
value=
"1"
#
if
($!
userEditForm
.
genderCd =
=
"
1
")
checked
#
end
><label
for=
"genderCd2"
>
女性
</label>
<input
type=
"radio"
name=
"genderCd"
id=
"genderCd3"
value=
"2"
#
if
($!
userEditForm
.
genderCd =
=
"
2
")
checked
#
end
><label
for=
"genderCd3"
>
その他
</label>
<input
type=
"radio"
name=
"genderCd"
id=
"genderCd4"
value=
"3"
#
if
($!
userEditForm
.
genderCd =
=
"
3
")
checked
#
end
><label
for=
"genderCd4"
>
入力しない
</label>
#end
</fieldset>
...
...
src/main/webapp/WEB-INF/view/sp/user/userEdit/uEditConfirm.html
View file @
7d46402a
...
...
@@ -41,12 +41,12 @@
</p>
<div
class=
"dot_line01"
></div>
<h4>
パソコン E-mail
</h4>
<p>
$!userEditForm.
pcEmail
<input
type=
"hidden"
name=
"pcEmail"
value=
"$!userEditForm.p
cEmail"
></p>
<h4>
E-mail(メイン)
</h4>
<p>
$!userEditForm.
mainPcEmail
<input
type=
"hidden"
name=
"mainPcEmail"
value=
"$!userEditForm.mainP
cEmail"
></p>
<div
class=
"dot_line01"
></div>
<h4>
携帯電話 E-mail
</h4>
<p>
$!userEditForm.
mbEmail
<input
type=
"hidden"
name=
"mbEmail"
value=
"$!userEditForm.mb
Email"
></p>
<h4>
E-mail(サブ)
</h4>
<p>
$!userEditForm.
subPcEmail
<input
type=
"hidden"
name=
"subPcEmail"
value=
"$!userEditForm.subPc
Email"
></p>
<div
class=
"dot_line01"
></div>
<h4>
ログイン名
</h4>
...
...
@@ -107,6 +107,8 @@
<p>
#if($!userEditForm.genderCd == "0")男性
#elseif($!userEditForm.genderCd == "1")女性
#elseif($!userEditForm.genderCd == "2")その他
#elseif($!userEditForm.genderCd == "3")入力しない
#else
#end
...
...
src/main/webapp/WEB-INF/view/user/enquete/enquete.html
View file @
7d46402a
...
...
@@ -9,7 +9,11 @@
#set($dateIndex=0)
#foreach($question in $!enqueteForm.questionList)
<script
language=
"javascript"
type=
"text/javascript"
charset=
"utf-8"
>
console
.
log
(
"${question.questionId}"
);
console
.
log
(
"${question.condRequiredQuestionNo}"
);
console
.
log
(
"${question.condRequiredAnswer}"
);
</script>
#if($question.controlId == 5)
#set($dateIndex = $dateIndex+1)
<script
language=
"javascript"
type=
"text/javascript"
charset=
"utf-8"
>
...
...
@@ -183,7 +187,7 @@ $tools.getMsg("errorheader")
#if($!question.controlId == "2")
<td
width=
"$tdWidthPercent%"
valign =
"top"
>
#set($answerIdValueName = "questionList[$questionIndex].answerList[0].answerIdValue")
<select
name=
"$answerIdValueName"
>
<select
name=
"$answerIdValueName"
#
if
($!
question
.
condRequiredQuestionNo
!=
"
0
")
disabled=
"disabled"
#
end
>
#foreach($selectAnswer in $question.answerList)
<option
value=
"$!selectAnswer.answerId"
#
if
($
enqueteForm
.
initCount =
="2"
&&
$!
selectAnswer
.
answerId =
=
$!
selectAnswer
.
answerIdValue
)
selected
#
elseif
($!
selectAnswer
.
defaultFlg =
=
"
1
"
&&
$
enqueteForm
.
initCount
!="
2
")
selected
#
end
>
$!escape.html($!selectAnswer.answer)
</option>
<!-- <option value="$!selectAnswer.answerId" #if($enqueteForm.initCount =="2" && $!selectAnswer.answerId == $!selectAnswer.answerIdValue) selected $!selectAnswer.answerId , $!selectAnswer.answerIdValue #elseif($!selectAnswer.defaultFlg == "1" ) selected $!selectAnswer.answerId , $!selectAnswer.answerIdValue #end >$!escape.html($!selectAnswer.answer)</option> -->
...
...
@@ -215,7 +219,7 @@ $tools.getMsg("errorheader")
##if($!answer.freeTextFlg != "1"
&&
$!answer.freeTextFlg != "2")
<input
type=
"radio"
name=
"$!answerIdValueRadioName"
value=
"$velocityCount"
#
if
($!
answer
.
answerIdValue =
=
$
velocityCount
.
toString
()
&&
$
enqueteForm
.
initCount =
="2")
checked
#{
end
}
#
if
($!
answer
.
defaultFlg =
=
1
&&
$
enqueteForm
.
initCount =
="1")
checked
#
end
>
$!escape.html($!answer.answer)
#
if
($!
question
.
condRequiredQuestionNo
!=
"
0
")
disabled=
"disabled"
#
end
>
$!escape.html($!answer.answer)
##end
##
<!-- 自由入力欄。freeTextFlg=1(あり)、2(必須) -->
...
...
@@ -227,7 +231,7 @@ $tools.getMsg("errorheader")
##if($!answer.freeTextFlg != "1"
&&
$!answer.freeTextFlg != "2")
<input
type=
"checkbox"
name=
"$answerIdValueName"
value=
"$!escape.html($!answer.answerNo)"
#
if
($
answer
.
answerIdValue
!=
""
&&
$
enqueteForm
.
initCount =
="2")
checked
#
end
#
if
($!
answer
.
defaultFlg =
=
1
&&
$
enqueteForm
.
initCount =
="1")
checked
#
end
>
$!escape.html($!answer.answer)
#
if
($!
question
.
condRequiredQuestionNo
!=
"
0
")
disabled=
"disabled"
#
end
>
$!escape.html($!answer.answer)
##end
##
<!-- 自由入力欄。freeTextFlg=1(あり)、2(必須) -->
...
...
src/main/webapp/WEB-INF/view/user/top/newUserRegist.html
0 → 100644
View file @
7d46402a
#set($title = "eモニとは")
<!-- preHeader -->
#parse( "/WEB-INF/view/common/preHeader.vm" )
##
<!-- JAVASCRIPTはここに記載 -->
<style
type=
"text/css"
>
<!
--
.style1
{
color
:
#FF0000
;
font-weight
:
bold
;
}
.style2
{
color
:
#FF0000
}
--
>
</style>
<body
bgcolor=
"#B3C9E1"
leftmargin=
"0"
topmargin=
"0"
marginwidth=
"0"
marginheight=
"0"
>
<center>
<!-- header -->
<table
width=
"1024"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<TD>
#parse( "/WEB-INF/view/common/header.vm" )
</TD>
</tr>
<tr>
<TD>
<table
width=
"1024"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<td
width=
"25"
background=
"/em/images/shadowlft2.jpg"
><img
src=
"/em/images/spacer.gif"
width=
"25"
height=
"1"
border=
"0"
></td>
<td
width=
"1024"
bgcolor=
"#FFFFFF"
>
<table
width=
"100%"
border=
"0"
cellspacing=
"5"
cellpadding=
"0"
>
<tr>
<td
align=
"right"
width=
"155"
valign=
"top"
>
#parse( "/WEB-INF/view/common/menu.vm" )
</td>
<td
align=
"left"
width=
"10"
background=
"/em/images/cts_bar.gif"
><img
src=
"/em/images/spacer.gif"
border=
"0"
></td>
<td
align=
"center"
valign=
"top"
>
##CONTENT START 各ページコンテンツ
<!-- Contents Title Table Start -->
<div
id=
"registration_title"
>
<div
style=
"font-size: 9pt;"
>
$!tools.getMsg("email")
$!tools.getMsg("email1")
$!tools.getMsg("genderCd")
$!tools.getMsg("birthdayY")
</div>
<img
src=
"/em/images/registration_ttl.png"
width=
"206"
height=
"21"
border=
"0"
alt=
"e-モニター新規登録"
>
</div>
#set($regist-url = $tools.getSecureUrl('/user/regist/regist'))
<div
class=
"input_form"
>
<form
name=
"mainForm"
action=
"$regist-url"
method=
"post"
style=
"padding: 0; margin: 10px 0;"
>
<table
width=
"780"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<td
style=
"text-align: right; width: 150px; padding-bottom: 7px;"
>
E-mail:
</td>
<td
style=
"text-align: left; width: 230px; padding-bottom: 7px;"
>
<input
type=
"text"
name=
"email"
class=
"inputBox"
maxlength=
"128"
value=
"$!escape.html($!registForm.email)"
>
</td>
</tr>
<tr>
<td
style=
"text-align: right; width: 70px; padding-bottom: 10px;"
nowrap
>
E-mail確認:
</td>
<td
style=
"text-align: left; padding-bottom: 10px;"
>
<input
type=
"text"
name=
"email1"
class=
"inputBox"
maxlength=
"128"
value=
"$!escape.html($!registForm.email1)"
>
</td>
</tr>
<tr>
<td
style=
"text-align: right; width: 70px; padding-bottom: 15px;"
>
性別:
</td>
<td
style=
"padding-bottom: 15px;"
>
<input
type=
"radio"
name=
"genderCd"
value=
"0"
#
if
($
registForm
.
genderCd =
=
0
)
checked
#
end
style=
"margin-left: 10px;"
>
男性
<input
type=
"radio"
name=
"genderCd"
value=
"1"
#
if
($
registForm
.
genderCd =
=
1
)
checked
#
end
>
女性
<input
type=
"radio"
name=
"genderCd"
value=
"2"
#
if
($
registForm
.
genderCd =
=
2
)
checked
#
end
>
その他
<input
type=
"radio"
name=
"genderCd"
value=
"3"
#
if
($
registForm
.
genderCd =
=
3
)
checked
#
end
>
入力しない
</td>
</tr>
<tr>
<td
style=
"text-align: right; width: 70px; padding-bottom: 15px;"
nowrap
>
生年月日:
</td>
<td
style=
"text-align: left; padding: 0px 0px 15px 10px; margin: 0;"
>
<select
name=
"birthdayY"
id=
"birthdayY"
>
<option
value=
""
></option>
#foreach($yyyy in [1900..$birthYYYY])
#if($registForm.birthdayY)
#if($yyyy == $!{registForm.birthdayY})
<option
value=
"$!yyyy"
selected
>
#he($!yyyy)
</option>
#else
<option
value=
"$!yyyy"
>
#he($!yyyy)
</option>
#end
#else
<option
value=
"$!yyyy"
>
#he($!yyyy)
</option>
#end
#end
</select>
年
<select
name=
"birthdayM"
id=
"birthdayM"
>
<option
value=
""
></option>
#foreach($mm in [1..12])
#if($mm == $!{registForm.birthdayM})
<option
value=
"$!mm"
selected
>
#he($!mm)
</option>
#else
<option
value=
"$!mm"
>
#he($!mm)
</option>
#end
#end
</select>
月
<select
name=
"birthdayD"
id=
"birthdayD"
>
<option
value=
""
></option>
#foreach($dd in [1..31])
#if($dd == $!{registForm.birthdayD})
<option
value=
"$!dd"
selected
>
#he($!dd)
</option>
#else
<option
value=
"$!dd"
>
#he($!dd)
</option>
#end
#end
</select>
日
</td>
</tr>
<tr>
<td
colspan=
"2"
style=
"padding-left: 220px;"
><a
href=
"#q('/user/top/ruleHtml/')"
>
会員規約
</a>
と
<a
href=
"#q('/user/top/howtoHtml/')"
>
ご利用方法
</a>
をご確認いただき、同意いただけましたら、
<br>
[新規登録]ボタンをクリックしてください。
</td>
</tr>
</table>
<table
width=
"300"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
style=
"margin-top: 5px;"
>
<tr>
<td
align=
"center"
>
<a
href=
"#"
onclick=
"send_check();"
>
<img
src=
"/em/images/registration_btn.png"
onmouseover=
"this.src='/em/images/registration_on_btn.png'"
onmouseout=
"this.src='/em/images/registration_btn.png'"
alt=
"新規登録"
width=
"302"
height=
"42"
border=
"0"
>
</a>
</td>
</tr>
</table>
</form>
</div>
</td>
</tr>
<tr>
<td
colspan=
"3"
align=
"right"
valign=
"top"
>
<img
src=
"/em/images/spacer.gif"
width=
"1"
height=
"6"
border=
"0"
></td>
</tr>
</table>
</td>
<td
width=
"25"
background=
"/em/images/shadowrgt2.jpg"
>
<img
src=
"/em/images/spacer.gif"
width=
"25"
height=
"1"
border=
"0"
></td>
</tr>
</table>
<!-- Contents Table End -->
##CONTENT END 各ページコンテンツ
</td>
</tr>
<tr>
<TD>
#parse( "/WEB-INF/view/common/footer.vm" )
</TD>
</tr>
</table>
</center>
</body>
</html>
\ No newline at end of file
src/main/webapp/WEB-INF/view/user/userEdit/uEdit.html
View file @
7d46402a
...
...
@@ -108,23 +108,18 @@
<table
width=
"740"
border=
"0"
cellpadding=
"2"
cellspacing=
"1"
bgcolor=
"#004080"
>
<tr>
<td
class=
"listmenu"
>
パソコンE-mail
<span
class=
"listpoint"
>
*
</span></td>
<td
class=
"listmenu"
>
E-mail(メイン)
<span
class=
"listpoint"
>
*
</span></td>
<td
class=
"listcts"
>
<input
type=
"text"
size=
"40"
name=
"
pcEmail"
maxlength=
"128"
value=
"$!escape.html($!userEditForm.p
cEmail)"
>
<input
type=
"text"
size=
"40"
name=
"
mainPcEmail"
maxlength=
"128"
value=
"$!escape.html($!userEditForm.mainP
cEmail)"
>
<TABLE
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
><TR><Td>
$!tools.getMsg("pcEmail")
</Td></TR></TABLE>
<TABLE
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
><TR><Td>
$!tools.getMsg("Email")
</Td></TR></TABLE>
<font
class=
"txt10or"
>
※パソコンまたは携帯電話どちらかは必須です。
</font>
<TABLE
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
><TR><Td>
$!tools.getMsg("mainPcEmail")
</Td></TR></TABLE>
<font
class=
"txt10or"
>
※E-mail(メイン)は必須です。
</font>
</td>
</tr>
<tr>
<td
class=
"listmenu"
>
携帯電話E-mail
<span
class=
"listpoint"
>
*
</span>
</td>
<td
class=
"listmenu"
>
E-mail(サブ)
</td>
<td
class=
"listcts"
>
<input
type=
"text"
size=
"40"
name=
"mbEmail"
maxlength=
"128"
value=
"$!escape.html($!{userEditForm.mbEmail})"
>
<TABLE
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
><TR><Td>
$!tools.getMsg("mbEmail")
</Td></TR></TABLE>
<TABLE
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
><TR><Td>
$!tools.getMsg("Email")
</Td></TR></TABLE>
<font
class=
"txt10or"
>
※パソコンまたは携帯電話どちらかは必須です。
</font>
<input
type=
"text"
size=
"40"
name=
"subPcEmail"
maxlength=
"128"
value=
"$!escape.html($!{userEditForm.subPcEmail})"
>
</td>
</tr>
...
...
@@ -283,10 +278,14 @@
<td
width=
"350"
class=
"listcts"
>
#if($!userEditForm.genderCd == "null" || $!userEditForm.genderCd == "")
<input
type=
"radio"
name=
"genderCd"
value=
"0"
>
男性
<input
type=
"radio"
name=
"genderCd"
value=
"1"
>
女性
<input
type=
"radio"
name=
"genderCd"
value=
"1"
>
女性
<input
type=
"radio"
name=
"genderCd"
value=
"2"
>
その他
<input
type=
"radio"
name=
"genderCd"
value=
"3"
>
入力しない
#else
<input
type=
"radio"
name=
"genderCd"
value=
"0"
#
if
($!
userEditForm
.
genderCd =
=
"
0
")
checked
#
end
>
男性
<input
type=
"radio"
name=
"genderCd"
value=
"1"
#
if
($!
userEditForm
.
genderCd
!=
"
0
")
checked
#
end
>
女性
<input
type=
"radio"
name=
"genderCd"
value=
"1"
#
if
($!
userEditForm
.
genderCd =
=
"
1
")
checked
#
end
>
女性
<input
type=
"radio"
name=
"genderCd"
value=
"2"
#
if
($!
userEditForm
.
genderCd =
=
"
2
")
checked
#
end
>
その他
<input
type=
"radio"
name=
"genderCd"
value=
"3"
#
if
($!
userEditForm
.
genderCd =
=
"
3
")
checked
#
end
>
入力しない
#end
<font
class=
"error"
></font>
<br>
...
...
src/main/webapp/WEB-INF/view/user/userEdit/uEditConfirm.html
View file @
7d46402a
...
...
@@ -84,15 +84,15 @@
<table
width=
"480"
border=
"0"
cellpadding=
"2"
cellspacing=
"1"
bgcolor=
"#004080"
>
<tr>
<td
class=
"listcts"
>
パソコンE-mail
<td
class=
"listmenu"
>
$!userEditForm.
p
cEmail
</td>
##
<input
type=
"hidden"
name=
"
pcEmail"
value=
"$!userEditForm.p
cEmail"
>
<td
class=
"listcts"
>
E-mail(メイン)
<td
class=
"listmenu"
>
$!userEditForm.
mainP
cEmail
</td>
##
<input
type=
"hidden"
name=
"
mainPcEmail"
value=
"$!userEditForm.mainP
cEmail"
>
</tr>
<tr>
<td
class=
"listcts"
>
携帯電話E-mail
<td
class=
"listcts"
>
E-mail(サブ)
</td>
<td
class=
"listmenu"
>
$!userEditForm.
mb
Email
</td>
##
<input
type=
"hidden"
name=
"
mbEmail"
value=
"$!userEditForm.mb
Email"
>
<td
class=
"listmenu"
>
$!userEditForm.
subPc
Email
</td>
##
<input
type=
"hidden"
name=
"
subPcEmail"
value=
"$!userEditForm.subPc
Email"
>
</tr>
<tr>
...
...
@@ -165,6 +165,8 @@ $!userEditForm.lastNameKana
<td
width=
"280"
class=
"listmenu"
>
#if($!userEditForm.genderCd == "0")男性
#elseif($!userEditForm.genderCd == "1")女性
#elseif($!userEditForm.genderCd == "2")その他
#elseif($!userEditForm.genderCd == "3")入力しない
#else
#end
##
<input
type=
"hidden"
name=
"genderCd"
value=
"$!userEditForm.genderCd"
>
...
...
src/main/webapp/images/logon_btn_new.png
0 → 100644
View file @
7d46402a
3.55 KB
src/test/java/jp/agentec/sinaburocast/service/EnqueteMailAddressTmpServiceTest.java
View file @
7d46402a
...
...
@@ -92,7 +92,7 @@ public class EnqueteMailAddressTmpServiceTest extends S2DaoTestCase {
List
<
DeliveryGroupMember
>
addressList
=
new
ArrayList
<
DeliveryGroupMember
>();
DeliveryGroupMember
deliveryGroupMember
=
new
DeliveryGroupMember
();
deliveryGroupMember
.
member
=
new
Member
();
deliveryGroupMember
.
member
.
p
cEmail
=
"tauchi@agentec.jp"
;
deliveryGroupMember
.
member
.
mainP
cEmail
=
"tauchi@agentec.jp"
;
addressList
.
add
(
deliveryGroupMember
);
enqueteMailAddressTmpService
.
deleteInsert
(
2
,
addressList
,
"test"
);
}
...
...
src/test/java/jp/agentec/sinaburocast/service/MemberServiceTest.java
View file @
7d46402a
...
...
@@ -145,12 +145,12 @@ public class MemberServiceTest extends S2DaoTestCase {
}
}
public
void
findByPcEmail
(){
System
.
out
.
println
(
memberService
.
findByPcEmail
(
"kim-hs@agentec.jp"
));
System
.
out
.
println
(
memberService
.
findBy
Main
PcEmail
(
"kim-hs@agentec.jp"
));
}
public
void
findByMoEmail
(){
System
.
out
.
println
(
memberService
.
findBy
Mo
Email
(
"kim-hs@agentec.jp"
));
System
.
out
.
println
(
memberService
.
findBy
SubPc
Email
(
"kim-hs@agentec.jp"
));
}
public
void
findByLoginId
(){
...
...
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