Commit 7ed6eef6 authored by liwei's avatar liwei

修改了金币流水查询bug

parent 8f587c24
......@@ -128,7 +128,7 @@ public class MemGoldCoinFlowServiceImpl extends ServiceImpl<MemGoldCoinFlowRepos
return baseMapper.appQueryMemGoldCoinFlowsPaged(paginationUtility,memGoldCoinFlow);
} else {
//管理端
return baseMapper.queryMemGoldCoinFlowsPaged(paginationUtility,memGoldCoinFlow);
return baseMapper.queryMemGoldCoinFlowsPaged(paginationUtility, memGoldCoinFlow);
}
}
......
......@@ -53,30 +53,23 @@
left join sys_user su on su.business_id = mgcf.target_id
where 1=1
and mgcf.del_flag = '0'
and mgcf.create_by = #{entity.targetId}
<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 != '' ">
and mgcf.flag = #{entity.flag}
<if test="entity.targetId !=null and entity.targetId != '' ">
and mgcf.create_by = #{entity.targetId}
</if>
<if test="entity.orderId !=null">
and mgcf.order_id like concat('%',#{entity.orderId},'%')
</if>
<if test="entity.type !=null and entity.type != '' ">
and type = #{entity.type}
and mgcf.type = #{entity.type}
</if>
<if test="entity.actionType !=null and entity.actionType != '' ">
and action_type = #{entity.actionType}
</if>
<if test="entity.count !=null and entity.count != '' ">
and count = #{entity.count}
</if>
<if test="entity.endCount !=null and entity.endCount != '' ">
and end_count = #{entity.endCount}
</if>
<if test="entity.orderId !=null and entity.orderId != '' ">
and order_id = #{entity.orderId}
and mgcf.action_type = #{entity.actionType}
</if>
<if test="entity.userNickName !=null and entity.userNickName != '' ">
and su.nick_name like concat('%',#{entity.userNickName},'%')
......
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