From 7b43c04dd530bdd193e0cf02c4e19ba7c2ee2c11 Mon Sep 17 00:00:00 2001 From: liuhaonan <31457034@qq.com> Date: 星期三, 11 五月 2022 10:41:31 +0800 Subject: [PATCH] 设备归属 --- dao/src/main/resources/mapper/C3mOrderMapper.xml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 40 insertions(+), 0 deletions(-) diff --git a/dao/src/main/resources/mapper/C3mOrderMapper.xml b/dao/src/main/resources/mapper/C3mOrderMapper.xml new file mode 100644 index 0000000..8f4aefb --- /dev/null +++ b/dao/src/main/resources/mapper/C3mOrderMapper.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE mapper + PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> +<mapper namespace="com.sandu.ximon.dao.mapper.C3mOrderMapper"> + + <resultMap id="BaseResultMap" type="com.sandu.ximon.dao.domain.C3mOrder"> + <id property="orderId" column="order_id" jdbcType="BIGINT"/> + <result property="poleId" column="pole_id" jdbcType="BIGINT"/> + <result property="c3Mac" column="c3_mac" jdbcType="VARCHAR"/> + <result property="poleMac" column="pole_mac" jdbcType="VARCHAR"/> + <result property="outTradeNo" column="out_trade_no" jdbcType="VARCHAR"/> + <result property="orderType" column="order_type" jdbcType="VARCHAR"/> + <result property="totalAmount" column="total_amount" jdbcType="DOUBLE"/> + <result property="receiptAmount" column="receipt_amount" jdbcType="DOUBLE"/> + <result property="refundAmount" column="refund_amount" jdbcType="DOUBLE"/> + <result property="aliBuyerLogonId" column="ali_buyer_logon_id" jdbcType="VARCHAR"/> + <result property="subscribeChargingCapacity" column="subscribe_charging_capacity" jdbcType="INTEGER"/> + <result property="actualChargingCapacity" column="actual_charging_capacity" jdbcType="DOUBLE"/> + <result property="createTimestamp" column="create_timestamp" jdbcType="BIGINT"/> + <result property="payTimestamp" column="pay_timestamp" jdbcType="BIGINT"/> + <result property="refundTimestamp" column="refund_timestamp" jdbcType="BIGINT"/> + <result property="refundMsg" column="refund_msg" jdbcType="VARCHAR"/> + <result property="startChargingTimestamp" column="start_charging_timestamp" jdbcType="BIGINT"/> + <result property="stopChargingTimestamp" column="stop_charging_timestamp" jdbcType="BIGINT"/> + <result property="orderStatus" column="order_status" jdbcType="INTEGER"/> + <result property="c3Name" column="c3_name" jdbcType="VARCHAR"/> + <result property="poleName" column="pole_name" jdbcType="VARCHAR"/> + </resultMap> + + <sql id="Base_Column_List"> + order_id,pole_id,c3_mac, + pole_mac,out_trade_no,order_type, + total_amount,receipt_amount,refund_amount, + ali_buyer_logon_id,subscribe_charging_capacity,actual_charging_capacity, + create_timestamp,pay_timestamp,refund_timestamp, + refund_msg,start_charging_timestamp,stop_charging_timestamp, + order_status,c3_name,pole_name + </sql> +</mapper> -- Gitblit v1.9.3