From e02140f55de383f9be8337b3051a9cfaac0395a7 Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Wed, 18 Dec 2024 16:43:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=8F=E5=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/material/order/OrderInfoMapper.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/order/OrderInfoMapper.xml b/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/order/OrderInfoMapper.xml index b0c508f..c3fa9f5 100644 --- a/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/order/OrderInfoMapper.xml +++ b/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/order/OrderInfoMapper.xml @@ -273,6 +273,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" hh.rent_over_user, hh.rent_over_time, hh.change_cost as changeCost, + hh.relief_cost as reliefCost, CASE WHEN DATE(hh.rent_over_time) = DATE(hh.pre_outbound_time) THEN 1 ELSE TIMESTAMPDIFF(DAY, hh.pre_outbound_time, hh.rent_over_time) + 1 @@ -295,6 +296,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" hh.num, mt.manage_type, mt.lease_price as dayLeasePrice, + hh.relief_cost as reliefCost, CASE WHEN DATE(hh.relief_start_time) = DATE(hh.relief_end_time) THEN 1 ELSE TIMESTAMPDIFF(DAY, hh.relief_start_time, hh.relief_end_time) + 1