and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
id, vcfcode, vdevcode, vdevname, starttime, endtime, energy, uperson, remark, org_id,
statue
delete from t_n_ntinfo_history
where id = #{id,jdbcType=VARCHAR}
delete from t_n_ntinfo_history
insert into t_n_ntinfo_history (id, vcfcode, vdevcode,
vdevname, starttime, endtime,
energy, uperson, remark,
org_id, statue)
values (#{id,jdbcType=VARCHAR}, #{vcfcode,jdbcType=VARCHAR}, #{vdevcode,jdbcType=VARCHAR},
#{vdevname,jdbcType=VARCHAR}, #{starttime,jdbcType=TIMESTAMP}, #{endtime,jdbcType=TIMESTAMP},
#{energy,jdbcType=DECIMAL}, #{uperson,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR},
#{orgId,jdbcType=VARCHAR}, #{statue,jdbcType=INTEGER})
insert into t_n_ntinfo_history
id,
vcfcode,
vdevcode,
vdevname,
starttime,
endtime,
energy,
uperson,
remark,
org_id,
statue,
#{id,jdbcType=VARCHAR},
#{vcfcode,jdbcType=VARCHAR},
#{vdevcode,jdbcType=VARCHAR},
#{vdevname,jdbcType=VARCHAR},
#{starttime,jdbcType=TIMESTAMP},
#{endtime,jdbcType=TIMESTAMP},
#{energy,jdbcType=DECIMAL},
#{uperson,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR},
#{orgId,jdbcType=VARCHAR},
#{statue,jdbcType=INTEGER},
update t_n_ntinfo_history
id = #{record.id,jdbcType=VARCHAR},
vcfcode = #{record.vcfcode,jdbcType=VARCHAR},
vdevcode = #{record.vdevcode,jdbcType=VARCHAR},
vdevname = #{record.vdevname,jdbcType=VARCHAR},
starttime = #{record.starttime,jdbcType=TIMESTAMP},
endtime = #{record.endtime,jdbcType=TIMESTAMP},
energy = #{record.energy,jdbcType=DECIMAL},
uperson = #{record.uperson,jdbcType=VARCHAR},
remark = #{record.remark,jdbcType=VARCHAR},
org_id = #{record.orgId,jdbcType=VARCHAR},
statue = #{record.statue,jdbcType=INTEGER},
update t_n_ntinfo_history
set id = #{record.id,jdbcType=VARCHAR},
vcfcode = #{record.vcfcode,jdbcType=VARCHAR},
vdevcode = #{record.vdevcode,jdbcType=VARCHAR},
vdevname = #{record.vdevname,jdbcType=VARCHAR},
starttime = #{record.starttime,jdbcType=TIMESTAMP},
endtime = #{record.endtime,jdbcType=TIMESTAMP},
energy = #{record.energy,jdbcType=DECIMAL},
uperson = #{record.uperson,jdbcType=VARCHAR},
remark = #{record.remark,jdbcType=VARCHAR},
org_id = #{record.orgId,jdbcType=VARCHAR},
statue = #{record.statue,jdbcType=INTEGER}
update t_n_ntinfo_history
vcfcode = #{vcfcode,jdbcType=VARCHAR},
vdevcode = #{vdevcode,jdbcType=VARCHAR},
vdevname = #{vdevname,jdbcType=VARCHAR},
starttime = #{starttime,jdbcType=TIMESTAMP},
endtime = #{endtime,jdbcType=TIMESTAMP},
energy = #{energy,jdbcType=DECIMAL},
uperson = #{uperson,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
org_id = #{orgId,jdbcType=VARCHAR},
statue = #{statue,jdbcType=INTEGER},
where id = #{id,jdbcType=VARCHAR}
update t_n_ntinfo_history
set vcfcode = #{vcfcode,jdbcType=VARCHAR},
vdevcode = #{vdevcode,jdbcType=VARCHAR},
vdevname = #{vdevname,jdbcType=VARCHAR},
starttime = #{starttime,jdbcType=TIMESTAMP},
endtime = #{endtime,jdbcType=TIMESTAMP},
energy = #{energy,jdbcType=DECIMAL},
uperson = #{uperson,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
org_id = #{orgId,jdbcType=VARCHAR},
statue = #{statue,jdbcType=INTEGER}
where id = #{id,jdbcType=VARCHAR}