|  | @@ -15,10 +15,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 | 
	
		
			
				|  |  |          <result property="updateBy"    column="update_by"    />
 | 
	
		
			
				|  |  |          <result property="updateTime"    column="update_time"    />
 | 
	
		
			
				|  |  |          <result property="remark"    column="remark"    />
 | 
	
		
			
				|  |  | +        <result property="onlineSeconds"    column="online_seconds"    />
 | 
	
		
			
				|  |  |      </resultMap>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      <sql id="selectLiveWatchUserVo">
 | 
	
		
			
				|  |  | -        select id, live_id,user_id, msg_status, online, create_time, create_by, update_by, update_time, remark from live_watch_user
 | 
	
		
			
				|  |  | +        select id, live_id,user_id, msg_status, online, create_time, create_by, update_by, update_time, remark,online_seconds from live_watch_user
 | 
	
		
			
				|  |  |      </sql>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      <select id="selectLiveWatchUserList" parameterType="LiveWatchUser" resultMap="LiveWatchUserResult">
 | 
	
	
		
			
				|  | @@ -28,6 +29,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 | 
	
		
			
				|  |  |              <if test="userId != null "> and user_id = #{userId}</if>
 | 
	
		
			
				|  |  |              <if test="msgStatus != null "> and msg_status = #{msgStatus}</if>
 | 
	
		
			
				|  |  |              <if test="online != null "> and online = #{online}</if>
 | 
	
		
			
				|  |  | +            <if test="onlineSeconds != null "> and online_seconds = #{onlineSeconds}</if>
 | 
	
		
			
				|  |  |          </where>
 | 
	
		
			
				|  |  |      </select>
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -93,6 +95,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 | 
	
		
			
				|  |  |              <if test="updateBy != null">update_by,</if>
 | 
	
		
			
				|  |  |              <if test="updateTime != null">update_time,</if>
 | 
	
		
			
				|  |  |              <if test="remark != null">remark,</if>
 | 
	
		
			
				|  |  | +            <if test="onlineSeconds != null">online_seconds,</if>
 | 
	
		
			
				|  |  |           </trim>
 | 
	
		
			
				|  |  |          <trim prefix="values (" suffix=")" suffixOverrides=",">
 | 
	
		
			
				|  |  |              <if test="liveId != null">#{liveId},</if>
 | 
	
	
		
			
				|  | @@ -104,6 +107,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 | 
	
		
			
				|  |  |              <if test="updateBy != null">#{updateBy},</if>
 | 
	
		
			
				|  |  |              <if test="updateTime != null">#{updateTime},</if>
 | 
	
		
			
				|  |  |              <if test="remark != null">#{remark},</if>
 | 
	
		
			
				|  |  | +            <if test="onlineSeconds != null">#{onlineSeconds},</if>
 | 
	
		
			
				|  |  |           </trim>
 | 
	
		
			
				|  |  |      </insert>
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -119,6 +123,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 | 
	
		
			
				|  |  |              <if test="updateBy != null">update_by = #{updateBy},</if>
 | 
	
		
			
				|  |  |              <if test="updateTime != null">update_time = #{updateTime},</if>
 | 
	
		
			
				|  |  |              <if test="remark != null">remark = #{remark},</if>
 | 
	
		
			
				|  |  | +            <if test="onlineSeconds != null">online_seconds = #{onlineSeconds},</if>
 | 
	
		
			
				|  |  |          </trim>
 | 
	
		
			
				|  |  |          where id = #{id}
 | 
	
		
			
				|  |  |      </update>
 |