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
71b54946
Commit
71b54946
authored
Apr 08, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor:超时时间延长
parent
0d51558f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
ClerkController.java
...com/gic/haoban/manage/web/controller/ClerkController.java
+4
-2
dubbo-haoban-manage-wx.xml
...ge3-wx/src/main/webapp/WEB-INF/dubbo-haoban-manage-wx.xml
+2
-1
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/ClerkController.java
View file @
71b54946
...
...
@@ -111,9 +111,11 @@ public class ClerkController extends WebBaseController {
StaffVO
vo
=
EntityUtil
.
changeEntityByJSON
(
StaffVO
.
class
,
dto
);
ClerkDTO
clerk
=
clerkService
.
getClerkByClerkCode
(
staffClerkRelationDTO
.
getEnterpriseId
(),
staffClerkRelationDTO
.
getClerkCode
());
if
(
clerk
!=
null
)
{
l
ong
memberCount
=
distributeApiService
.
getClerkMemberCount
(
staffClerkRelationDTO
.
getEnterpriseId
(),
clerk
.
getClerkId
(),
storeId
);
L
ong
memberCount
=
distributeApiService
.
getClerkMemberCount
(
staffClerkRelationDTO
.
getEnterpriseId
(),
clerk
.
getClerkId
(),
storeId
);
logger
.
info
(
"【获取会员数】enterpriseId={},clerkId={},storeId={},count={}"
,
staffClerkRelationDTO
.
getEnterpriseId
(),
clerk
.
getClerkId
(),
storeId
,
memberCount
);
vo
.
setMemberCount
(
Integer
.
parseInt
(
memberCount
+
""
));
if
(
memberCount
!=
null
)
{
vo
.
setMemberCount
(
memberCount
.
intValue
());
}
vo
.
setClerkId
(
clerk
.
getClerkId
());
resultList
.
add
(
vo
);
}
...
...
haoban-manage3-wx/src/main/webapp/WEB-INF/dubbo-haoban-manage-wx.xml
View file @
71b54946
...
...
@@ -38,7 +38,8 @@
<dubbo:reference
interface=
"com.gic.haoban.communicate.api.service.SyncHaobanToGicServiceApi"
id=
"syncHaobanToGicServiceApi"
/>
<dubbo:reference
interface=
"com.gic.haoban.manage.api.service.ClerkMainStoreRelatedApiService"
id=
"clerkMainStoreRelatedApiService"
/>
<dubbo:reference
interface=
"com.gic.haoban.manage.api.service.ClerkMainStoreRelatedApiService"
id=
"clerkMainStoreRelatedApiService"
timeout=
"30000"
retries=
"0"
check=
"false"
/>
<dubbo:reference
interface=
"com.gic.haoban.app.customer.service.api.service.DistributeApiService"
id=
"distributeApiService"
/>
...
...
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