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
67c99e99
Commit
67c99e99
authored
Apr 15, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:空判断
parent
3751ebd9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
ClerkController.java
...com/gic/haoban/manage/web/controller/ClerkController.java
+1
-3
StaffVO.java
...x/src/main/java/com/gic/haoban/manage/web/vo/StaffVO.java
+3
-3
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/ClerkController.java
View file @
67c99e99
...
...
@@ -113,9 +113,7 @@ public class ClerkController extends WebBaseController {
if
(
clerk
!=
null
)
{
long
memberCount
=
distributeApiService
.
getClerkMemberCount
(
staffClerkRelationDTO
.
getEnterpriseId
(),
clerk
.
getClerkId
(),
storeId
);
logger
.
info
(
"【获取会员数】enterpriseId={},clerkId={},storeId={},memberCount={}"
,
staffClerkRelationDTO
.
getEnterpriseId
(),
clerk
.
getClerkId
(),
storeId
,
memberCount
);
String
memCount
=
memberCount
+
""
;
logger
.
info
(
"会员数:{}"
,
memCount
);
vo
.
setMemberCount
(
StringUtils
.
isNotBlank
(
memCount
)
?
Integer
.
parseInt
(
memCount
)
:
0
);
vo
.
setMemberCount
(
memberCount
);
vo
.
setClerkId
(
clerk
.
getClerkId
());
resultList
.
add
(
vo
);
}
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/vo/StaffVO.java
View file @
67c99e99
...
...
@@ -85,7 +85,7 @@ public class StaffVO implements Serializable {
private
Boolean
weixinPush
;
private
Integer
memberCount
;
private
long
memberCount
;
private
String
clerkId
;
/**
...
...
@@ -310,11 +310,11 @@ public class StaffVO implements Serializable {
this
.
weixinPush
=
weixinPush
;
}
public
Integer
getMemberCount
()
{
public
long
getMemberCount
()
{
return
memberCount
;
}
public
void
setMemberCount
(
Integer
memberCount
)
{
public
void
setMemberCount
(
long
memberCount
)
{
this
.
memberCount
=
memberCount
;
}
...
...
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