jk-GitHub-coder 4 년 전
부모
커밋
55bf5afd0b

+ 14 - 14
YijiaRestful/src/main/resources/mapper/CustomerPointsMapper.xml

@@ -3,20 +3,20 @@
 <mapper namespace="com.platform.yijia.dao.CustomerPointsMapper">
   <!--返回结果-->
   <resultMap id="BaseResultMap" type="com.platform.yijia.pojo.CustomerPoints">
-    <id column="id" jdbcType="INTEGER" property="id" />
-    <result column="union_id" jdbcType="VARCHAR" property="unionId" />
-    <result column="blog_openid" jdbcType="VARCHAR" property="blogOpenId" />
-    <result column="mina_openid" jdbcType="VARCHAR" property="minaOpenId" />
-    <result column="mobile_phone" jdbcType="VARCHAR" property="mobilePhone" />
-    <result column="customer_name" jdbcType="VARCHAR" property="customerName" />
-    <result column="points" jdbcType="INTEGER" property="points" />
-    <result column="consumption_points" jdbcType="INTEGER" property="consumptionPoints" />
-    <result column="accumulate_points" jdbcType="INTEGER" property="accumulatePoints" />
-    <result column="invalid_points" jdbcType="INTEGER" property="invalidPoints" />
-    <result column="recent_consumption_date" jdbcType="DATE" property="recentConsumptionDate" />
-    <result column="station_id" jdbcType="INTEGER" property="stationId" />
-    <result column="station_name" jdbcType="VARCHAR" property="stationName" />
-    <result column="create_time" jdbcType="DATE" property="createTime" />
+    <id column="id"                           jdbcType="INTEGER"  property="id" />
+    <result column="union_id"                 jdbcType="VARCHAR"  property="unionId" />
+    <result column="blog_openid"              jdbcType="VARCHAR"  property="blogOpenId" />
+    <result column="mina_openid"              jdbcType="VARCHAR"  property="minaOpenId" />
+    <result column="mobile_phone"             jdbcType="VARCHAR"  property="mobilePhone" />
+    <result column="customer_name"            jdbcType="VARCHAR"  property="customerName" />
+    <result column="points"                   jdbcType="INTEGER"  property="points" />
+    <result column="consumption_points"       jdbcType="INTEGER"  property="consumptionPoints" />
+    <result column="accumulate_points"        jdbcType="INTEGER"  property="accumulatePoints" />
+    <result column="invalid_points"           jdbcType="INTEGER"  property="invalidPoints" />
+    <result column="recent_consumption_date"  jdbcType="DATE"     property="recentConsumptionDate" />
+    <result column="station_id"               jdbcType="INTEGER"  property="stationId" />
+    <result column="station_name"             jdbcType="VARCHAR"  property="stationName" />
+    <result column="create_time"              jdbcType="DATE"     property="createTime" />
   </resultMap>
 
   <!--查询列-->

+ 11 - 11
YijiaRestful/src/main/resources/mapper/IntegralOrderMapper.xml

@@ -3,17 +3,17 @@
 <mapper namespace="com.platform.yijia.dao.IntegralOrderMapper">
   <!--返回结果-->
   <resultMap id="BaseResultMap" type="com.platform.yijia.pojo.IntegralOrder">
-    <id column="id" jdbcType="INTEGER" property="id" />
-    <result column="integral_order_no" jdbcType="INTEGER" property="integralOrderNo" />
-    <result column="wares_type" jdbcType="VARCHAR" property="waresType" />
-    <result column="wares_name" jdbcType="VARCHAR" property="waresName" />
-    <result column="union_id" jdbcType="VARCHAR" property="unionId" />
-    <result column="customer_name" jdbcType="VARCHAR" property="customerName" />
-    <result column="exchange_num" jdbcType="INTEGER" property="exchangeNum" />
-    <result column="exchange_time" jdbcType="DATE" property="exchangeTime" />
-    <result column="status" jdbcType="VARCHAR" property="status" />
-    <result column="integral" jdbcType="INTEGER" property="integral" />
-    <result column="station_id" jdbcType="INTEGER" property="stationId" />
+    <id column="id"                     jdbcType="INTEGER" property="id" />
+    <result column="integral_order_no"  jdbcType="INTEGER" property="integralOrderNo" />
+    <result column="wares_type"         jdbcType="VARCHAR" property="waresType" />
+    <result column="wares_name"         jdbcType="VARCHAR" property="waresName" />
+    <result column="union_id"           jdbcType="VARCHAR" property="unionId" />
+    <result column="customer_name"      jdbcType="VARCHAR" property="customerName" />
+    <result column="exchange_num"       jdbcType="INTEGER" property="exchangeNum" />
+    <result column="exchange_time"      jdbcType="DATE"    property="exchangeTime" />
+    <result column="status"             jdbcType="VARCHAR" property="status" />
+    <result column="integral"           jdbcType="INTEGER" property="integral" />
+    <result column="station_id"         jdbcType="INTEGER" property="stationId" />
   </resultMap>
 
   <!--查询列-->

+ 15 - 15
YijiaRestful/src/main/resources/mapper/IntegralRuleMapper.xml

@@ -4,21 +4,21 @@
   <!--返回结果-->
   <resultMap id="BaseResultMap" type="com.platform.yijia.pojo.IntegralRule">
     <id column="id" jdbcType="INTEGER" property="id" />
-    <result column="station_id" jdbcType="INTEGER" property="stationId" />
-    <result column="station_name" jdbcType="VARCHAR" property="stationName" />
-    <result column="rule_type" jdbcType="VARCHAR" property="ruleType" />
-    <result column="rule_amt" jdbcType="DECIMAL" property="ruleAmt" />
-    <result column="gread" jdbcType="VARCHAR" property="gread" />
-    <result column="oil_name" jdbcType="VARCHAR" property="oilName" />
-    <result column="sale_amt" jdbcType="DECIMAL" property="saleAmt" />
-    <result column="integral" jdbcType="DECIMAL" property="integral" />
-    <result column="term_date_manage" jdbcType="VARCHAR" property="termDateManage" />
-    <result column="empty_date" jdbcType="DATE" property="emptyDate" />
-    <result column="expiration_reminder" jdbcType="VARCHAR" property="expirationReminder" />
-    <result column="remind_date" jdbcType="DATE" property="remindDate" />
-    <result column="integral_activity" jdbcType="VARCHAR" property="integralActivity" />
-    <result column="date_picker" jdbcType="VARCHAR" property="datePicker" />
-    <result column="integral_proportion" jdbcType="VARCHAR" property="integralProportion" />
+    <result column="station_id"             jdbcType="INTEGER" property="stationId" />
+    <result column="station_name"           jdbcType="VARCHAR" property="stationName" />
+    <result column="rule_type"              jdbcType="VARCHAR" property="ruleType" />
+    <result column="rule_amt"               jdbcType="DECIMAL" property="ruleAmt" />
+    <result column="gread"                  jdbcType="VARCHAR" property="gread" />
+    <result column="oil_name"               jdbcType="VARCHAR" property="oilName" />
+    <result column="sale_amt"               jdbcType="DECIMAL" property="saleAmt" />
+    <result column="integral"               jdbcType="DECIMAL" property="integral" />
+    <result column="term_date_manage"       jdbcType="VARCHAR" property="termDateManage" />
+    <result column="empty_date"             jdbcType="DATE"    property="emptyDate" />
+    <result column="expiration_reminder"    jdbcType="VARCHAR" property="expirationReminder" />
+    <result column="remind_date"            jdbcType="DATE"    property="remindDate" />
+    <result column="integral_activity"      jdbcType="VARCHAR" property="integralActivity" />
+    <result column="date_picker"            jdbcType="VARCHAR" property="datePicker" />
+    <result column="integral_proportion"    jdbcType="VARCHAR" property="integralProportion" />
     <result column="integral_deduction_oil" jdbcType="VARCHAR" property="integralDeductionOil" />
   </resultMap>