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
3a446bfb
Commit
3a446bfb
authored
Dec 12, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
好办小程序群发
parent
220882b9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
6 deletions
+30
-6
GroupChatPlanSearchQDTO.java
...ban/manage/api/dto/qdto/chat/GroupChatPlanSearchQDTO.java
+9
-0
GroupChatPlanLogMapper.xml
...src/main/resources/mapper/chat/GroupChatPlanLogMapper.xml
+4
-0
GroupChatPlanController.java
...manage/web/controller/haoban/GroupChatPlanController.java
+17
-6
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/qdto/chat/GroupChatPlanSearchQDTO.java
View file @
3a446bfb
...
@@ -23,6 +23,15 @@ public class GroupChatPlanSearchQDTO implements Serializable {
...
@@ -23,6 +23,15 @@ public class GroupChatPlanSearchQDTO implements Serializable {
private
Date
endDate
;
private
Date
endDate
;
private
String
clerkId
;
private
String
clerkId
;
private
String
storeId
;
private
String
storeId
;
private
Long
ownLogId
;
public
Long
getOwnLogId
()
{
return
ownLogId
;
}
public
void
setOwnLogId
(
Long
ownLogId
)
{
this
.
ownLogId
=
ownLogId
;
}
public
String
getStoreId
()
{
public
String
getStoreId
()
{
return
storeId
;
return
storeId
;
...
...
haoban-manage3-service/src/main/resources/mapper/chat/GroupChatPlanLogMapper.xml
View file @
3a446bfb
...
@@ -80,5 +80,8 @@
...
@@ -80,5 +80,8 @@
LEFT JOIN tab_haoban_staff c ON a.`staff_id` = c.`staff_id`
LEFT JOIN tab_haoban_staff c ON a.`staff_id` = c.`staff_id`
LEFT JOIN tab_haoban_group_chat d ON a.group_chat_id = d.group_chat_id
LEFT JOIN tab_haoban_group_chat d ON a.group_chat_id = d.group_chat_id
where a.wx_enterprise_id = #{wxEnterpriseId} and a.plan_id = #{planId}
where a.wx_enterprise_id = #{wxEnterpriseId} and a.plan_id = #{planId}
<if
test=
"null != ownLogId"
>
and a.own_log_id = #{ownLogId}
</if>
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/haoban/GroupChatPlanController.java
View file @
3a446bfb
...
@@ -10,6 +10,7 @@ import com.gic.api.base.commons.Page;
...
@@ -10,6 +10,7 @@ import com.gic.api.base.commons.Page;
import
com.gic.api.base.commons.ServiceResponse
;
import
com.gic.api.base.commons.ServiceResponse
;
import
com.gic.commons.webapi.reponse.RestResponse
;
import
com.gic.commons.webapi.reponse.RestResponse
;
import
com.gic.haoban.manage.api.dto.chat.ChatOwnerTotalDTO
;
import
com.gic.haoban.manage.api.dto.chat.ChatOwnerTotalDTO
;
import
com.gic.haoban.manage.api.dto.chat.GroupChatPlanDTO
;
import
com.gic.haoban.manage.api.dto.chat.GroupChatPlanLogDTO
;
import
com.gic.haoban.manage.api.dto.chat.GroupChatPlanLogDTO
;
import
com.gic.haoban.manage.api.dto.chat.GroupChatPlanOwnerLogDTO
;
import
com.gic.haoban.manage.api.dto.chat.GroupChatPlanOwnerLogDTO
;
import
com.gic.haoban.manage.api.dto.qdto.chat.GroupChatPlanSearchQDTO
;
import
com.gic.haoban.manage.api.dto.qdto.chat.GroupChatPlanSearchQDTO
;
...
@@ -33,13 +34,12 @@ public class GroupChatPlanController {
...
@@ -33,13 +34,12 @@ public class GroupChatPlanController {
private
GroupChatPlanApiService
groupChatPlanApiService
;
private
GroupChatPlanApiService
groupChatPlanApiService
;
@RequestMapping
(
"total-list"
)
@RequestMapping
(
"total-list"
)
public
RestResponse
<
Object
>
totalList
(
Long
planId
,
String
clerkId
,
String
wxEnterpriseId
,
String
enterpriseId
,
public
RestResponse
<
Object
>
totalList
(
String
clerkId
,
String
wxEnterpriseId
,
String
enterpriseId
,
BasePageInfo
basePageInfo
)
{
BasePageInfo
basePageInfo
)
{
GroupChatPlanSearchQDTO
qdto
=
new
GroupChatPlanSearchQDTO
();
GroupChatPlanSearchQDTO
qdto
=
new
GroupChatPlanSearchQDTO
();
qdto
.
setWxEnterpriseId
(
wxEnterpriseId
);
qdto
.
setWxEnterpriseId
(
wxEnterpriseId
);
qdto
.
setEnterpriseId
(
enterpriseId
);
qdto
.
setEnterpriseId
(
enterpriseId
);
qdto
.
setClerkId
(
clerkId
);
qdto
.
setClerkId
(
clerkId
);
qdto
.
setPlanId
(
planId
);
ServiceResponse
<
Page
<
ChatOwnerTotalDTO
>>
page
=
this
.
groupChatPlanApiService
.
listOwnerLogPageForWxaTotal
(
qdto
,
ServiceResponse
<
Page
<
ChatOwnerTotalDTO
>>
page
=
this
.
groupChatPlanApiService
.
listOwnerLogPageForWxaTotal
(
qdto
,
basePageInfo
);
basePageInfo
);
return
RestResponse
.
successResult
(
page
.
getResult
());
return
RestResponse
.
successResult
(
page
.
getResult
());
...
@@ -58,20 +58,31 @@ public class GroupChatPlanController {
...
@@ -58,20 +58,31 @@ public class GroupChatPlanController {
return
RestResponse
.
successResult
(
page
.
getResult
());
return
RestResponse
.
successResult
(
page
.
getResult
());
}
}
@RequestMapping
(
"reflush-
qw
-msg"
)
@RequestMapping
(
"reflush-
send
-msg"
)
public
RestResponse
<
Object
>
reflush
(
String
wxEnterpriseId
,
String
enterpriseId
,
Long
own
er
LogId
)
{
public
RestResponse
<
Object
>
reflush
(
String
wxEnterpriseId
,
String
enterpriseId
,
Long
ownLogId
)
{
this
.
groupChatPlanApiService
.
reflushSendInfo
(
own
er
LogId
);
this
.
groupChatPlanApiService
.
reflushSendInfo
(
ownLogId
);
return
RestResponse
.
successResult
();
return
RestResponse
.
successResult
();
}
}
@RequestMapping
(
"detail"
)
public
RestResponse
<
Object
>
detail
(
Long
planId
)
{
ServiceResponse
<
GroupChatPlanDTO
>
linkResp
=
this
.
groupChatPlanApiService
.
detail
(
planId
);
if
(!
linkResp
.
isSuccess
())
{
return
RestResponse
.
failure
(
"1"
,
"计划不存在"
);
}
GroupChatPlanDTO
hm
=
linkResp
.
getResult
();
return
RestResponse
.
successResult
(
hm
);
}
@RequestMapping
(
"owner-do-list"
)
@RequestMapping
(
"owner-do-list"
)
public
RestResponse
<
Object
>
ownerDoList
(
Long
planId
,
String
clerkId
,
String
wxEnterpriseId
,
String
enterpriseId
,
public
RestResponse
<
Object
>
ownerDoList
(
Long
planId
,
String
clerkId
,
String
wxEnterpriseId
,
String
enterpriseId
,
Long
ownLogId
,
BasePageInfo
basePageInfo
)
{
BasePageInfo
basePageInfo
)
{
GroupChatPlanSearchQDTO
qdto
=
new
GroupChatPlanSearchQDTO
();
GroupChatPlanSearchQDTO
qdto
=
new
GroupChatPlanSearchQDTO
();
qdto
.
setWxEnterpriseId
(
wxEnterpriseId
);
qdto
.
setWxEnterpriseId
(
wxEnterpriseId
);
qdto
.
setEnterpriseId
(
enterpriseId
);
qdto
.
setEnterpriseId
(
enterpriseId
);
qdto
.
setClerkId
(
clerkId
);
qdto
.
setClerkId
(
clerkId
);
qdto
.
setPlanId
(
planId
);
qdto
.
setPlanId
(
planId
);
qdto
.
setOwnLogId
(
ownLogId
);
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