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
77a42885
Commit
77a42885
authored
Oct 31, 2023
by
王祖波
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
4eb8c0ca
24c61209
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
TestController.java
...gic/haoban/manage/web/controller/test/TestController.java
+4
-4
GroupChatUserMapper.xml
...ce/src/main/resources/mapper/chat/GroupChatUserMapper.xml
+2
-1
No files found.
haoban-manage3-operation-web/src/main/java/com/gic/haoban/manage/web/controller/test/TestController.java
View file @
77a42885
...
...
@@ -267,18 +267,18 @@ public class TestController extends WebBaseController {
@RequestMapping
(
"/get-cache"
)
@ResponseBody
public
String
getCache
(
String
key
)
{
public
Object
getCache
(
String
key
)
{
Object
o
=
RedisUtil
.
getCache
(
key
)
;
return
o
.
toString
()
;
return
o
;
}
@RequestMapping
(
"/del-cache"
)
@ResponseBody
public
String
delCache
(
String
key
)
{
public
Object
delCache
(
String
key
)
{
Object
o
=
RedisUtil
.
getCache
(
key
)
;
if
(
null
!=
o
)
{
RedisUtil
.
delCache
(
key
);
}
return
o
.
toString
()
;
return
o
;
}
}
haoban-manage3-service/src/main/resources/mapper/chat/GroupChatUserMapper.xml
View file @
77a42885
...
...
@@ -241,6 +241,7 @@
a.invitor_user_id invitorUserId,
a.invitor_user_name invitorUserName ,
a.user_quit_time userQuitTime,
a.quit_staff_store quitStaffStore ,
a.join_scene joinScene,
a.join_state joinState
from tab_haoban_group_chat_user a
...
...
@@ -305,7 +306,7 @@
</select>
<select
id=
"listQuitNum"
resultType=
"com.gic.haoban.manage.service.pojo.bo.chat.UserQuitBO"
>
select quit_staff_id
, count(*)
from tab_haoban_group_chat_user where wx_enterprise_id=#{wxEnterpriseId} and user_quit_time >= #{start}
select quit_staff_id
staffId , count(*) num
from tab_haoban_group_chat_user where wx_enterprise_id=#{wxEnterpriseId} and user_quit_time >= #{start}
and user_quit_time
<![CDATA[<=]]>
#{end} and status_flag = 2 group by quit_staff_id
</select>
...
...
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