查询修改
This commit is contained in:
parent
8e52b85a55
commit
e998808551
|
|
@ -21,6 +21,7 @@ public class AccWalletOperationQueryParam extends BaseEntity {
|
||||||
private LocalDateTime endDateTime;
|
private LocalDateTime endDateTime;
|
||||||
@ApiModelProperty("交易类型")
|
@ApiModelProperty("交易类型")
|
||||||
private Integer tradeType;
|
private Integer tradeType;
|
||||||
|
private Integer payState;
|
||||||
private String searchValue;
|
private String searchValue;
|
||||||
private String createBy;
|
private String createBy;
|
||||||
private Long userId;
|
private Long userId;
|
||||||
|
|
|
||||||
|
|
@ -242,7 +242,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
LEFT JOIN sys_dept sd ON sd.dept_id = ate.dept_id
|
LEFT JOIN sys_dept sd ON sd.dept_id = ate.dept_id
|
||||||
LEFT JOIN acc_trade_wallet_detail atwd ON ate.trade_id = atwd.trade_id
|
LEFT JOIN acc_trade_wallet_detail atwd ON ate.trade_id = atwd.trade_id
|
||||||
<where>
|
<where>
|
||||||
ate.trade_type = #{param.tradeType} and ate.pay_state = 3
|
<if test="param.tradeType != null">
|
||||||
|
ate.trade_type = #{param.tradeType}
|
||||||
|
</if>
|
||||||
|
<if test="param.payState != null">
|
||||||
|
and ate.pay_state = #{param.payState}
|
||||||
|
</if>
|
||||||
<if test="param.startDateTime != null">
|
<if test="param.startDateTime != null">
|
||||||
and ate.trade_time <![CDATA[ >= ]]> #{param.startDateTime}
|
and ate.trade_time <![CDATA[ >= ]]> #{param.startDateTime}
|
||||||
</if>
|
</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue