id, com_id, command_code, command_name, intake_id, rtu_addr, protocol, vc_num, order_no,
send_time, `operator`
delete from rm_command_open
where id = #{id,jdbcType=BIGINT}
insert into rm_command_open (id, com_id, command_code,
command_name, intake_id, rtu_addr,
protocol, vc_num, order_no,
send_time, `operator`)
values (#{id,jdbcType=BIGINT}, #{comId,jdbcType=BIGINT}, #{commandCode,jdbcType=VARCHAR},
#{commandName,jdbcType=VARCHAR}, #{intakeId,jdbcType=BIGINT}, #{rtuAddr,jdbcType=VARCHAR},
#{protocol,jdbcType=VARCHAR}, #{vcNum,jdbcType=BIGINT}, #{orderNo,jdbcType=VARCHAR},
#{sendTime,jdbcType=TIMESTAMP}, #{operator,jdbcType=BIGINT})
insert into rm_command_open
id,
com_id,
command_code,
command_name,
intake_id,
rtu_addr,
protocol,
vc_num,
order_no,
send_time,
`operator`,
#{id,jdbcType=BIGINT},
#{comId,jdbcType=BIGINT},
#{commandCode,jdbcType=VARCHAR},
#{commandName,jdbcType=VARCHAR},
#{intakeId,jdbcType=BIGINT},
#{rtuAddr,jdbcType=VARCHAR},
#{protocol,jdbcType=VARCHAR},
#{vcNum,jdbcType=BIGINT},
#{orderNo,jdbcType=VARCHAR},
#{sendTime,jdbcType=TIMESTAMP},
#{operator,jdbcType=BIGINT},
update rm_command_open
com_id = #{comId,jdbcType=BIGINT},
command_code = #{commandCode,jdbcType=VARCHAR},
command_name = #{commandName,jdbcType=VARCHAR},
intake_id = #{intakeId,jdbcType=BIGINT},
rtu_addr = #{rtuAddr,jdbcType=VARCHAR},
protocol = #{protocol,jdbcType=VARCHAR},
vc_num = #{vcNum,jdbcType=BIGINT},
order_no = #{orderNo,jdbcType=VARCHAR},
send_time = #{sendTime,jdbcType=TIMESTAMP},
`operator` = #{operator,jdbcType=BIGINT},
where id = #{id,jdbcType=BIGINT}
update rm_command_open
set com_id = #{comId,jdbcType=BIGINT},
command_code = #{commandCode,jdbcType=VARCHAR},
command_name = #{commandName,jdbcType=VARCHAR},
intake_id = #{intakeId,jdbcType=BIGINT},
rtu_addr = #{rtuAddr,jdbcType=VARCHAR},
protocol = #{protocol,jdbcType=VARCHAR},
vc_num = #{vcNum,jdbcType=BIGINT},
order_no = #{orderNo,jdbcType=VARCHAR},
send_time = #{sendTime,jdbcType=TIMESTAMP},
`operator` = #{operator,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}