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
d5c4e9c7
Commit
d5c4e9c7
authored
Sep 23, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:区经统计
parent
0cfc26d9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
13 deletions
+5
-13
StaffClerkRelationApiServiceImpl.java
...ce/service/out/impl/StaffClerkRelationApiServiceImpl.java
+0
-5
StoreController.java
...com/gic/haoban/manage/web/controller/StoreController.java
+5
-8
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffClerkRelationApiServiceImpl.java
View file @
d5c4e9c7
...
@@ -21,7 +21,6 @@ import com.gic.haoban.manage.api.enums.BindTypeEnum;
...
@@ -21,7 +21,6 @@ import com.gic.haoban.manage.api.enums.BindTypeEnum;
import
com.gic.haoban.manage.api.enums.ChannelCodeEnum
;
import
com.gic.haoban.manage.api.enums.ChannelCodeEnum
;
import
com.gic.haoban.manage.api.service.AuditApiService
;
import
com.gic.haoban.manage.api.service.AuditApiService
;
import
com.gic.haoban.manage.api.service.StaffClerkRelationApiService
;
import
com.gic.haoban.manage.api.service.StaffClerkRelationApiService
;
import
com.gic.haoban.manage.api.service.hm.HmClerkRelationApiService
;
import
com.gic.haoban.manage.service.config.Config
;
import
com.gic.haoban.manage.service.config.Config
;
import
com.gic.haoban.manage.service.dao.mapper.TabHaobanStaffClerkRelationMapper
;
import
com.gic.haoban.manage.service.dao.mapper.TabHaobanStaffClerkRelationMapper
;
import
com.gic.haoban.manage.service.entity.MemberClerkChatConfig
;
import
com.gic.haoban.manage.service.entity.MemberClerkChatConfig
;
...
@@ -69,14 +68,10 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
...
@@ -69,14 +68,10 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
@Autowired
@Autowired
private
StaffService
staffService
;
private
StaffService
staffService
;
@Autowired
@Autowired
private
ExternalClerkRelatedService
externalClerkRelatedService
;
@Autowired
private
QywxUserApiService
qywxUserApiService
;
private
QywxUserApiService
qywxUserApiService
;
@Autowired
@Autowired
private
WxEnterpriseService
wxEnterpriseService
;
private
WxEnterpriseService
wxEnterpriseService
;
@Autowired
@Autowired
private
HmClerkRelationApiService
hmClerkRelationApiService
;
@Autowired
private
HmQrcodeService
hmQrcodeService
;
private
HmQrcodeService
hmQrcodeService
;
@Autowired
@Autowired
private
Config
config
;
private
Config
config
;
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/StoreController.java
View file @
d5c4e9c7
...
@@ -2,7 +2,6 @@ package com.gic.haoban.manage.web.controller;
...
@@ -2,7 +2,6 @@ package com.gic.haoban.manage.web.controller;
import
cn.hutool.core.collection.CollectionUtil
;
import
cn.hutool.core.collection.CollectionUtil
;
import
cn.hutool.core.date.DateUtil
;
import
cn.hutool.core.date.DateUtil
;
import
com.alibaba.dubbo.common.utils.CollectionUtils
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.gic.clerk.api.dto.ClerkDTO
;
import
com.gic.clerk.api.dto.ClerkDTO
;
import
com.gic.clerk.api.service.ClerkService
;
import
com.gic.clerk.api.service.ClerkService
;
...
@@ -26,6 +25,7 @@ import com.gic.haoban.manage.api.service.*;
...
@@ -26,6 +25,7 @@ import com.gic.haoban.manage.api.service.*;
import
com.gic.haoban.manage.web.errCode.HaoBanErrCode
;
import
com.gic.haoban.manage.web.errCode.HaoBanErrCode
;
import
com.gic.haoban.manage.web.vo.StaffStoreVO
;
import
com.gic.haoban.manage.web.vo.StaffStoreVO
;
import
com.gic.haoban.manage.web.vo.StoreDetailVO
;
import
com.gic.haoban.manage.web.vo.StoreDetailVO
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.logging.log4j.LogManager
;
import
org.apache.logging.log4j.LogManager
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
@@ -147,7 +147,7 @@ public class StoreController extends WebBaseController {
...
@@ -147,7 +147,7 @@ public class StoreController extends WebBaseController {
vo
.
setEnableHaoban
(
clerk
.
getEnableHaoban
());
vo
.
setEnableHaoban
(
clerk
.
getEnableHaoban
());
list
.
add
(
vo
);
list
.
add
(
vo
);
}
}
if
(
org
.
apache
.
commons
.
collections
.
CollectionUtils
.
isEmpty
(
list
))
{
if
(
CollectionUtils
.
isEmpty
(
list
))
{
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
list
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
list
);
}
}
List
<
String
>
storeIdList
=
list
.
stream
().
map
(
dto
->
dto
.
getStoreId
()).
collect
(
Collectors
.
toList
());
List
<
String
>
storeIdList
=
list
.
stream
().
map
(
dto
->
dto
.
getStoreId
()).
collect
(
Collectors
.
toList
());
...
@@ -166,7 +166,7 @@ public class StoreController extends WebBaseController {
...
@@ -166,7 +166,7 @@ public class StoreController extends WebBaseController {
//获取首页销售数据
//获取首页销售数据
@RequestMapping
(
"/sale-date"
)
@RequestMapping
(
"/sale-date"
)
public
HaobanResponse
saleDate
(
String
storeId
,
String
clerkType
,
String
clerkId
)
{
public
HaobanResponse
saleDate
(
String
storeId
,
String
clerkType
,
String
clerkId
,
List
<
String
>
storeIds
)
{
if
(
StringUtils
.
isAnyBlank
(
storeId
,
clerkType
,
clerkId
))
{
if
(
StringUtils
.
isAnyBlank
(
storeId
,
clerkType
,
clerkId
))
{
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
}
}
...
@@ -228,9 +228,9 @@ public class StoreController extends WebBaseController {
...
@@ -228,9 +228,9 @@ public class StoreController extends WebBaseController {
countyList
.
add
(
countyMap
.
get
(
key
));
countyList
.
add
(
countyMap
.
get
(
key
));
}
}
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
countyList
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
countyList
);
default
:
return
resultResponse
(
HaoBanErrCode
.
ERR_8
);
}
}
return
resultResponse
(
HaoBanErrCode
.
ERR_8
);
}
}
//修改门店数据
//修改门店数据
...
@@ -315,9 +315,6 @@ public class StoreController extends WebBaseController {
...
@@ -315,9 +315,6 @@ public class StoreController extends WebBaseController {
}
}
vo
.
setAreaId
(
store
.
getAreaId
());
vo
.
setAreaId
(
store
.
getAreaId
());
vo
.
setStoreAddress
(
store
.
getFullArea
()
+
" "
+
store
.
getStoreAddress
());
vo
.
setStoreAddress
(
store
.
getFullArea
()
+
" "
+
store
.
getStoreAddress
());
// StaffDepartmentRelatedDTO staffDepartmentRelatedDTO = staffDepartmentRelatedApiService.getByStaffDepartmentRelatedId(staffDepartmentRelatedId);
// vo.setClerkCode(staffDepartmentRelatedDTO.getClerkCode());
// vo.setBindFlag(StringUtils.isEmpty(staffDepartmentRelatedDTO.getClerkCode())?0:1);
vo
.
setAuditDetail
(
list
);
vo
.
setAuditDetail
(
list
);
AuditSettingDTO
auditSettingDTO
=
auditSettingApiService
.
findSettingByWxEnterpriseId
(
wxEnterpriseId
);
AuditSettingDTO
auditSettingDTO
=
auditSettingApiService
.
findSettingByWxEnterpriseId
(
wxEnterpriseId
);
...
...
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