Commit d4bd7e36 authored by 罗林杰's avatar 罗林杰

修改消费记录

parent 00c37b55
...@@ -2,6 +2,7 @@ package org.rcisoft.business.memGoldCoinFlow.entity; ...@@ -2,6 +2,7 @@ package org.rcisoft.business.memGoldCoinFlow.entity;
import cn.afterturn.easypoi.excel.annotation.Excel; import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.*; import lombok.*;
import org.rcisoft.core.entity.CyIdIncreEntity; import org.rcisoft.core.entity.CyIdIncreEntity;
...@@ -74,5 +75,19 @@ public class MemGoldCoinFlow extends CyIdIncreEntity<MemGoldCoinFlow> { ...@@ -74,5 +75,19 @@ public class MemGoldCoinFlow extends CyIdIncreEntity<MemGoldCoinFlow> {
//用户 //用户
@TableField(exist = false) @TableField(exist = false)
private String userNickName; private String userNickName;
/**
* 开始时间
*/
@JsonIgnore
@TableField(exist = false)
private String beginTime;
/**
* 结束时间
*/
@JsonIgnore
@TableField(exist = false)
private String endTime;
} }
...@@ -53,6 +53,12 @@ ...@@ -53,6 +53,12 @@
left join sys_user su on su.business_id = mgcf.target_id left join sys_user su on su.business_id = mgcf.target_id
where 1=1 where 1=1
and mgcf.del_flag = '0' and mgcf.del_flag = '0'
<if test="entity.beginTime !=null and entity.beginTime != '' ">
and mgcf.create_date &gt;= #{entity.beginTime}
</if>
<if test="entity.endTime !=null and entity.endTime != '' ">
and mgcf.create_date &lt;= #{entity.endTime}
</if>
<if test="entity.flag !=null and entity.flag != '' "> <if test="entity.flag !=null and entity.flag != '' ">
and mgcf.flag = #{entity.flag} and mgcf.flag = #{entity.flag}
</if> </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