feat:订单退款流水修改

This commit is contained in:
dzc committed 2025-06-10 15:58:51 +08:00
1 parent 1b657bab3d
commit 65026ed042
3 files changed
+6 -1

No files matched your search

@@ -19,6 +19,8 @@ public class HardOrderSumAndCountDto {
private LocalDateTime[] createTimeList;
private LocalDateTime[] refundTimeList;
private Long walletTypeId;
private List<Long> mchIds;
@@ -397,7 +397,7 @@ public class HardOrderTotalServiceImpl implements HardOrderTotalService {
refundDto.setUserDeptIds(deptIds);
refundDto.setOrderStatusCodes(HardOrderStatusEnum.getPayErrorCodes());
if (ObjectUtil.isNotEmpty(dto.getCreateTimeList())) {
refundDto.setCreateTimeList(dto.getCreateTimeList());
refundDto.setRefundTimeList(dto.getCreateTimeList());
}
if (ObjectUtil.isNotEmpty(dto.getWalletTypeId())) {
refundDto.setWalletTypeId(dto.getWalletTypeId());
@@ -368,6 +368,9 @@
<if test="dto.createTimeList != null and dto.createTimeList.length == 2">
and a.create_time between #{dto.createTimeList[0]} and #{dto.createTimeList[1]}
</if>
<if test="dto.refundTimeList != null and dto.refundTimeList.length == 2">
and r.audit_time between #{dto.refundTimeList[0]} and #{dto.refundTimeList[1]}
</if>
<if test="dto.mchIds != null and dto.mchIds.size() != 0">
and a.merchant_id in
<foreach collection="dto.mchIds" item="v" open="(" close=")" separator=",">