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, org_id, vdevcode, vdevname, vdevkindcode, vunit, faddvalue, inoutstorage, sitecode,
vcfcode, idevtdh, fvalue, vvaluetime, valarmstatue, vstatue, updatetime, remark,
del_flag
delete from t_qtdevinfo
where id = #{id,jdbcType=VARCHAR}
delete from t_qtdevinfo
insert into t_qtdevinfo (id, org_id, vdevcode,
vdevname, vdevkindcode, vunit,
faddvalue, inoutstorage, sitecode,
vcfcode, idevtdh, fvalue,
vvaluetime, valarmstatue, vstatue,
updatetime, remark, del_flag
)
values (#{id,jdbcType=VARCHAR}, #{orgId,jdbcType=VARCHAR}, #{vdevcode,jdbcType=VARCHAR},
#{vdevname,jdbcType=VARCHAR}, #{vdevkindcode,jdbcType=INTEGER}, #{vunit,jdbcType=VARCHAR},
#{faddvalue,jdbcType=DECIMAL}, #{inoutstorage,jdbcType=INTEGER}, #{sitecode,jdbcType=VARCHAR},
#{vcfcode,jdbcType=VARCHAR}, #{idevtdh,jdbcType=INTEGER}, #{fvalue,jdbcType=DECIMAL},
#{vvaluetime,jdbcType=TIMESTAMP}, #{valarmstatue,jdbcType=INTEGER}, #{vstatue,jdbcType=INTEGER},
#{updatetime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, #{delFlag,jdbcType=INTEGER}
)
insert into t_qtdevinfo
id,
org_id,
vdevcode,
vdevname,
vdevkindcode,
vunit,
faddvalue,
inoutstorage,
sitecode,
vcfcode,
idevtdh,
fvalue,
vvaluetime,
valarmstatue,
vstatue,
updatetime,
remark,
del_flag,
#{id,jdbcType=VARCHAR},
#{orgId,jdbcType=VARCHAR},
#{vdevcode,jdbcType=VARCHAR},
#{vdevname,jdbcType=VARCHAR},
#{vdevkindcode,jdbcType=INTEGER},
#{vunit,jdbcType=VARCHAR},
#{faddvalue,jdbcType=DECIMAL},
#{inoutstorage,jdbcType=INTEGER},
#{sitecode,jdbcType=VARCHAR},
#{vcfcode,jdbcType=VARCHAR},
#{idevtdh,jdbcType=INTEGER},
#{fvalue,jdbcType=DECIMAL},
#{vvaluetime,jdbcType=TIMESTAMP},
#{valarmstatue,jdbcType=INTEGER},
#{vstatue,jdbcType=INTEGER},
#{updatetime,jdbcType=TIMESTAMP},
#{remark,jdbcType=VARCHAR},
#{delFlag,jdbcType=INTEGER},
update t_qtdevinfo
id = #{record.id,jdbcType=VARCHAR},
org_id = #{record.orgId,jdbcType=VARCHAR},
vdevcode = #{record.vdevcode,jdbcType=VARCHAR},
vdevname = #{record.vdevname,jdbcType=VARCHAR},
vdevkindcode = #{record.vdevkindcode,jdbcType=INTEGER},
vunit = #{record.vunit,jdbcType=VARCHAR},
faddvalue = #{record.faddvalue,jdbcType=DECIMAL},
inoutstorage = #{record.inoutstorage,jdbcType=INTEGER},
sitecode = #{record.sitecode,jdbcType=VARCHAR},
vcfcode = #{record.vcfcode,jdbcType=VARCHAR},
idevtdh = #{record.idevtdh,jdbcType=INTEGER},
fvalue = #{record.fvalue,jdbcType=DECIMAL},
vvaluetime = #{record.vvaluetime,jdbcType=TIMESTAMP},
valarmstatue = #{record.valarmstatue,jdbcType=INTEGER},
vstatue = #{record.vstatue,jdbcType=INTEGER},
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
remark = #{record.remark,jdbcType=VARCHAR},
del_flag = #{record.delFlag,jdbcType=INTEGER},
update t_qtdevinfo
set id = #{record.id,jdbcType=VARCHAR},
org_id = #{record.orgId,jdbcType=VARCHAR},
vdevcode = #{record.vdevcode,jdbcType=VARCHAR},
vdevname = #{record.vdevname,jdbcType=VARCHAR},
vdevkindcode = #{record.vdevkindcode,jdbcType=INTEGER},
vunit = #{record.vunit,jdbcType=VARCHAR},
faddvalue = #{record.faddvalue,jdbcType=DECIMAL},
inoutstorage = #{record.inoutstorage,jdbcType=INTEGER},
sitecode = #{record.sitecode,jdbcType=VARCHAR},
vcfcode = #{record.vcfcode,jdbcType=VARCHAR},
idevtdh = #{record.idevtdh,jdbcType=INTEGER},
fvalue = #{record.fvalue,jdbcType=DECIMAL},
vvaluetime = #{record.vvaluetime,jdbcType=TIMESTAMP},
valarmstatue = #{record.valarmstatue,jdbcType=INTEGER},
vstatue = #{record.vstatue,jdbcType=INTEGER},
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
remark = #{record.remark,jdbcType=VARCHAR},
del_flag = #{record.delFlag,jdbcType=INTEGER}
update t_qtdevinfo
org_id = #{orgId,jdbcType=VARCHAR},
vdevcode = #{vdevcode,jdbcType=VARCHAR},
vdevname = #{vdevname,jdbcType=VARCHAR},
vdevkindcode = #{vdevkindcode,jdbcType=INTEGER},
vunit = #{vunit,jdbcType=VARCHAR},
faddvalue = #{faddvalue,jdbcType=DECIMAL},
inoutstorage = #{inoutstorage,jdbcType=INTEGER},
sitecode = #{sitecode,jdbcType=VARCHAR},
vcfcode = #{vcfcode,jdbcType=VARCHAR},
idevtdh = #{idevtdh,jdbcType=INTEGER},
fvalue = #{fvalue,jdbcType=DECIMAL},
vvaluetime = #{vvaluetime,jdbcType=TIMESTAMP},
valarmstatue = #{valarmstatue,jdbcType=INTEGER},
vstatue = #{vstatue,jdbcType=INTEGER},
updatetime = #{updatetime,jdbcType=TIMESTAMP},
remark = #{remark,jdbcType=VARCHAR},
del_flag = #{delFlag,jdbcType=INTEGER},
where id = #{id,jdbcType=VARCHAR}
update t_qtdevinfo
set org_id = #{orgId,jdbcType=VARCHAR},
vdevcode = #{vdevcode,jdbcType=VARCHAR},
vdevname = #{vdevname,jdbcType=VARCHAR},
vdevkindcode = #{vdevkindcode,jdbcType=INTEGER},
vunit = #{vunit,jdbcType=VARCHAR},
faddvalue = #{faddvalue,jdbcType=DECIMAL},
inoutstorage = #{inoutstorage,jdbcType=INTEGER},
sitecode = #{sitecode,jdbcType=VARCHAR},
vcfcode = #{vcfcode,jdbcType=VARCHAR},
idevtdh = #{idevtdh,jdbcType=INTEGER},
fvalue = #{fvalue,jdbcType=DECIMAL},
vvaluetime = #{vvaluetime,jdbcType=TIMESTAMP},
valarmstatue = #{valarmstatue,jdbcType=INTEGER},
vstatue = #{vstatue,jdbcType=INTEGER},
updatetime = #{updatetime,jdbcType=TIMESTAMP},
remark = #{remark,jdbcType=VARCHAR},
del_flag = #{delFlag,jdbcType=INTEGER}
where id = #{id,jdbcType=VARCHAR}