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
f2c36d62
Commit
f2c36d62
authored
Dec 19, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
群
parent
7afaeca0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
GroupChatPlanController.java
...n/manage/web/controller/chat/GroupChatPlanController.java
+4
-3
GroupChatHmVO.java
...java/com/gic/haoban/manage/web/vo/chat/GroupChatHmVO.java
+5
-2
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/chat/GroupChatPlanController.java
View file @
f2c36d62
...
...
@@ -60,7 +60,7 @@ public class GroupChatPlanController {
private
MaterialApiService
materialApiService
;
@RequestMapping
(
"add"
)
@GicLogRecord
(
value
=
"${#logValue}"
,
category
=
GicLogRecordCategoryEnum
.
H
UOMA
,
optType
=
GicLogRecordOptTypeEnum
.
HM_LINK_ADD
,
userFunc
=
LogRecordUserServiceImpl
.
class
,
optPage
=
"客户群群发"
)
@GicLogRecord
(
value
=
"${#logValue}"
,
category
=
GicLogRecordCategoryEnum
.
H
B_QF
,
optType
=
GicLogRecordOptTypeEnum
.
HB_1000_01
,
userFunc
=
LogRecordUserServiceImpl
.
class
,
optPage
=
"客户群群发"
)
public
RestResponse
<
Object
>
save
(
@RequestBody
GroupChatPlanDTO
dto
)
{
if
(
StringUtils
.
isBlank
(
dto
.
getStaffIdList
()))
{
return
RestResponse
.
failure
(
"9999"
,
"请选择群主"
);
...
...
@@ -81,7 +81,7 @@ public class GroupChatPlanController {
}
@RequestMapping
(
"del"
)
@GicLogRecord
(
value
=
"${#logValue}"
,
category
=
GicLogRecordCategoryEnum
.
H
UOMA
,
optType
=
GicLogRecordOptTypeEnum
.
HM_LINK_ADD
,
userFunc
=
LogRecordUserServiceImpl
.
class
,
optPage
=
"客户群群发"
)
@GicLogRecord
(
value
=
"${#logValue}"
,
category
=
GicLogRecordCategoryEnum
.
H
B_QF
,
optType
=
GicLogRecordOptTypeEnum
.
HB_1000_04
,
userFunc
=
LogRecordUserServiceImpl
.
class
,
optPage
=
"客户群群发"
)
public
RestResponse
<
Object
>
del
(
Long
planId
)
{
if
(
null
==
planId
)
{
return
RestResponse
.
failure
(
"9999"
,
"计划ID空"
);
...
...
@@ -108,7 +108,7 @@ public class GroupChatPlanController {
* @throws
*/
@RequestMapping
(
"stop"
)
@GicLogRecord
(
value
=
"${#logValue}"
,
category
=
GicLogRecordCategoryEnum
.
H
UOMA
,
optType
=
GicLogRecordOptTypeEnum
.
HM_LINK_ADD
,
userFunc
=
LogRecordUserServiceImpl
.
class
,
optPage
=
"客户群群发"
)
@GicLogRecord
(
value
=
"${#logValue}"
,
category
=
GicLogRecordCategoryEnum
.
H
B_QF
,
optType
=
GicLogRecordOptTypeEnum
.
HB_1000_03
,
userFunc
=
LogRecordUserServiceImpl
.
class
,
optPage
=
"客户群群发"
)
public
RestResponse
<
Object
>
stop
(
Long
planId
)
{
if
(
null
==
planId
)
{
return
RestResponse
.
failure
(
"9999"
,
"计划ID空"
);
...
...
@@ -126,6 +126,7 @@ public class GroupChatPlanController {
}
@RequestMapping
(
"update"
)
@GicLogRecord
(
value
=
"${#logValue}"
,
category
=
GicLogRecordCategoryEnum
.
HB_QF
,
optType
=
GicLogRecordOptTypeEnum
.
HB_1000_02
,
userFunc
=
LogRecordUserServiceImpl
.
class
,
optPage
=
"客户群群发"
)
public
RestResponse
<
Object
>
update
(
@RequestBody
GroupChatPlanDTO
dto
)
{
logger
.
info
(
"更新参数={}"
,
JSON
.
toJSONString
(
dto
));
ServiceResponse
<
GroupChatPlanDTO
>
resp
=
this
.
groupChatPlanApiService
.
detail
(
dto
.
getPlanId
());
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/vo/chat/GroupChatHmVO.java
View file @
f2c36d62
...
...
@@ -41,8 +41,8 @@ public class GroupChatHmVO implements Serializable {
private
Integer
statusFlag
;
// 可以群数
private
Integer
usableChatCount
;
private
String
useRemark
;
private
String
useRemark
;
public
String
getUseRemark
()
{
return
useRemark
;
}
...
...
@@ -60,6 +60,9 @@ public class GroupChatHmVO implements Serializable {
}
public
Integer
getUsableChatCount
()
{
if
(
null
==
usableChatCount
)
{
return
0
;
}
return
usableChatCount
;
}
...
...
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