账户消费记录查询

This commit is contained in:
gaowdong 2025-05-09 10:36:46 +08:00
parent 981348b579
commit 7decccceab
2 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,7 @@ public class AccConsumeDetailQueryParam extends BaseEntity {
@ApiModelProperty("交易类型") @ApiModelProperty("交易类型")
private Integer tradeType; private Integer tradeType;
private Integer walletId; private Integer walletId;
private Integer userType;
private String searchValue; private String searchValue;
public AccConsumeDetailQueryParam() { public AccConsumeDetailQueryParam() {
this.endDateTime = LocalDateTime.now().plusDays(7); this.endDateTime = LocalDateTime.now().plusDays(7);

View File

@ -328,6 +328,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="param.walletId != null"> <if test="param.walletId != null">
and atwd.wallet_id = #{param.walletId} and atwd.wallet_id = #{param.walletId}
</if> </if>
<if test="param.userType != null">
and su.user_type = #{param.userType}
</if>
<if test="param.deptIdList != null and param.deptIdList.size() > 0"> <if test="param.deptIdList != null and param.deptIdList.size() > 0">
and sd.dept_id in and sd.dept_id in
<foreach collection="param.deptIdList" item="deptId" separator="," open="(" close=")"> <foreach collection="param.deptIdList" item="deptId" separator="," open="(" close=")">