优化留言处理

master
elliott 2 years ago
parent b8f2536fe8
commit 843d83e5aa

@ -57,9 +57,9 @@ public class CtLeaveMessage extends BaseEntity
/** 查询结束时间 */ /** 查询结束时间 */
private Date endTime; private Date endTime;
/** 查询电话处理 */ /** 查询用户ID处理 */
private String userNumberStr; private String userNumberStr;
/** 查询用户电话处理 */
private WxUserMember wxUserMember; private WxUserMember wxUserMember;
public Long getUserId() { public Long getUserId() {

@ -101,7 +101,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and and
<foreach collection="userNumberStr.split(',')" index="index" item="item" open="(" separator="OR" <foreach collection="userNumberStr.split(',')" index="index" item="item" open="(" separator="OR"
close=")"> close=")">
user_number like concat('%', #{item}, '%') user_id = #{item}
</foreach> </foreach>
</if> </if>
<if test="userPhone!=null and userPhone !=''"> <if test="userPhone!=null and userPhone !=''">

Loading…
Cancel
Save