|  | @@ -8,7 +8,10 @@
 | 
	
		
			
				|  |  |          <result property="seatId" column="seat_id"/>
 | 
	
		
			
				|  |  |          <result property="seatNum" column="seat_num"/>
 | 
	
		
			
				|  |  |          <result property="seatBindIp" column="seat_bind_ip"/>
 | 
	
		
			
				|  |  | +        <result property="seatRs485Ip" column="seat_rs485_ip"/>
 | 
	
		
			
				|  |  | +        <result property="seatRs485Port" column="seat_rs485_port"/>
 | 
	
		
			
				|  |  |          <result property="currentUserId" column="current_user_id"/>
 | 
	
		
			
				|  |  | +        <result property="currentSimId" column="current_sim_id"/>
 | 
	
		
			
				|  |  |          <result property="createBy" column="create_by"/>
 | 
	
		
			
				|  |  |          <result property="createTime" column="create_time"/>
 | 
	
		
			
				|  |  |          <result property="updateBy" column="update_by"/>
 | 
	
	
		
			
				|  | @@ -20,7 +23,10 @@
 | 
	
		
			
				|  |  |          select seat_id,
 | 
	
		
			
				|  |  |                 seat_num,
 | 
	
		
			
				|  |  |                 seat_bind_ip,
 | 
	
		
			
				|  |  | +               seat_rs485_ip,
 | 
	
		
			
				|  |  | +               seat_rs485_port,
 | 
	
		
			
				|  |  |                 current_user_id,
 | 
	
		
			
				|  |  | +               current_sim_id,
 | 
	
		
			
				|  |  |                 create_by,
 | 
	
		
			
				|  |  |                 create_time,
 | 
	
		
			
				|  |  |                 update_by,
 | 
	
	
		
			
				|  | @@ -34,7 +40,10 @@
 | 
	
		
			
				|  |  |          <where>
 | 
	
		
			
				|  |  |              <if test="seatNum != null ">and seat_num = #{seatNum}</if>
 | 
	
		
			
				|  |  |              <if test="seatBindIp != null  and seatBindIp != ''">and seat_bind_ip = #{seatBindIp}</if>
 | 
	
		
			
				|  |  | +            <if test="seatRs485Ip != null  and seatRs485Ip != ''">and seat_rs485_ip = #{seatRs485Ip}</if>
 | 
	
		
			
				|  |  | +            <if test="seatRs485Port != null ">and seat_rs485_port = #{seatRs485Port}</if>
 | 
	
		
			
				|  |  |              <if test="currentUserId != null ">and current_user_id = #{currentUserId}</if>
 | 
	
		
			
				|  |  | +            <if test="currentSimId != null ">and current_sim_id = #{currentSimId}</if>
 | 
	
		
			
				|  |  |          </where>
 | 
	
		
			
				|  |  |      </select>
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -51,7 +60,10 @@
 | 
	
		
			
				|  |  |          <trim prefix="(" suffix=")" suffixOverrides=",">
 | 
	
		
			
				|  |  |              <if test="seatNum != null">seat_num,</if>
 | 
	
		
			
				|  |  |              <if test="seatBindIp != null and seatBindIp != ''">seat_bind_ip,</if>
 | 
	
		
			
				|  |  | +            <if test="seatRs485Ip != null and seatRs485Ip != ''">seat_rs485_ip,</if>
 | 
	
		
			
				|  |  | +            <if test="seatRs485Port != null">seat_rs485_port,</if>
 | 
	
		
			
				|  |  |              <if test="currentUserId != null">current_user_id,</if>
 | 
	
		
			
				|  |  | +            <if test="currentSimId != null">current_sim_id,</if>
 | 
	
		
			
				|  |  |              <if test="createBy != null">create_by,</if>
 | 
	
		
			
				|  |  |              <if test="createTime != null">create_time,</if>
 | 
	
		
			
				|  |  |              <if test="updateBy != null">update_by,</if>
 | 
	
	
		
			
				|  | @@ -61,7 +73,10 @@
 | 
	
		
			
				|  |  |          <trim prefix="values (" suffix=")" suffixOverrides=",">
 | 
	
		
			
				|  |  |              <if test="seatNum != null">#{seatNum},</if>
 | 
	
		
			
				|  |  |              <if test="seatBindIp != null and seatBindIp != ''">#{seatBindIp},</if>
 | 
	
		
			
				|  |  | +            <if test="seatRs485Ip != null and seatRs485Ip != ''">#{seatRs485Ip},</if>
 | 
	
		
			
				|  |  | +            <if test="seatRs485Port != null">#{seatRs485Port},</if>
 | 
	
		
			
				|  |  |              <if test="currentUserId != null">#{currentUserId},</if>
 | 
	
		
			
				|  |  | +            <if test="currentSimId != null">#{currentSimId},</if>
 | 
	
		
			
				|  |  |              <if test="createBy != null">#{createBy},</if>
 | 
	
		
			
				|  |  |              <if test="createTime != null">#{createTime},</if>
 | 
	
		
			
				|  |  |              <if test="updateBy != null">#{updateBy},</if>
 | 
	
	
		
			
				|  | @@ -75,7 +90,10 @@
 | 
	
		
			
				|  |  |          <trim prefix="SET" suffixOverrides=",">
 | 
	
		
			
				|  |  |              <if test="seatNum != null">seat_num = #{seatNum},</if>
 | 
	
		
			
				|  |  |              <if test="seatBindIp != null and seatBindIp != ''">seat_bind_ip = #{seatBindIp},</if>
 | 
	
		
			
				|  |  | +            <if test="seatRs485Ip != null and seatRs485Ip != ''">seat_rs485_ip = #{seatRs485Ip},</if>
 | 
	
		
			
				|  |  | +            <if test="seatRs485Port != null">seat_rs485_port = #{seatRs485Port},</if>
 | 
	
		
			
				|  |  |              <if test="currentUserId != null">current_user_id = #{currentUserId},</if>
 | 
	
		
			
				|  |  | +            <if test="currentSimId != null">current_sim_id = #{currentSimId},</if>
 | 
	
		
			
				|  |  |              <if test="createBy != null">create_by = #{createBy},</if>
 | 
	
		
			
				|  |  |              <if test="createTime != null">create_time = #{createTime},</if>
 | 
	
		
			
				|  |  |              <if test="updateBy != null">update_by = #{updateBy},</if>
 |