create_by,
		create_time,
		update_by,
		update_time,
			user_id,
			user_name,
			user_password,
			nick_name,
			avatar_url,
			open_id,
			union_id,
			gender,
			phone_number,
			area,
			city,
			province,
			country,
			session_key,
			last_login_time,
			user_status,
			user_vip,
			user_expiry_time,
			user_authentication,
			user_is_authorize,
			user_temp_name,
			user_temp_avatar_url,
			user_type,
            company_id
	
	
	
	
		#{item.createBy},
		now(),
		#{item.updateBy},
		now(),
			#{item.userId},
			#{item.userName},
			#{item.userPassword},
			#{item.nickName},
			#{item.avatarUrl},
			#{item.openId},
			#{item.unionId},
			#{item.gender},
			#{item.phoneNumber},
			#{item.area},
			#{item.city},
			#{item.province},
			#{item.country},
			#{item.sessionKey},
			#{item.lastLoginTime},
			#{item.userStatus},
			#{item.userVip},
			#{item.userExpiryTime},
			#{item.userAuthentication},
			#{item.userIsAuthorize},
			#{item.userTempName},
			#{item.userTempAvatarUrl},
			#{item.userType},
			#{item.companyId}
	
	
	
	
		 
		 
			
				and user_id  = #{record.userId} 
			
			
				and user_name  = #{record.userName} 
			
			
				and user_password  = #{record.userPassword} 
			
			
				and nick_name  like concat('%',#{record.nickName},'%')
			
			
				and avatar_url  = #{record.avatarUrl} 
			
			
				and open_id  = #{record.openId} 
			
			
				and union_id  = #{record.unionId} 
			
			
				and gender  = #{record.gender}
				
					or gender is null
				
			
			
				and phone_number  = #{record.phoneNumber} 
			
			
				and area  = #{record.area} 
			
			
				and city  = #{record.city} 
			
			
				and province  = #{record.province} 
			
			
				and country  = #{record.country} 
			
			
				and session_key  = #{record.sessionKey} 
			
			
				and last_login_time  = #{record.lastLoginTime} 
			
			
				and user_status  = #{record.userStatus} 
			
			
				and user_vip  = #{record.userVip} 
			
			
				and user_expiry_time  = #{record.userExpiryTime} 
			
			
				and user_authentication  = #{record.userAuthentication} 
			
			
				and user_is_authorize  = #{record.userIsAuthorize} 
			
			
				and user_temp_name  = #{record.userTempName} 
			
			
				and user_temp_avatar_url  = #{record.userTempAvatarUrl} 
			
			
				and user_type  = #{record.userType} 
			
			 
				 and company_id = #{record.companyId}
			 
			
				and date_format(create_time,'%Y-%m-%d') >= #{record.startTime}
			
            
              and date_format(create_time,'%Y-%m-%d') <= #{record.endTime}
            
		
		 
	
	
	
	
		INSERT INTO biz_user (
			 
		)
	VALUES (
		 
	)
	
	
	
	
	
	
		INSERT INTO biz_user (
			
		)
	VALUES 
	(
			
	)
	
	
	
	
	
	
	
	
		UPDATE biz_user
		
			
					user_name = #{userName},
						
			
					user_password = #{userPassword},
						
			
					nick_name = #{nickName},
						
			
					avatar_url = #{avatarUrl},
						
			
					open_id = #{openId},
						
			
					union_id = #{unionId},
						
			
					gender = #{gender},
						
			
					phone_number = #{phoneNumber},
						
			
					area = #{area},
						
			
					city = #{city},
						
			
					province = #{province},
						
			
					country = #{country},
						
			
					session_key = #{sessionKey},
						
			
					last_login_time = #{lastLoginTime},
						
			
					user_status = #{userStatus},
						
			
					user_vip = #{userVip},
						
			
					user_expiry_time = #{userExpiryTime},
						
			
					user_authentication = #{userAuthentication},
						
			
					user_is_authorize = #{userIsAuthorize},
						
			
					user_temp_name = #{userTempName},
						
			
					user_temp_avatar_url = #{userTempAvatarUrl},
						
			
					user_type = #{userType},
						
		
		WHERE user_id=#{userId} 
	 
	
	
	
	
		UPDATE biz_user
		
			
				user_name  = #{record.userName}, 
			
			
				user_password  = #{record.userPassword}, 
			
			
				nick_name  = #{record.nickName}, 
			
			
				avatar_url  = #{record.avatarUrl}, 
			
			
				open_id  = #{record.openId}, 
			
			
				union_id  = #{record.unionId}, 
			
			
				gender  = #{record.gender}, 
			
			
				phone_number  = #{record.phoneNumber}, 
			
			
				area  = #{record.area}, 
			
			
				city  = #{record.city}, 
			
			
				province  = #{record.province}, 
			
			
				country  = #{record.country}, 
			
			
				session_key  = #{record.sessionKey}, 
			
			
				last_login_time  = #{record.lastLoginTime}, 
			
			
				user_status  = #{record.userStatus}, 
			
			
				user_vip  = #{record.userVip}, 
			
			
				user_expiry_time  = #{record.userExpiryTime}, 
			
			
				user_authentication  = #{record.userAuthentication}, 
			
			
				user_is_authorize  = #{record.userIsAuthorize}, 
			
			
				user_temp_name  = #{record.userTempName}, 
			
			
				user_temp_avatar_url  = #{record.userTempAvatarUrl}, 
			
			
				user_type  = #{record.userType}, 
			
		
		WHERE user_id=#{record.userId} 
	
	
	
	
		delete from biz_user where  user_id in
		
			#{item}
		
	
		
	
	
		DELETE FROM biz_user
		where  user_id=#{userId} 
	
	
	
	
		DELETE FROM biz_user