Commit a79cf6e7 by 徐高华

Merge branch 'feature/社群' into 'developer'

小程序查询

See merge request !813
parents 4e4dd505 1f1143ee
...@@ -191,6 +191,10 @@ public class GroupChatPlanOwnerLogServiceImpl implements GroupChatPlanOwnerLogSe ...@@ -191,6 +191,10 @@ public class GroupChatPlanOwnerLogServiceImpl implements GroupChatPlanOwnerLogSe
if (clerkType == 1) { if (clerkType == 1) {
storeId = clerk.getStoreId(); storeId = clerk.getStoreId();
clerkId = null; clerkId = null;
qdto.setClerkId(null);
if (StringUtils.isNotBlank(qdto.getSearchClerkId())) {
qdto.setClerkId(qdto.getSearchClerkId());
}
} }
qdto.setStoreId(storeId); qdto.setStoreId(storeId);
PageHelper.startPage(basePageInfo); PageHelper.startPage(basePageInfo);
......
...@@ -167,6 +167,9 @@ ...@@ -167,6 +167,9 @@
<if test="null != sendStatus"> <if test="null != sendStatus">
and a.send_status = #{sendStatus} and a.send_status = #{sendStatus}
</if> </if>
<if test="null != searchParams">
and b.name like #{searchParams}
</if>
group by b.plan_id group by b.plan_id
order by a.create_time desc , a.owner_log_id order by a.create_time desc , a.owner_log_id
......
...@@ -57,7 +57,7 @@ public class GroupChatPlanController { ...@@ -57,7 +57,7 @@ public class GroupChatPlanController {
qdto.setEnterpriseId(enterpriseId); qdto.setEnterpriseId(enterpriseId);
qdto.setClerkId(clerkId); qdto.setClerkId(clerkId);
if (StringUtils.isNotBlank(searchParams)) { if (StringUtils.isNotBlank(searchParams)) {
qdto.setSearchParams(searchParams); qdto.setSearchParams("%"+searchParams+"%");
} }
ServiceResponse<Page<ChatOwnerTotalDTO>> pageResp = this.groupChatPlanApiService ServiceResponse<Page<ChatOwnerTotalDTO>> pageResp = this.groupChatPlanApiService
.listOwnerLogPageForWxaTotal(qdto, basePageInfo); .listOwnerLogPageForWxaTotal(qdto, basePageInfo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment