Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-store
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
base_platform_enterprise
gic-store
Commits
31f31930
Commit
31f31930
authored
Jul 26, 2021
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除协作人
parent
207de355
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ClerkController.java
...in/java/com/gic/store/web/controller/ClerkController.java
+2
-2
StoreController.java
...in/java/com/gic/store/web/controller/StoreController.java
+1
-1
No files found.
gic-store-web/src/main/java/com/gic/store/web/controller/ClerkController.java
View file @
31f31930
...
...
@@ -129,9 +129,9 @@ public class ClerkController extends DownloadUtils {
//调用生成方法,获取reportId
Integer
reportId
=
DataDownloadUtils
.
createDownloadReport
(
report
);
String
path
=
request
.
getSession
().
getServletContext
().
getRealPath
(
"/excel/csv/c
ollaborator
/file/"
);
String
path
=
request
.
getSession
().
getServletContext
().
getRealPath
(
"/excel/csv/c
lerk
/file/"
);
//
CollaboratorListDTO
是分页接口的返回类,不同业务场景对应不同的返回类
//是分页接口的返回类,不同业务场景对应不同的返回类
ExecutorPoolSingleton
.
getInstance
().
executeTask
(()
->
{
DownloadDataLoader
<
ClerkDTO
>
loader
=
new
DownloadDataLoader
<
ClerkDTO
>()
{
@Override
...
...
gic-store-web/src/main/java/com/gic/store/web/controller/StoreController.java
View file @
31f31930
...
...
@@ -486,7 +486,7 @@ public class StoreController extends DownloadUtils {
if
(
response
.
isSuccess
()
&&
response
.
getResult
()
>
0
){
int
total
=
response
.
getResult
().
intValue
();
Integer
downloadReport
=
getDownloadReport
(
request
,
storeExportQO
,
total
);
String
path
=
RequestContext
.
getContext
().
getRequest
().
getSession
().
getServletContext
().
getRealPath
(
"/excel/csv/
collaborator
/file/"
);
String
path
=
RequestContext
.
getContext
().
getRequest
().
getSession
().
getServletContext
().
getRealPath
(
"/excel/csv/
store
/file/"
);
List
<
String
>
nameList
=
new
ArrayList
<>();
List
<
StoreListSourceVO
>
listSource
=
this
.
getStoreAllListSource
(
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
());
Map
<
String
,
String
>
map
=
listSource
.
stream
().
collect
(
Collectors
.
toMap
(
e
->
e
.
getValue
(),
e
->
e
.
getKey
()));
...
...
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