Commit 96f80c88 by 徐高华

朋友圈

parent d570721e
...@@ -13,6 +13,7 @@ public class GroupChatPlanSearchQDTO implements Serializable { ...@@ -13,6 +13,7 @@ public class GroupChatPlanSearchQDTO implements Serializable {
private String wxEnterpriseId; private String wxEnterpriseId;
private String enterpriseId; private String enterpriseId;
private String searchParams; private String searchParams;
private String searchParamsLike ;
// 1进行中、2未开始、3已结束 // 1进行中、2未开始、3已结束
private Integer status; private Integer status;
// 群主 0发送失败 1待发送 2已发送 3放弃 30(失败+放弃) // 群主 0发送失败 1待发送 2已发送 3放弃 30(失败+放弃)
...@@ -31,6 +32,14 @@ public class GroupChatPlanSearchQDTO implements Serializable { ...@@ -31,6 +32,14 @@ public class GroupChatPlanSearchQDTO implements Serializable {
// clerkTaskStatus 1待处理 2已处理/已失效 // clerkTaskStatus 1待处理 2已处理/已失效
private int clerkTaskStatus ; private int clerkTaskStatus ;
public String getSearchParamsLike() {
return searchParamsLike;
}
public void setSearchParamsLike(String searchParamsLike) {
this.searchParamsLike = searchParamsLike;
}
public int getClerkTaskStatus() { public int getClerkTaskStatus() {
return clerkTaskStatus; return clerkTaskStatus;
} }
......
...@@ -306,7 +306,7 @@ public class GroupChatPlanServiceImpl implements GroupChatPlanService { ...@@ -306,7 +306,7 @@ public class GroupChatPlanServiceImpl implements GroupChatPlanService {
public Page<GroupChatPlanBO> listPage(GroupChatPlanSearchQDTO qdto, BasePageInfo basePageInfo) { public Page<GroupChatPlanBO> listPage(GroupChatPlanSearchQDTO qdto, BasePageInfo basePageInfo) {
if (StringUtils.isNotBlank(qdto.getSearchParams())) { if (StringUtils.isNotBlank(qdto.getSearchParams())) {
String params = qdto.getSearchParams(); String params = qdto.getSearchParams();
qdto.setSearchParams("%" + params + "%"); qdto.setSearchParamsLike("%" + params + "%");
} }
PageHelper.startPage(basePageInfo); PageHelper.startPage(basePageInfo);
List<TabGroupChatPlan> list = this.groupChatPlanMapper.list(qdto); List<TabGroupChatPlan> list = this.groupChatPlanMapper.list(qdto);
......
...@@ -196,7 +196,7 @@ ...@@ -196,7 +196,7 @@
and end_time <![CDATA[<]]> now() and end_time <![CDATA[<]]> now()
</if> </if>
<if test="null != searchParams and '' != searchParams"> <if test="null != searchParams and '' != searchParams">
and name like #{searchParams} and ( name like #{searchParamsLike} or plan_id=#{searchParams} )
</if> </if>
<if test="null !=creatorIdList and creatorIdList.size>0"> <if test="null !=creatorIdList and creatorIdList.size>0">
and creator_id in and creator_id in
......
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