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
eec8a09a
Commit
eec8a09a
authored
Apr 28, 2023
by
Kim Gyeongeun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
市川市追加対応
parent
eea8f130
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
src/main/java/jp/agentec/sinaburocast/service/GiftExchangeService.java
+10
-5
No files found.
src/main/java/jp/agentec/sinaburocast/service/GiftExchangeService.java
View file @
eec8a09a
...
@@ -202,12 +202,17 @@ public class GiftExchangeService extends AbstractService<GiftExchange> {
...
@@ -202,12 +202,17 @@ public class GiftExchangeService extends AbstractService<GiftExchange> {
//toDay =SinaburoUtil.getAddDate(SinaburoUtil.stringToDateSlash(giftExchangeSearchForm.toDay),1);
//toDay =SinaburoUtil.getAddDate(SinaburoUtil.stringToDateSlash(giftExchangeSearchForm.toDay),1);
toDay
=
SinaburoUtil
.
convertStringToTimestamp
(
SinaburoUtil
.
getNextDay
(
giftExchangeSearchForm
.
toDay
),
"yyyy-MM-dd"
);
toDay
=
SinaburoUtil
.
convertStringToTimestamp
(
SinaburoUtil
.
getNextDay
(
giftExchangeSearchForm
.
toDay
),
"yyyy-MM-dd"
);
}
}
SimpleWhere
where
=
new
SimpleWhere
().
ge
(
"applyDate"
,
fromDay
)
.
lt
(
"applyDate"
,
toDay
)
.
eq
(
"member.validFlg"
,
SinaburoConstant
.
MemberValidFlg
.
VALID
)
.
eq
(
"member.delFlg"
,
SinaburoConstant
.
MemberDelFlg
.
NOT_DEL
);
// 区分(エコボ:1、ICHICO:2)
if
(
giftExchangeSearchForm
.
giftType
!=
null
)
{
where
.
eq
(
"gift.giftType"
,
giftExchangeSearchForm
.
giftType
);
}
return
select
().
innerJoin
(
"member"
).
innerJoin
(
"member.prefecture"
).
innerJoin
(
"gift"
).
where
(
new
SimpleWhere
()
return
select
().
innerJoin
(
"member"
).
innerJoin
(
"member.prefecture"
).
innerJoin
(
"gift"
).
where
(
where
)
.
ge
(
"applyDate"
,
fromDay
)
.
lt
(
"applyDate"
,
toDay
)
.
eq
(
"member.validFlg"
,
SinaburoConstant
.
MemberValidFlg
.
VALID
)
.
eq
(
"member.delFlg"
,
SinaburoConstant
.
MemberDelFlg
.
NOT_DEL
))
.
orderBy
(
"applyDate,memberId"
)
.
orderBy
(
"applyDate,memberId"
)
.
getResultList
();
.
getResultList
();
}
}
...
...
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