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
f67e9a11
Commit
f67e9a11
authored
Dec 12, 2022
by
zzd
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
e3d0d46f
8fd04d64
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
2 deletions
+22
-2
PendingTaskTypeEnum.java
.../com/gic/haoban/manage/api/enums/PendingTaskTypeEnum.java
+2
-1
GroupChatPlanApiService.java
...oban/manage/api/service/chat/GroupChatPlanApiService.java
+5
-0
GroupChatPlanApiServiceImpl.java
...ce/service/out/impl/chat/GroupChatPlanApiServiceImpl.java
+6
-0
GroupChatHmController.java
...ban/manage/web/controller/chat/GroupChatHmController.java
+9
-1
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/enums/PendingTaskTypeEnum.java
View file @
f67e9a11
...
@@ -8,8 +8,9 @@ public enum PendingTaskTypeEnum {
...
@@ -8,8 +8,9 @@ public enum PendingTaskTypeEnum {
NORMAL
(-
1
,
"全部"
,
"全部"
),
NORMAL
(-
1
,
"全部"
,
"全部"
),
PERFORMANCE
(
0
,
"月指标"
,
"请完善{}月份指标"
),
PERFORMANCE
(
0
,
"月指标"
,
"请完善{}月份指标"
),
TEL_TASK
(
1
,
"话务任务"
,
"您收到了新的话务任务【{}】,赶紧去执行吧~"
),
TEL_TASK
(
1
,
"话务任务"
,
"您收到了新的话务任务【{}】,赶紧去执行吧~"
),
GROUP_TASK
(
3
,
"
群发任务
"
,
"您收到了新的企微群发任务【{}】,赶紧到企业微信-消息-群发助手中执行吧~"
),
GROUP_TASK
(
3
,
"
客户群发
"
,
"您收到了新的企微群发任务【{}】,赶紧到企业微信-消息-群发助手中执行吧~"
),
ACTIVITY
(
4
,
"活动"
,
"您报名的{}活动已经开始啦,快去转发赚佣金吧~"
),
ACTIVITY
(
4
,
"活动"
,
"您报名的{}活动已经开始啦,快去转发赚佣金吧~"
),
GROUP_CHAT
(
5
,
"社群群发"
,
"您收到了新的企微群发任务【{}】,赶紧到企业微信-消息-群发助手中执行吧~"
),
;
;
private
int
type
;
private
int
type
;
private
String
name
;
private
String
name
;
...
...
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/chat/GroupChatPlanApiService.java
View file @
f67e9a11
...
@@ -41,6 +41,11 @@ public interface GroupChatPlanApiService {
...
@@ -41,6 +41,11 @@ public interface GroupChatPlanApiService {
public
ServiceResponse
<
Page
<
GroupChatPlanOwnerLogDTO
>>
listOwnerLogPage
(
Long
planId
,
GroupChatPlanSearchQDTO
qdto
,
public
ServiceResponse
<
Page
<
GroupChatPlanOwnerLogDTO
>>
listOwnerLogPage
(
Long
planId
,
GroupChatPlanSearchQDTO
qdto
,
BasePageInfo
basePageInfo
);
BasePageInfo
basePageInfo
);
public
ServiceResponse
<
Page
<
GroupChatPlanOwnerLogDTO
>>
listOwnerLogPageForWxa
(
Long
planId
,
GroupChatPlanSearchQDTO
qdto
,
BasePageInfo
basePageInfo
);
public
ServiceResponse
<
Page
<
GroupChatPlanLogDTO
>>
listLogPage
(
Long
planId
,
GroupChatPlanSearchQDTO
qdto
,
public
ServiceResponse
<
Page
<
GroupChatPlanLogDTO
>>
listLogPage
(
Long
planId
,
GroupChatPlanSearchQDTO
qdto
,
BasePageInfo
basePageInfo
);
BasePageInfo
basePageInfo
);
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/chat/GroupChatPlanApiServiceImpl.java
View file @
f67e9a11
...
@@ -87,4 +87,10 @@ public class GroupChatPlanApiServiceImpl implements GroupChatPlanApiService {
...
@@ -87,4 +87,10 @@ public class GroupChatPlanApiServiceImpl implements GroupChatPlanApiService {
return
ServiceResponse
.
success
();
return
ServiceResponse
.
success
();
}
}
@Override
public
ServiceResponse
<
Page
<
GroupChatPlanOwnerLogDTO
>>
listOwnerLogPageForWxa
(
Long
planId
,
GroupChatPlanSearchQDTO
qdto
,
BasePageInfo
basePageInfo
)
{
return
null
;
}
}
}
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/chat/GroupChatHmController.java
View file @
f67e9a11
...
@@ -13,11 +13,13 @@ import java.util.List;
...
@@ -13,11 +13,13 @@ import java.util.List;
import
java.util.zip.ZipEntry
;
import
java.util.zip.ZipEntry
;
import
java.util.zip.ZipOutputStream
;
import
java.util.zip.ZipOutputStream
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.io.IOUtils
;
import
org.apache.commons.io.IOUtils
;
import
org.apache.commons.lang.StringUtils
;
import
org.apache.commons.lang.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.gic.api.base.commons.BasePageInfo
;
import
com.gic.api.base.commons.BasePageInfo
;
...
@@ -176,7 +178,13 @@ public class GroupChatHmController {
...
@@ -176,7 +178,13 @@ public class GroupChatHmController {
}
}
@RequestMapping
(
"download"
)
@RequestMapping
(
"download"
)
public
RestResponse
<
Object
>
download
(
ChatHmSearchQDTO
qdto
)
{
public
RestResponse
<
Object
>
download
(
ChatHmSearchQDTO
qdto
,
@RequestParam
(
defaultValue
=
"0"
)
int
allFlag
)
{
if
(
allFlag
==
0
&&
CollectionUtils
.
isEmpty
(
qdto
.
getChatHmIdList
()))
{
return
RestResponse
.
failure
(
"1"
,
"请选择要下载的群活码"
);
}
if
(
allFlag
==
1
)
{
qdto
.
setChatHmIdList
(
null
);
}
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyyMMddHHmmss"
);
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyyMMddHHmmss"
);
String
qrCodeName
=
"群活码"
;
String
qrCodeName
=
"群活码"
;
final
String
fileName
=
qrCodeName
+
"_"
+
sdf
.
format
(
new
Date
())
+
".zip"
;
final
String
fileName
=
qrCodeName
+
"_"
+
sdf
.
format
(
new
Date
())
+
".zip"
;
...
...
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