Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-dj-strategy
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 648d33d6
authored
Jun 25, 2026
by
潘诗林
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:查询时间范围内生效的活动
1 parent
7c22c536
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
rpc-dj-strategy/src/main/java/cn/com/glsx/dj/strategy/service/MarketingActivityService.java
rpc-dj-strategy/src/main/java/cn/com/glsx/dj/strategy/service/MarketingActivityService.java
View file @
648d33d
...
@@ -456,7 +456,7 @@ public class MarketingActivityService {
...
@@ -456,7 +456,7 @@ public class MarketingActivityService {
*/
*/
public
List
<
MarketingActivityDetailRespDTO
>
queryActiveActivities
(
MarketingActivityPageReqDTO
reqDTO
)
{
public
List
<
MarketingActivityDetailRespDTO
>
queryActiveActivities
(
MarketingActivityPageReqDTO
reqDTO
)
{
Date
rangeStart
=
reqDTO
.
getStartRangerTime
()
!=
null
?
reqDTO
.
getStartRangerTime
()
:
new
Date
();
Date
rangeStart
=
reqDTO
.
getStartRangerTime
()
!=
null
?
reqDTO
.
getStartRangerTime
()
:
new
Date
();
Date
rangeEnd
=
new
Date
();
Date
rangeEnd
=
reqDTO
.
getEndRangerTime
()
!=
null
?
reqDTO
.
getEndRangerTime
()
:
new
Date
();
// Query 1: 查询活动实体(带门店过滤)
// Query 1: 查询活动实体(带门店过滤)
List
<
MarketingActivity
>
activities
=
marketingActivityMapper
.
selectActiveByTimeRange
(
List
<
MarketingActivity
>
activities
=
marketingActivityMapper
.
selectActiveByTimeRange
(
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment