From 72cf5cdaef3be1e81da7f59d6ed61fe368f44816 Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期三, 08 一月 2025 14:48:46 +0800 Subject: [PATCH] add:物流发货针对散户更改微信发货方式,保存物流单号,未发送之前可更改 --- src/main/resources/mapper/wallet/WalletWithdrawRecordMapper.xml | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/wallet/WalletWithdrawRecordMapper.xml b/src/main/resources/mapper/wallet/WalletWithdrawRecordMapper.xml index f840ba2..fa6c5d8 100644 --- a/src/main/resources/mapper/wallet/WalletWithdrawRecordMapper.xml +++ b/src/main/resources/mapper/wallet/WalletWithdrawRecordMapper.xml @@ -21,8 +21,9 @@ <result column="reject_reason" property="rejectReason" /> </resultMap> <select id="queryPage" resultType="com.mzl.flower.dto.response.wallet.WalletWithdrawRecordVO"> - select t.* ,s.name supplierName from t_wallet_withdraw_record t + select t.* ,s.name supplierName , u.nick_name AS approveName from t_wallet_withdraw_record t left join t_supplier_info s on t.supplier_id = s.id + LEFT JOIN t_user u ON t.approve_by = u.id where t.deleted= 0 <if test="dto.supplierName != null and dto.supplierName != ''"> and s.name like concat('%', #{dto.supplierName}, '%') @@ -33,6 +34,10 @@ <if test="dto.approveState != null and dto.approveState != ''"> and t.approve_state = #{dto.approveState} </if> + <if test="dto.withdrawState != null and dto.withdrawState != ''"> + and t.withdraw_state = #{dto.withdrawState} + </if> + <if test="dto.createStartDate!=null "> AND DATE_FORMAT(t.create_time, '%Y-%m-%d') >= #{dto.createStartDate} </if> -- Gitblit v1.9.3