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
239d2c85
Commit
239d2c85
authored
Sep 30, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导购任务
parent
df6d987d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
5 deletions
+23
-5
StaffApiService.java
...va/com/gic/haoban/manage/api/service/StaffApiService.java
+1
-1
StaffApiServiceImpl.java
.../manage/service/service/out/impl/StaffApiServiceImpl.java
+7
-3
StaffMapper.xml
...manage3-service/src/main/resources/mapper/StaffMapper.xml
+5
-1
ClerkRankVO.java
...a/com/gic/haoban/manage/web/vo/clerktask/ClerkRankVO.java
+10
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/StaffApiService.java
View file @
239d2c85
...
@@ -365,6 +365,6 @@ public interface StaffApiService {
...
@@ -365,6 +365,6 @@ public interface StaffApiService {
void
updateStaffHead
(
String
wxEnterpriseId
,
String
staffId
,
String
headUrl
);
void
updateStaffHead
(
String
wxEnterpriseId
,
String
staffId
,
String
headUrl
);
List
<
StaffDTO
>
listByParams
(
String
enterpriseId
,
String
params
,
String
wxEnterpriseId
)
;
Page
<
StaffDTO
>
listByParams
(
String
enterpriseId
,
String
params
,
String
wxEnterpriseId
,
BasePageInfo
pageInfo
)
;
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffApiServiceImpl.java
View file @
239d2c85
...
@@ -1450,10 +1450,14 @@ public class StaffApiServiceImpl implements StaffApiService {
...
@@ -1450,10 +1450,14 @@ public class StaffApiServiceImpl implements StaffApiService {
}
}
@Override
@Override
public
List
<
StaffDTO
>
listByParams
(
String
enterpriseId
,
String
params
,
String
wxEnterpriseId
)
{
public
Page
<
StaffDTO
>
listByParams
(
String
enterpriseId
,
String
params
,
String
wxEnterpriseId
,
BasePageInfo
pageInfo
)
{
PageHelper
.
startPage
(
pageInfo
.
getPageNum
(),
pageInfo
.
getPageSize
());
List
<
TabHaobanWxEnterprise
>
list
=
this
.
wxEnterpriseRelatedService
.
listByEnterpriseId
(
enterpriseId
)
;
List
<
TabHaobanWxEnterprise
>
list
=
this
.
wxEnterpriseRelatedService
.
listByEnterpriseId
(
enterpriseId
)
;
List
<
String
>
wxEnterpriseIdList
=
list
.
stream
().
map
(
o
->
o
.
getWxEnterpriseId
()).
collect
(
Collectors
.
toList
());
List
<
String
>
wxEnterpriseIdList
=
list
.
stream
().
map
(
o
->
o
.
getWxEnterpriseId
()).
collect
(
Collectors
.
toList
());
params
=
"%"
+
params
+
"%"
;
if
(
StringUtils
.
isNotBlank
(
params
))
{
return
this
.
staffMapper
.
listByParams
(
wxEnterpriseIdList
,
params
)
;
params
=
"%"
+
params
+
"%"
;
}
List
<
StaffDTO
>
pageList
=
this
.
staffMapper
.
listByParams
(
wxEnterpriseIdList
,
params
)
;
return
PageUtil
.
changePageHelperToCurrentPage
(
new
PageInfo
<>(
pageList
),
StaffDTO
.
class
);
}
}
}
}
haoban-manage3-service/src/main/resources/mapper/StaffMapper.xml
View file @
239d2c85
...
@@ -688,7 +688,10 @@
...
@@ -688,7 +688,10 @@
<foreach
collection=
"list"
item=
"item"
separator=
","
>
<foreach
collection=
"list"
item=
"item"
separator=
","
>
#{item}
#{item}
</foreach>
)
</foreach>
)
and staff_name like #{params} and status_flag = 1 limit 100
<if
test=
"null !-= params"
>
and staff_name like #{params}
</if>
and status_flag = 1
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/vo/clerktask/ClerkRankVO.java
View file @
239d2c85
...
@@ -9,6 +9,8 @@ public class ClerkRankVO implements Serializable {
...
@@ -9,6 +9,8 @@ public class ClerkRankVO implements Serializable {
*/
*/
private
int
rank
;
private
int
rank
;
private
String
clerkId
;
/**
/**
* 导购名称
* 导购名称
*/
*/
...
@@ -24,6 +26,14 @@ public class ClerkRankVO implements Serializable {
...
@@ -24,6 +26,14 @@ public class ClerkRankVO implements Serializable {
*/
*/
private
int
contentNum
;
private
int
contentNum
;
public
String
getClerkId
()
{
return
clerkId
;
}
public
void
setClerkId
(
String
clerkId
)
{
this
.
clerkId
=
clerkId
;
}
public
int
getRank
()
{
public
int
getRank
()
{
return
rank
;
return
rank
;
}
}
...
...
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