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
e57e335d
Commit
e57e335d
authored
Nov 10, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
群发
parent
742f3a50
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
+9
-1
QwMessageController.java
...an/manage/web/controller/content/QwMessageController.java
+9
-1
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/content/QwMessageController.java
View file @
e57e335d
...
@@ -21,7 +21,9 @@ import com.gic.haoban.app.customer.dto.CustomerDTO;
...
@@ -21,7 +21,9 @@ import com.gic.haoban.app.customer.dto.CustomerDTO;
import
com.gic.haoban.app.customer.dto.MemberInfoListParamsDTO
;
import
com.gic.haoban.app.customer.dto.MemberInfoListParamsDTO
;
import
com.gic.haoban.app.customer.service.api.service.DistributeApiService
;
import
com.gic.haoban.app.customer.service.api.service.DistributeApiService
;
import
com.gic.haoban.common.utils.EntityUtil
;
import
com.gic.haoban.common.utils.EntityUtil
;
import
com.gic.haoban.manage.api.dto.StaffClerkRelationDTO
;
import
com.gic.haoban.manage.api.service.StaffApiService
;
import
com.gic.haoban.manage.api.service.StaffApiService
;
import
com.gic.haoban.manage.api.service.StaffClerkRelationApiService
;
import
com.gic.haoban.manage.web.controller.WebBaseController
;
import
com.gic.haoban.manage.web.controller.WebBaseController
;
import
com.gic.haoban.manage.web.qo.CustomerQO
;
import
com.gic.haoban.manage.web.qo.CustomerQO
;
import
com.gic.haoban.manage.web.utils.ClerkUtils
;
import
com.gic.haoban.manage.web.utils.ClerkUtils
;
...
@@ -35,6 +37,8 @@ public class QwMessageController extends WebBaseController {
...
@@ -35,6 +37,8 @@ public class QwMessageController extends WebBaseController {
private
StaffApiService
staffApiService
;
private
StaffApiService
staffApiService
;
@Autowired
@Autowired
private
ClerkService
clerkService
;
private
ClerkService
clerkService
;
@Autowired
private
StaffClerkRelationApiService
staffClerkRelationApiService
;
/**
/**
* 群发-分享
* 群发-分享
...
@@ -64,8 +68,12 @@ public class QwMessageController extends WebBaseController {
...
@@ -64,8 +68,12 @@ public class QwMessageController extends WebBaseController {
List
<
String
>
staffIdList
=
new
ArrayList
<>();
List
<
String
>
staffIdList
=
new
ArrayList
<>();
if
(
clerk
.
getClerkType
()
==
1
)
{
if
(
clerk
.
getClerkType
()
==
1
)
{
staffIdList
=
staffApiService
.
listBindStaffId
(
storeId
);
staffIdList
=
staffApiService
.
listBindStaffId
(
storeId
);
logger
.
info
(
"店长,成员数={}"
,
staffIdList
);
}
else
if
(
clerk
.
getClerkType
()==
0
)
{
}
else
if
(
clerk
.
getClerkType
()==
0
)
{
staffIdList
.
add
(
clerkId
);
StaffClerkRelationDTO
dto
=
this
.
staffClerkRelationApiService
.
getOneByClerkId
(
clerkId
)
;
if
(
null
!=
dto
)
{
staffIdList
.
add
(
dto
.
getStaffId
());
}
}
}
if
(
CollectionUtils
.
isEmpty
(
staffIdList
))
{
if
(
CollectionUtils
.
isEmpty
(
staffIdList
))
{
return
RestResponse
.
failure
(
"-1"
,
"无成员数据"
);
return
RestResponse
.
failure
(
"-1"
,
"无成员数据"
);
...
...
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