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
ec4a5bc5
Commit
ec4a5bc5
authored
Jun 05, 2024
by
guojx
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-2024-05-wechat-work' into 'master'
导购导出合计修复 See merge request
!1830
parents
6074e058
f3bf9789
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
WechatWorkLostClerkHandle.java
...c/haoban/manage/web/handle/WechatWorkLostClerkHandle.java
+13
-3
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/handle/WechatWorkLostClerkHandle.java
View file @
ec4a5bc5
...
...
@@ -2,6 +2,7 @@ package com.gic.haoban.manage.web.handle;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.gic.api.base.commons.Page
;
import
com.gic.commons.util.DataApiUtils
;
import
com.gic.enterprise.api.dto.security.DownloadReportDTO
;
import
com.gic.haoban.manage.web.utils.data.StoreAuthUtils
;
...
...
@@ -41,14 +42,23 @@ public class WechatWorkLostClerkHandle extends DownloadHandlerAbstract<WechatWor
jsonObject
.
put
(
"groupType"
,
1
);
jsonObject
.
put
(
"storeGroup"
,
8
);
JSONObject
total
=
storeAuthUtils
.
getTotalJson
(
jsonObject
,
"data_mbr_scale_haoban_background_loss_statisti"
);
if
(
list
==
null
)
{
list
=
new
ArrayList
<>();
}
if
(
total
!=
null
)
{
total
.
put
(
"clerkName"
,
"合计("
+
list
.
size
()
+
")"
);
if
(
isFirst
)
{
Map
<
String
,
Object
>
totalRes
=
DataApiUtils
.
http
(
jsonObject
.
toJSONString
(),
"data_mbr_scale_haoban_background_loss_statisti"
);
Page
page
=
DataApiUtils
.
getPageData
(
totalRes
);
if
(
page
!=
null
)
{
List
<
JSONObject
>
totalList
=
page
.
getResult
();
if
(
CollectionUtils
.
isNotEmpty
(
totalList
))
{
JSONObject
total
=
totalList
.
get
(
0
);
total
.
put
(
"clerkName"
,
"合计("
+
page
.
getTotalCount
()
+
")"
);
list
.
add
(
0
,
total
);
}
}
}
if
(
CollectionUtils
.
isNotEmpty
(
list
))
{
List
<
WechatWorkLostClerkVO
>
result
=
JSONObject
.
parseArray
(
JSON
.
toJSONString
(
list
),
WechatWorkLostClerkVO
.
class
);
return
result
;
...
...
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