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
e116a1ff
Commit
e116a1ff
authored
Nov 01, 2024
by
Kim Gyeongeun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#61656 【市川市 eモニターシステム】 eモニ会員登録時のメールアドレスの設定について バグ修正
parent
53b801df
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
20 deletions
+11
-20
src/main/java/jp/agentec/sinaburocast/action/user/RegistAction.java
+3
-9
src/main/java/jp/agentec/sinaburocast/logic/MemberRegisterBatchLogic.java
+8
-11
No files found.
src/main/java/jp/agentec/sinaburocast/action/user/RegistAction.java
View file @
e116a1ff
...
...
@@ -105,11 +105,7 @@ public class RegistAction extends AbstractAction {
List
<
Member
>
memberList
=
new
ArrayList
<
Member
>();
if
(
SinaburoUtil
.
mobileAddressCheck
(
registForm
.
email
))
{
member
.
subPcEmail
=
registForm
.
email
;
}
else
{
member
.
mainPcEmail
=
registForm
.
email
;
}
member
.
mainPcEmail
=
registForm
.
email
;
String
id
=
RandomStringUtils
.
randomAlphanumeric
(
6
);
...
...
@@ -226,11 +222,9 @@ public class RegistAction extends AbstractAction {
}
// 登録済みのメールアドレスチェック
Member
memberInfo
=
null
;
if
(
SinaburoUtil
.
mobileAddressCheck
(
registForm
.
email
)
)
{
Member
memberInfo
=
memberService
.
findByMainPcEmail
(
registForm
.
email
)
;
if
(
memberInfo
==
null
)
{
memberInfo
=
memberService
.
findBySubPcEmail
(
registForm
.
email
);
}
else
{
memberInfo
=
memberService
.
findByMainPcEmail
(
registForm
.
email
);
}
if
(
memberInfo
!=
null
)
{
...
...
src/main/java/jp/agentec/sinaburocast/logic/MemberRegisterBatchLogic.java
View file @
e116a1ff
...
...
@@ -16,7 +16,11 @@ import javax.mail.MessagingException;
import
javax.mail.Session
;
import
javax.mail.Store
;
import
javax.mail.internet.InternetAddress
;
import
javax.transaction.UserTransaction
;
import
org.apache.commons.lang.RandomStringUtils
;
import
org.apache.log4j.Logger
;
import
org.seasar.framework.container.annotation.tiger.Component
;
import
org.seasar.framework.container.annotation.tiger.InstanceType
;
import
jp.agentec.sinaburocast.common.SinaburoConstant
;
import
jp.agentec.sinaburocast.common.exception.ExpectedException
;
...
...
@@ -29,11 +33,6 @@ import jp.agentec.sinaburocast.service.MemberService;
import
jp.agentec.sinaburocast.service.MessageService
;
import
jp.agentec.sinaburocast.vo.EmailKey
;
import
org.apache.commons.lang.RandomStringUtils
;
import
org.apache.log4j.Logger
;
import
org.seasar.framework.container.annotation.tiger.Component
;
import
org.seasar.framework.container.annotation.tiger.InstanceType
;
@Component
(
instance
=
InstanceType
.
SINGLETON
)
public
class
MemberRegisterBatchLogic
{
private
final
Logger
logger
=
Logger
.
getLogger
(
getClass
());
...
...
@@ -143,13 +142,11 @@ public class MemberRegisterBatchLogic {
Member
memberInfo
=
null
;
List
<
Member
>
memberList
=
new
ArrayList
<
Member
>();
if
(
SinaburoUtil
.
mobileAddressCheck
(
email
))
{
member
.
subPcEmail
=
email
;
memberInfo
=
memberService
.
findByMainPcEmail
(
email
);
if
(
memberInfo
==
null
)
{
memberInfo
=
memberService
.
findBySubPcEmail
(
email
);
}
else
{
member
.
mainPcEmail
=
email
;
memberInfo
=
memberService
.
findByMainPcEmail
(
email
);
}
member
.
mainPcEmail
=
email
;
if
(
memberInfo
==
null
)
{
//未登録済のメールアドレス
...
...
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