From 63bf3eac0b63606348e40d994a54de1cd4b6d3b9 Mon Sep 17 00:00:00 2001
From: yujian <yujian@163.com>
Date: 星期六, 28 三月 2020 16:44:50 +0800
Subject: [PATCH] 数据统计 + 会员

---
 fanli/src/main/java/com/yeshi/fanli/mapping/user/UserInfoRegisterMapper.xml |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/mapping/user/UserInfoRegisterMapper.xml b/fanli/src/main/java/com/yeshi/fanli/mapping/user/UserInfoRegisterMapper.xml
index 6f71bce..6331bbe 100644
--- a/fanli/src/main/java/com/yeshi/fanli/mapping/user/UserInfoRegisterMapper.xml
+++ b/fanli/src/main/java/com/yeshi/fanli/mapping/user/UserInfoRegisterMapper.xml
@@ -4,7 +4,7 @@
 <mapper namespace="com.yeshi.fanli.dao.mybatis.user.UserInfoRegisterMapper">
   <resultMap id="BaseResultMap" type="com.yeshi.fanli.entity.bus.user.UserInfoRegister">
     <id column="regt_id" property="id" jdbcType="BIGINT"/>
-    <result column="regt_channel" property="channel" typeHandler="com.yeshi.fanli.util.mybatishandler.ChannelEnumHandler"/>
+    <result column="regt_channel" property="channel" jdbcType="VARCHAR"/>
     <result column="regt_ip" property="ip" jdbcType="VARCHAR"/>
     <result column="regt_device" property="device" jdbcType="VARCHAR"/>
     <result column="regt_create_time" property="createTime" jdbcType="TIMESTAMP"/>
@@ -80,4 +80,9 @@
   </select>
   
   
+  <select id="listByDay"  resultMap="BaseResultMap">
+  	SELECT * FROM yeshi_ec_user_info_register
+	WHERE TO_DAYS(regt_create_time) = TO_DAYS(#{preDay})
+  </select>
+  
 </mapper>

--
Gitblit v1.8.0