mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
后管运营商vip会员页面新增导出功能
This commit is contained in:
@@ -490,11 +490,23 @@
|
||||
t1.create_time as transactionTime
|
||||
from member_wallet_log t1
|
||||
left join order_basic_info t2 on t1.related_order_code = t2.order_code
|
||||
where t1.member_id = #{dto.memberId,jdbcType=VARCHAR}
|
||||
and t1.wallet_code = #{dto.walletCode,jdbcType=VARCHAR}
|
||||
and t1.create_time <![CDATA[ >= ]]> #{dto.tradeDate,jdbcType=VARCHAR}
|
||||
and t1.create_time <![CDATA[ < ]]> #{dto.endDate,jdbcType=VARCHAR}
|
||||
and t1.sub_type != '12'
|
||||
where t1.sub_type != '12'
|
||||
<if test="dto.memberId != null and dto.memberId != ''">
|
||||
and t1.member_id = #{dto.memberId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="dto.walletCode != null and dto.walletCode != ''">
|
||||
and t1.wallet_code = #{dto.walletCode,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="dto.tradeDate != null and dto.tradeDate != ''">
|
||||
and t1.create_time <![CDATA[ >= ]]> #{dto.tradeDate,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="dto.endDate != null and dto.endDate != ''">
|
||||
and t1.create_time <![CDATA[ < ]]> #{dto.endDate,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<!-- where t1.member_id = #{dto.memberId,jdbcType=VARCHAR}-->
|
||||
<!-- and t1.wallet_code = #{dto.walletCode,jdbcType=VARCHAR}-->
|
||||
<!-- and t1.create_time <![CDATA[ >= ]]> #{dto.tradeDate,jdbcType=VARCHAR}-->
|
||||
<!-- and t1.create_time <![CDATA[ < ]]> #{dto.endDate,jdbcType=VARCHAR}-->
|
||||
order by t1.create_time desc
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user