| 
					
				 | 
			
			
				@@ -8,6 +8,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="icon" jdbcType="VARCHAR" property="icon" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="email" jdbcType="VARCHAR" property="email" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="nick_name" jdbcType="VARCHAR" property="nickName" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="phone" jdbcType="VARCHAR" property="phone" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="note" jdbcType="VARCHAR" property="note" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="login_time" jdbcType="TIMESTAMP" property="loginTime" /> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -72,7 +73,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <sql id="Base_Column_List"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    id, username, password, icon, email, nick_name, note, create_time, login_time, status 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    id, username, password, icon, email, nick_name, note, create_time, login_time, status,phone 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <select id="selectByExample" parameterType="com.yonge.cooleshow.mbg.model.UmsAdminExample" resultMap="BaseResultMap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     select 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -110,11 +111,11 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </selectKey> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     insert into ums_admin (username, password, icon,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       email, nick_name, note,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      create_time, login_time, status 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      create_time, login_time, status,phone 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     values (#{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       #{email,jdbcType=VARCHAR}, #{nickName,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      #{createTime,jdbcType=TIMESTAMP}, #{loginTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{createTime,jdbcType=TIMESTAMP}, #{loginTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER},#{phone} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <insert id="insertSelective" parameterType="com.yonge.cooleshow.mbg.model.UmsAdmin"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -150,6 +151,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="status != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         status, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="phone != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        phone, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <trim prefix="values (" suffix=")" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="username != null"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -179,6 +183,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="status != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         #{status,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="phone != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{phone}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <select id="countByExample" parameterType="com.yonge.cooleshow.mbg.model.UmsAdminExample" resultType="java.lang.Long"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -220,6 +227,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="record.status != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         status = #{record.status,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="record.phone != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        phone = #{record.phone}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </set> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <if test="_parameter != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <include refid="Update_By_Example_Where_Clause" /> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -236,6 +246,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       note = #{record.note,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       create_time = #{record.createTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       login_time = #{record.loginTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      phone = #{record.phone}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       status = #{record.status,jdbcType=INTEGER} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <if test="_parameter != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <include refid="Update_By_Example_Where_Clause" /> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -271,6 +282,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="status != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         status = #{status,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="phone != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        phone = #{phone}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </set> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     where id = #{id,jdbcType=BIGINT} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </update> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -284,6 +298,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       note = #{note,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       create_time = #{createTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       login_time = #{loginTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      phone = #{phone}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       status = #{status,jdbcType=INTEGER} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     where id = #{id,jdbcType=BIGINT} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </update> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -291,24 +306,24 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <insert id="addRootAdmin"  parameterType="com.yonge.cooleshow.mbg.model.UmsAdmin"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     insert into ums_admin (id,username, password, icon, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     email, nick_name, note, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    create_time, login_time, status 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    create_time, login_time, status,phone 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     values (#{id,jdbcType=BIGINT},#{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     #{email,jdbcType=VARCHAR}, #{nickName,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    #{createTime,jdbcType=TIMESTAMP}, #{loginTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    #{createTime,jdbcType=TIMESTAMP}, #{loginTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER},#{phone} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <insert id="saveRootAdminList"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     replace into ums_admin (id,username, password, icon, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     email, nick_name, note, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    create_time, login_time, status 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    create_time, login_time, status,phone 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     values 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <foreach collection="adminList" separator="," close="" open="" item="item"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       (#{item.id,jdbcType=BIGINT},#{item.username,jdbcType=VARCHAR}, #{item.password,jdbcType=VARCHAR}, #{item.icon,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       #{item.email,jdbcType=VARCHAR}, #{item.nickName,jdbcType=VARCHAR}, #{item.note,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      #{item.createTime,jdbcType=TIMESTAMP}, #{item.loginTime,jdbcType=TIMESTAMP}, #{item.status,jdbcType=INTEGER} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{item.createTime,jdbcType=TIMESTAMP}, #{item.loginTime,jdbcType=TIMESTAMP}, #{item.status,jdbcType=INTEGER},#{item.phone} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </insert> 
			 |