Commit 1f1143ee by 徐高华

小程序查询

parent 296c28b9
......@@ -191,6 +191,10 @@ public class GroupChatPlanOwnerLogServiceImpl implements GroupChatPlanOwnerLogSe
if (clerkType == 1) {
storeId = clerk.getStoreId();
clerkId = null;
qdto.setClerkId(null);
if (StringUtils.isNotBlank(qdto.getSearchClerkId())) {
qdto.setClerkId(qdto.getSearchClerkId());
}
}
qdto.setStoreId(storeId);
PageHelper.startPage(basePageInfo);
......
......@@ -167,6 +167,9 @@
<if test="null != sendStatus">
and a.send_status = #{sendStatus}
</if>
<if test="null != searchParams">
and b.name like #{searchParams}
</if>
group by b.plan_id
order by a.create_time desc , a.owner_log_id
......
......@@ -57,7 +57,7 @@ public class GroupChatPlanController {
qdto.setEnterpriseId(enterpriseId);
qdto.setClerkId(clerkId);
if (StringUtils.isNotBlank(searchParams)) {
qdto.setSearchParams(searchParams);
qdto.setSearchParams("%"+searchParams+"%");
}
ServiceResponse<Page<ChatOwnerTotalDTO>> pageResp = this.groupChatPlanApiService
.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