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
d7de7ec0
Commit
d7de7ec0
authored
Dec 21, 2023
by
Kim Gyeongeun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#56976 【市川市 eモニターシステム】 ポイント交換申請不具合
parent
a5acc56e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletions
+18
-1
src/main/java/jp/agentec/sinaburocast/action/user/PointUseAction.java
+17
-0
src/main/webapp/WEB-INF/view/admin/member/memberEdit.html
+1
-1
No files found.
src/main/java/jp/agentec/sinaburocast/action/user/PointUseAction.java
View file @
d7de7ec0
...
...
@@ -9,6 +9,7 @@ import java.util.Date;
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
;
...
...
@@ -73,6 +74,22 @@ public class PointUseAction extends AbstractAction {
member
=
memberService
.
findById
(
member
.
memberId
);
super
.
setAuthenticatedToken
(
member
,
UserType
.
USER
);
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
)
||
StringUtil
.
isBlank
(
member
.
birthday
))
{
ActionMessages
messages
=
(
ActionMessages
)
request
.
getAttribute
(
Globals
.
ERROR_KEY
);
if
(
messages
==
null
)
{
messages
=
new
ActionMessages
();
}
messages
.
add
(
"pointUse"
,
new
ActionMessage
(
SinaburoViewUtil
.
getMessage
(
"errors.E050"
)));
request
.
setAttribute
(
Globals
.
ERROR_KEY
,
messages
);
session
.
setAttribute
(
"pointCheckFlg"
,
true
);
return
"/user/userEdit/"
;
}
// ポイント交換利用方法取得
pointUseForm
.
giftExchangeInfoList
=
giftExchangeInfoService
.
findGiftExchangeInfoList
();
...
...
src/main/webapp/WEB-INF/view/admin/member/memberEdit.html
View file @
d7de7ec0
...
...
@@ -231,7 +231,7 @@
</tr>
<tr>
<td>
退会フラグ
</td>
<td>
退会
<input
name=
"withDrawFlg"
type=
"checkbox"
/
class=
"mgl10"
value=
"$!memberEditForm.withDrawFlg"
#
if
($
memberEditForm
.
withDrawFlg
!=
"
0
")
checked
#
end
></td>
<td>
退会
<input
name=
"withDrawFlg"
type=
"checkbox"
/
class=
"mgl10"
value=
"$!memberEditForm.withDrawFlg"
#
if
($
memberEditForm
.
withDrawFlg
&&
$
memberEditForm
.
withDrawFlg =
=
"
1
")
checked
#
end
></td>
</tr>
<tr>
<td>
ポイント
<font
class=
"listpoint"
>
*
</font></td>
...
...
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