订单详情表加字段

This commit is contained in:
Guoqs
2025-10-13 16:50:24 +08:00
parent 25be44af31
commit 9e08d916f7
2 changed files with 18 additions and 0 deletions

View File

@@ -25,6 +25,16 @@ public class OrderDetail {
*/
private String orderCode;
/**
* 电表开始值
*/
private String ammeterTotalStart;
/**
* 电表结束值
*/
private String ammeterTotalEnd;
/**
* 总用电量
*/

View File

@@ -1808,10 +1808,14 @@
<resultMap id="OrderDetailResult" type="com.jsowell.pile.domain.OrderDetail">
<result column="id" property="id"/>
<result column="order_code" property="orderCode"/>
<result column="ammeter_total_start" property="ammeterTotalStart"/>
<result column="ammeter_total_end" property="ammeterTotalEnd"/>
<result column="total_used_electricity" property="totalUsedElectricity"/>
<result column="total_order_amount" property="totalOrderAmount"/>
<result column="total_electricity_amount" property="totalElectricityAmount"/>
<result column="discount_electricity_amount" property="discountElectricityAmount"/>
<result column="total_service_amount" property="totalServiceAmount"/>
<result column="discount_service_amount" property="discountServiceAmount"/>
<result column="sharp_price" property="sharpPrice"/>
<result column="sharp_used_electricity" property="sharpUsedElectricity"/>
<result column="sharp_electricity_price" property="sharpElectricityPrice"/>
@@ -1848,10 +1852,14 @@
<sql id="Detail_Base_Column_List">
id,
order_code,
ammeter_total_start,
ammeter_total_end,
total_used_electricity,
total_order_amount,
total_electricity_amount,
discount_electricity_amount,
total_service_amount,
discount_service_amount,
sharp_price,
sharp_used_electricity,
sharp_electricity_price,