提交 57c396d0 authored 作者: 吴德鹏's avatar 吴德鹏

添加userId

上级 eb8721ac
...@@ -91,4 +91,11 @@ public class VirtualUserEntity implements Serializable { ...@@ -91,4 +91,11 @@ public class VirtualUserEntity implements Serializable {
return createTime; return createTime;
} }
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
} }
...@@ -171,7 +171,7 @@ ...@@ -171,7 +171,7 @@
) o ON u.user_id = o.user_id ) o ON u.user_id = o.user_id
LEFT JOIN ( SELECT o.user_id, count( o.coupon_id ) num FROM tb_cf_order o GROUP BY o.user_id ) c ON u.user_id = LEFT JOIN ( SELECT o.user_id, count( o.coupon_id ) num FROM tb_cf_order o GROUP BY o.user_id ) c ON u.user_id =
c.user_id c.user_id
WHERE 1=1 and `real`=1 WHERE 1=1 and `real` !=0
<if test="name != null and name.trim() != ''"> <if test="name != null and name.trim() != ''">
AND name LIKE concat('%',#{name},'%') AND name LIKE concat('%',#{name},'%')
</if> </if>
...@@ -200,7 +200,7 @@ ...@@ -200,7 +200,7 @@
<select id="queryTotal" resultType="int"> <select id="queryTotal" resultType="int">
select count(*) from tb_cf_user_info select count(*) from tb_cf_user_info
WHERE 1=1 and `real`=1 WHERE 1=1 and `real` !=0
<if test="name != null and name.trim() != ''"> <if test="name != null and name.trim() != ''">
AND name LIKE concat('%',#{name},'%') AND name LIKE concat('%',#{name},'%')
</if> </if>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论