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
ba1e97df
Commit
ba1e97df
authored
Dec 10, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql
parent
4f3c22a1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
GroupChatDataMapper.xml
...ce/src/main/resources/mapper/chat/GroupChatDataMapper.xml
+3
-3
GroupChatDataController.java
...n/manage/web/controller/chat/GroupChatDataController.java
+1
-1
No files found.
haoban-manage3-service/src/main/resources/mapper/chat/GroupChatDataMapper.xml
View file @
ba1e97df
...
...
@@ -71,9 +71,9 @@
<select
id=
"listTotalData"
parameterType=
"com.gic.haoban.manage.api.dto.qdto.chat.ChatDataSearchQDTO"
resultType=
"com.gic.haoban.manage.api.dto.chat.GroupChatDataDTO"
>
select sum(chatTotal)
, sum(memberTotal)
,
SUM(newChatCnt)
, SUM(chatHasMsg), SUM(newMemberCnt)
,
SUM(memberHasMsg)
, SUM(msgTotal)
select sum(chatTotal)
chatTotal , sum(memberTotal) memberTotal
,
SUM(newChatCnt)
newChatCnt, SUM(chatHasMsg) chatHasMsg, SUM(newMemberCnt) newMemberCnt
,
SUM(memberHasMsg)
memberHasMsg, SUM(msgTotal) msgTotal
from (
SELECT
staffId, `date`, chatTotal, memberTotal,
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/chat/GroupChatDataController.java
View file @
ba1e97df
...
...
@@ -31,7 +31,7 @@ public class GroupChatDataController {
@Autowired
private
GroupChatDataApiService
groupChatDataApiService
;
@RequestMapping
(
"
list-
total"
)
@RequestMapping
(
"total"
)
public
RestResponse
<
Object
>
listTotalData
(
ChatDataSearchQDTO
qdto
)
{
WebLoginDTO
loginUser
=
AuthWebRequestUtil
.
getLoginUser
();
String
wxEnterpriseId
=
loginUser
.
getWxEnterpriseId
();
...
...
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