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
928c496c
Commit
928c496c
authored
Oct 24, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
群群发列表查询
parent
0452a961
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
3 deletions
+21
-3
GroupChatPlanSearchQDTO.java
...ban/manage/api/dto/qdto/chat/GroupChatPlanSearchQDTO.java
+11
-1
GroupChatPlanOwnerLogMapper.xml
...ain/resources/mapper/chat/GroupChatPlanOwnerLogMapper.xml
+6
-1
GroupChatPlanController.java
...manage/web/controller/haoban/GroupChatPlanController.java
+4
-1
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/qdto/chat/GroupChatPlanSearchQDTO.java
View file @
928c496c
...
@@ -28,7 +28,17 @@ public class GroupChatPlanSearchQDTO implements Serializable {
...
@@ -28,7 +28,17 @@ public class GroupChatPlanSearchQDTO implements Serializable {
private
List
<
String
>
creatorIdList
;
private
List
<
String
>
creatorIdList
;
private
String
wxChatId
;
private
String
wxChatId
;
private
String
searchClerkId
;
private
String
searchClerkId
;
// clerkTaskStatus 1待处理 2已处理/已失效
private
int
clerkTaskStatus
;
public
int
getClerkTaskStatus
()
{
return
clerkTaskStatus
;
}
public
void
setClerkTaskStatus
(
int
clerkTaskStatus
)
{
this
.
clerkTaskStatus
=
clerkTaskStatus
;
}
public
String
getSearchClerkId
()
{
public
String
getSearchClerkId
()
{
return
searchClerkId
;
return
searchClerkId
;
}
}
...
...
haoban-manage3-service/src/main/resources/mapper/chat/GroupChatPlanOwnerLogMapper.xml
View file @
928c496c
...
@@ -170,7 +170,12 @@
...
@@ -170,7 +170,12 @@
<if
test=
"null != searchParams"
>
<if
test=
"null != searchParams"
>
and b.name like #{searchParams}
and b.name like #{searchParams}
</if>
</if>
and b.end_time > now()
<if
test=
"1==clerkTaskStatus"
>
and b.end_time > now()
</if>
<if
test=
"2==clerkTaskStatus"
>
and b.end_time
<![CDATA[<=]]>
now()
</if>
group by b.plan_id
group by b.plan_id
having notSendCount
having notSendCount
order by b.end_time desc , a.create_time desc
order by b.end_time desc , a.create_time desc
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/haoban/GroupChatPlanController.java
View file @
928c496c
...
@@ -12,6 +12,7 @@ import org.apache.commons.lang3.StringUtils;
...
@@ -12,6 +12,7 @@ import org.apache.commons.lang3.StringUtils;
import
org.apache.logging.log4j.LogManager
;
import
org.apache.logging.log4j.LogManager
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
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.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONArray
;
...
@@ -44,9 +45,10 @@ public class GroupChatPlanController {
...
@@ -44,9 +45,10 @@ public class GroupChatPlanController {
@Autowired
@Autowired
private
MaterialApiService
materialApiService
;
private
MaterialApiService
materialApiService
;
// clerkTaskStatus 1待处理 2已处理/已失效
@RequestMapping
(
"total-list"
)
@RequestMapping
(
"total-list"
)
public
RestResponse
<
Object
>
totalList
(
String
clerkId
,
String
wxEnterpriseId
,
String
enterpriseId
,
public
RestResponse
<
Object
>
totalList
(
String
clerkId
,
String
wxEnterpriseId
,
String
enterpriseId
,
String
searchParams
,
BasePageInfo
basePageInfo
)
{
String
searchParams
,
BasePageInfo
basePageInfo
,
@RequestParam
(
defaultValue
=
"1"
)
int
clerkTaskStatus
)
{
if
(
StringUtils
.
isEmpty
(
clerkId
))
{
if
(
StringUtils
.
isEmpty
(
clerkId
))
{
return
RestResponse
.
failure
(
"1"
,
"clerkId为空"
);
return
RestResponse
.
failure
(
"1"
,
"clerkId为空"
);
}
}
...
@@ -57,6 +59,7 @@ public class GroupChatPlanController {
...
@@ -57,6 +59,7 @@ public class GroupChatPlanController {
if
(
StringUtils
.
isNotBlank
(
searchParams
))
{
if
(
StringUtils
.
isNotBlank
(
searchParams
))
{
qdto
.
setSearchParams
(
"%"
+
searchParams
+
"%"
);
qdto
.
setSearchParams
(
"%"
+
searchParams
+
"%"
);
}
}
qdto
.
setClerkTaskStatus
(
clerkTaskStatus
);
ServiceResponse
<
Page
<
ChatOwnerTotalDTO
>>
pageResp
=
this
.
groupChatPlanApiService
ServiceResponse
<
Page
<
ChatOwnerTotalDTO
>>
pageResp
=
this
.
groupChatPlanApiService
.
listOwnerLogPageForWxaTotal
(
qdto
,
basePageInfo
);
.
listOwnerLogPageForWxaTotal
(
qdto
,
basePageInfo
);
Page
<
ChatOwnerTotalDTO
>
page
=
pageResp
.
getResult
();
Page
<
ChatOwnerTotalDTO
>
page
=
pageResp
.
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