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
e4558975
Commit
e4558975
authored
Feb 04, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
通讯录导出加导购code
parent
bd8d0268
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
StaffController.java
...com/gic/haoban/manage/web/controller/StaffController.java
+9
-2
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/StaffController.java
View file @
e4558975
...
@@ -493,7 +493,7 @@ public class StaffController extends WebBaseController {
...
@@ -493,7 +493,7 @@ public class StaffController extends WebBaseController {
@RequestMapping
(
"staff-export"
)
@RequestMapping
(
"staff-export"
)
public
HaobanResponse
staffExport
(
HttpServletRequest
request
,
HttpServletResponse
response
,
String
departmentId
,
Integer
activeFlag
,
Integer
relationFlag
,
public
HaobanResponse
staffExport
(
HttpServletRequest
request
,
HttpServletResponse
response
,
String
departmentId
,
Integer
activeFlag
,
Integer
relationFlag
,
String
keyWord
,
String
permitState
,
BasePageInfo
pageInfo
,
@RequestParam
(
defaultValue
=
"create_time"
)
String
sortField
,
String
keyWord
,
String
permitState
,
BasePageInfo
pageInfo
,
@RequestParam
(
defaultValue
=
"create_time"
)
String
sortField
,
@RequestParam
(
defaultValue
=
"desc"
)
String
sortType
,
String
enterpriseIdParam
,
String
startTime
,
String
endTime
)
{
@RequestParam
(
defaultValue
=
"desc"
)
String
sortType
,
String
enterpriseIdParam
,
String
startTime
,
String
endTime
,
String
clerkId
)
{
WebLoginDTO
login
=
AuthWebRequestUtil
.
getLoginUser
();
WebLoginDTO
login
=
AuthWebRequestUtil
.
getLoginUser
();
String
wxEnterpriseId
=
login
.
getWxEnterpriseId
();
String
wxEnterpriseId
=
login
.
getWxEnterpriseId
();
if
(
StringUtils
.
isBlank
(
departmentId
)){
if
(
StringUtils
.
isBlank
(
departmentId
)){
...
@@ -520,6 +520,13 @@ public class StaffController extends WebBaseController {
...
@@ -520,6 +520,13 @@ public class StaffController extends WebBaseController {
dto
.
setEnterpriseIdParam
(
enterpriseIdParam
);
dto
.
setEnterpriseIdParam
(
enterpriseIdParam
);
dto
.
setStartTime
(
startTime
);
dto
.
setStartTime
(
startTime
);
dto
.
setEndTime
(
endTime
);
dto
.
setEndTime
(
endTime
);
if
(
StringUtils
.
isNotBlank
(
clerkId
))
{
StaffClerkRelationDTO
clerkRelationDTO
=
this
.
staffClerkRelationApiService
.
getByClerkId
(
clerkId
)
;
if
(
null
==
clerkRelationDTO
)
{
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
PageUtil
.
getPageInfo
(
new
Page
<>()));
}
dto
.
setStaffId
(
clerkRelationDTO
.
getStaffId
());
}
pageInfo
.
setPageSize
(
Integer
.
MAX_VALUE
);
pageInfo
.
setPageSize
(
Integer
.
MAX_VALUE
);
int
pageNum
=
1
;
int
pageNum
=
1
;
while
(
true
)
{
while
(
true
)
{
...
@@ -631,7 +638,7 @@ public class StaffController extends WebBaseController {
...
@@ -631,7 +638,7 @@ public class StaffController extends WebBaseController {
for
(
StaffClerkRelationDTO
staffClerkRelationDTO
:
relationList
)
{
for
(
StaffClerkRelationDTO
staffClerkRelationDTO
:
relationList
)
{
ClerkDTO
clerk
=
clerkMap
.
get
(
staffClerkRelationDTO
.
getClerkId
());
ClerkDTO
clerk
=
clerkMap
.
get
(
staffClerkRelationDTO
.
getClerkId
());
if
(
clerk
!=
null
)
{
if
(
clerk
!=
null
)
{
clerkName
.
append
(
clerk
.
getClerkName
()).
append
(
","
);
clerkName
.
append
(
clerk
.
getClerkName
()).
append
(
"
("
).
append
(
clerk
.
getClerkCode
()).
append
(
")"
).
append
(
"
,"
);
}
}
}
}
if
(
StringUtils
.
isNoneBlank
(
clerkName
.
toString
()))
{
if
(
StringUtils
.
isNoneBlank
(
clerkName
.
toString
()))
{
...
...
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