Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
0f487906
Commit
0f487906
authored
Oct 21, 2024
by
xiongjiangtao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导出修改
parent
3ac39a5b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
GroupChatActivityInviteLogMapper.xml
...esources/mapper/chat/GroupChatActivityInviteLogMapper.xml
+2
-2
GroupChatActivityRewardLogMapper.xml
...esources/mapper/chat/GroupChatActivityRewardLogMapper.xml
+2
-2
GroupChatInviteActivityTest.java
...e3-service/src/test/java/GroupChatInviteActivityTest.java
+4
-1
No files found.
haoban-manage3-service/src/main/resources/mapper/chat/GroupChatActivityInviteLogMapper.xml
View file @
0f487906
...
...
@@ -183,10 +183,10 @@
and add_member_type = #{addMemberType}
</if>
<if
test=
"beginTime != null"
>
and create_time
gt
#{beginTime}
and create_time
>
#{beginTime}
</if>
<if
test=
"endTime != null"
>
and create_time
lt
#{endTime}
and create_time
<
#{endTime}
</if>
<if
test=
"sortFiled != null"
>
order by ${sortFiled} ${sortType}
...
...
haoban-manage3-service/src/main/resources/mapper/chat/GroupChatActivityRewardLogMapper.xml
View file @
0f487906
...
...
@@ -167,10 +167,10 @@
and reward_invite = #{rewardInvite}
</if>
<if
test=
"beginTime != null"
>
and create_time
gt
#{beginTime}
and create_time
>
#{beginTime}
</if>
<if
test=
"endTime != null"
>
and create_time
lt
#{endTime}
and create_time
<
#{endTime}
</if>
order by create_time desc
</select>
...
...
haoban-manage3-service/src/test/java/GroupChatInviteActivityTest.java
View file @
0f487906
...
...
@@ -11,6 +11,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.test.context.ContextConfiguration
;
import
org.springframework.test.context.junit4.SpringJUnit4ClassRunner
;
import
java.util.Date
;
import
java.util.List
;
/**
...
...
@@ -42,8 +43,10 @@ public class GroupChatInviteActivityTest {
public
void
queryInviteLogDetails
(){
GroupChatActivityInviteLogQDTO
inviteLogQDTO
=
new
GroupChatActivityInviteLogQDTO
();
inviteLogQDTO
.
setEnterpriseId
(
"ff8080815dacd3a2015dacd3ef5c0000"
);
inviteLogQDTO
.
setChatActivityId
(
71
6721754221821953
L
);
inviteLogQDTO
.
setChatActivityId
(
71
9939940078608608
L
);
inviteLogQDTO
.
setInviterMemberId
(
"ff808081906def5201907645bfc7005a"
);
inviteLogQDTO
.
setBeginTime
(
new
Date
());
inviteLogQDTO
.
setEndTime
(
new
Date
());
inviteLogQDTO
.
setSortFiled
(
"create_time"
);
inviteLogQDTO
.
setSortType
(
"desc"
);
ServiceResponse
<
Page
<
GroupChatActivityInviteLogDTO
>>
listServiceResponse
=
groupChatActivityLogApiService
.
queryInviteLogDetails
(
inviteLogQDTO
);
...
...
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