Commit 3d214e9a authored by 罗林杰's avatar 罗林杰

修改查询

parent 371dfb84
......@@ -587,6 +587,7 @@ public class MemInfo extends CyIdIncreEntity<MemInfo> {
* @column mem_constellation
* @default
*/
@TableField(exist = false)
@Excel(name = "星座,1-12 水瓶-摩羯 ,根据birthday,自动带入", orderNum = "4", width = 20)
private List<String> memConstellationList;
}
......
......@@ -114,5 +114,16 @@ public class MemLeaveMessage extends CyIdIncreNotDataEntity<MemLeaveMessage> {
@TableField(exist = false)
private String wxOpenid;
/**
* 发送人会员编号
*/
@TableField(exist = false)
private String createMemCode;
/**
* 接收人会员编号
*/
@TableField(exist = false)
private String targetMemCode;
}
......@@ -78,6 +78,12 @@
LEFT JOIN mem_info mi ON mi.user_id = oulm.create_by
LEFT JOIN mem_info mo ON mo.user_id = oulm.target_id
where 1=1
<if test="entity.createMemCode !=null and entity.createMemCode != '' ">
and mi.mem_code = #{entity.createMemCode}
</if>
<if test="entity.targetMemCode !=null and entity.targetMemCode != '' ">
and mo.mem_code = #{entity.targetMemCode}
</if>
<if test="entity.createName !=null and entity.createName != '' ">
and mi.mem_nick_name like concat('%',#{entity.createName},'%')
</if>
......
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