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
61331f1b
Commit
61331f1b
authored
Dec 05, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
社群群发
parent
0c40b97c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletions
+11
-1
GroupChatPlanLogMapper.xml
...src/main/resources/mapper/chat/GroupChatPlanLogMapper.xml
+6
-0
GroupChatPlanController.java
...manage/web/controller/haoban/GroupChatPlanController.java
+5
-1
No files found.
haoban-manage3-service/src/main/resources/mapper/chat/GroupChatPlanLogMapper.xml
View file @
61331f1b
...
@@ -96,8 +96,14 @@
...
@@ -96,8 +96,14 @@
and (d.name like #{chatName} or d.wx_chat_id like #{wxChatId}
and (d.name like #{chatName} or d.wx_chat_id like #{wxChatId}
</if>
</if>
<if
test=
"null !=sendStatus"
>
<if
test=
"null !=sendStatus"
>
<if
test=
"sendStatus==30"
>
and a.send_status = in (0,3)
</if>
<if
test=
"sendStatus != 30"
>
and a.send_status = #{sendStatus}
and a.send_status = #{sendStatus}
</if>
</if>
</if>
<if
test=
"null != startDate"
>
<if
test=
"null != startDate"
>
and a.create_time
<![CDATA[>=]]>
#{startDate} and a.create_time
<![CDATA[<=]]>
#{endDate}
and a.create_time
<![CDATA[>=]]>
#{startDate} and a.create_time
<![CDATA[<=]]>
#{endDate}
</if>
</if>
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/haoban/GroupChatPlanController.java
View file @
61331f1b
...
@@ -213,7 +213,7 @@ public class GroupChatPlanController {
...
@@ -213,7 +213,7 @@ public class GroupChatPlanController {
*/
*/
@RequestMapping
(
"owner-do-list"
)
@RequestMapping
(
"owner-do-list"
)
public
RestResponse
<
Page
<
GroupChatPlanLogDTO
>>
ownerDoList
(
Long
planId
,
String
wxEnterpriseId
,
String
enterpriseId
,
Long
ownLogId
,
public
RestResponse
<
Page
<
GroupChatPlanLogDTO
>>
ownerDoList
(
Long
planId
,
String
wxEnterpriseId
,
String
enterpriseId
,
Long
ownLogId
,
BasePageInfo
basePageInfo
)
{
BasePageInfo
basePageInfo
,
Integer
sendStatus
)
{
if
(
null
==
planId
||
null
==
ownLogId
)
{
if
(
null
==
planId
||
null
==
ownLogId
)
{
return
RestResponse
.
failure
(
"1"
,
"参数未传"
);
return
RestResponse
.
failure
(
"1"
,
"参数未传"
);
}
}
...
@@ -222,6 +222,10 @@ public class GroupChatPlanController {
...
@@ -222,6 +222,10 @@ public class GroupChatPlanController {
qdto
.
setEnterpriseId
(
enterpriseId
);
qdto
.
setEnterpriseId
(
enterpriseId
);
qdto
.
setPlanId
(
planId
);
qdto
.
setPlanId
(
planId
);
qdto
.
setOwnLogId
(
ownLogId
);
qdto
.
setOwnLogId
(
ownLogId
);
if
(
null
==
sendStatus
)
{
sendStatus
=
2
;
}
qdto
.
setSendStatus
(
sendStatus
);
ServiceResponse
<
Page
<
GroupChatPlanLogDTO
>>
page
=
this
.
groupChatPlanApiService
.
listLogPage
(
planId
,
qdto
,
ServiceResponse
<
Page
<
GroupChatPlanLogDTO
>>
page
=
this
.
groupChatPlanApiService
.
listLogPage
(
planId
,
qdto
,
basePageInfo
);
basePageInfo
);
return
RestResponse
.
successResult
(
page
.
getResult
());
return
RestResponse
.
successResult
(
page
.
getResult
());
...
...
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