id, monitoringId, code, protocol, onlineState, reportTime, addWays, `operator`, operateDt, remarks,
deleted
delete from pr_flowmeter
where id = #{id,jdbcType=BIGINT}
insert into pr_flowmeter (id, code, protocol,
onlineState, reportTime, addWays,
`operator`, operateDt, remarks,
deleted)
values (#{id,jdbcType=BIGINT}, #{code,jdbcType=VARCHAR}, #{protocol,jdbcType=VARCHAR},
#{onlineState,jdbcType=TINYINT}, #{reportTime,jdbcType=TIMESTAMP}, #{addWays,jdbcType=TINYINT},
#{operator,jdbcType=BIGINT}, #{operateDt,jdbcType=TIMESTAMP}, #{remarks,jdbcType=VARCHAR},
#{deleted,jdbcType=TINYINT})
insert into pr_flowmeter
id,
code,
protocol,
onlineState,
reportTime,
addWays,
`operator`,
operateDt,
remarks,
deleted,
#{id,jdbcType=BIGINT},
#{code,jdbcType=VARCHAR},
#{protocol,jdbcType=VARCHAR},
#{onlineState,jdbcType=TINYINT},
#{reportTime,jdbcType=TIMESTAMP},
#{addWays,jdbcType=TINYINT},
#{operator,jdbcType=BIGINT},
#{operateDt,jdbcType=TIMESTAMP},
#{remarks,jdbcType=VARCHAR},
#{deleted,jdbcType=TINYINT},
update pr_flowmeter
code = #{code,jdbcType=VARCHAR},
protocol = #{protocol,jdbcType=VARCHAR},
onlineState = #{onlineState,jdbcType=TINYINT},
reportTime = #{reportTime,jdbcType=TIMESTAMP},
addWays = #{addWays,jdbcType=TINYINT},
`operator` = #{operator,jdbcType=BIGINT},
operateDt = #{operateDt,jdbcType=TIMESTAMP},
remarks = #{remarks,jdbcType=VARCHAR},
deleted = #{deleted,jdbcType=TINYINT},
where id = #{id,jdbcType=BIGINT}
update pr_flowmeter
set code = #{code,jdbcType=VARCHAR},
protocol = #{protocol,jdbcType=VARCHAR},
onlineState = #{onlineState,jdbcType=TINYINT},
reportTime = #{reportTime,jdbcType=TIMESTAMP},
addWays = #{addWays,jdbcType=TINYINT},
`operator` = #{operator,jdbcType=BIGINT},
operateDt = #{operateDt,jdbcType=TIMESTAMP},
remarks = #{remarks,jdbcType=VARCHAR},
deleted = #{deleted,jdbcType=TINYINT}
where id = #{id,jdbcType=BIGINT}
UPDATE pr_flowmeter SET deleted = 1 WHERE id = ${flowmeterId}
update pr_flowmeter
set monitoringId = #{monitoringId,jdbcType=BIGINT},
`operator` = #{operator,jdbcType=BIGINT},
operateDt = #{operateDt,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}