| 
					
				 | 
			
			
				@@ -0,0 +1,86 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<?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.yijia.station.mapper.SysAppUserInfoMapper"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <resultMap type="SysAppUserInfo" id="SysAppUserInfoResult"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    	<id     property="userId"      column="user_id"      /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="userType"    column="user_type"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="minaOpenid"     column="mina_openid"     /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="blogOpenid"   column="blog_openid"   /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="mobilePhone"    column="mobile_phone"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="sexFlag"      column="sex_flag"      /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="registeDate"    column="registe_date"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="blogToken"      column="blog_token"      /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="minaToken"    column="mina_token"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="blogNickName"    column="blog_nick_name"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="blogProfilePhoto"    column="blog_profile_photo"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="updateDate"    column="update_date"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="unionId"    column="union_id"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="stationId"    column="station_id"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <result property="aliId"    column="ali_id"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </resultMap> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <sql id="selectSysAppUserInfoVo"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        SELECT user_id,user_type,blog_openid,mina_openid,mobile_phone,blog_nick_name, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     sex_flag,registe_date,blog_token,mina_token,blog_profile_photo,update_date, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     union_id,station_id,ali_id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     from app_user_info 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <select id="selectSysAppUserInfoList" parameterType="SysAppUserInfo" resultMap="SysAppUserInfoResult"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <include refid="selectSysAppUserInfoVo"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="userType != null and userType != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				AND user_type =#{userType} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="minaOpenid != null and minaOpenid != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				AND mina_openid = #{minaOpenid} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="blogOpenid != null and blogOpenid != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                AND blog_openid = #{blogOpenid} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="sexFlag != null and sexFlag != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                AND sex_flag = #{sexFlag} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="registeDate != null and registeDate != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                AND registe_date = #{registeDate} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="blogToken != null and blogToken != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                AND blog_token = #{blogToken} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="minaOpenid != null and minaOpenid != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                AND mina_openid = #{minaOpenid} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="blogNickName != null and blogNickName != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                AND blog_nick_name = #{blogNickName} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="blogProfilePhoto != null and blogProfilePhoto != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                AND blog_profile_photo = #{blogProfilePhoto} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="updateDate != null and updateDate != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                AND update_date = #{updateDate} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="unionId != null and unionId != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                AND union_id = #{unionId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="stationId != null and stationId != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                AND station_id = #{stationId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <if test="aliId != null and aliId != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                AND ali_id = #{aliId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		</where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <select id="selectSysAppUserInfoById" parameterType="Long" resultMap="SysAppUserInfoResult"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <include refid="selectSysAppUserInfoVo"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        where user_id = #{userId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+</mapper> 
			 |