jk-GitHub-coder 4 år sedan
förälder
incheckning
3eeb36aef4
1 ändrade filer med 14 tillägg och 14 borttagningar
  1. 14 14
      YijiaRestful/src/main/resources/mapper/CustomerPointsMapper.xml

+ 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="TIMESTAMP"  property="recentConsumptionDate" />
+    <result column="station_id"               jdbcType="INTEGER"    property="stationId" />
+    <result column="station_name"             jdbcType="VARCHAR"    property="stationName" />
+    <result column="create_time"              jdbcType="TIMESTAMP"  property="createTime" />
   </resultMap>
 
   <!--查询列-->