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, vDevCode, vDevName, vDevKindCode, vUnit, fAddValue, vIn_Out, vZdCode, vCfCode,
vDevXh, fValue, vValueTime, vStatue, vUpdatetime, vRemark
delete from t_dev_data
where id = #{id,jdbcType=VARCHAR}
delete from t_dev_data
insert into t_dev_data (id, vDevCode, vDevName,
vDevKindCode, vUnit, fAddValue,
vIn_Out, vZdCode, vCfCode,
vDevXh, fValue, vValueTime,
vStatue, vUpdatetime, vRemark
)
values (#{id,jdbcType=VARCHAR}, #{vdevcode,jdbcType=VARCHAR}, #{vdevname,jdbcType=VARCHAR},
#{vdevkindcode,jdbcType=VARCHAR}, #{vunit,jdbcType=VARCHAR}, #{faddvalue,jdbcType=INTEGER},
#{vinOut,jdbcType=INTEGER}, #{vzdcode,jdbcType=VARCHAR}, #{vcfcode,jdbcType=VARCHAR},
#{vdevxh,jdbcType=VARCHAR}, #{fvalue,jdbcType=INTEGER}, #{vvaluetime,jdbcType=TIMESTAMP},
#{vstatue,jdbcType=INTEGER}, #{vupdatetime,jdbcType=TIMESTAMP}, #{vremark,jdbcType=VARCHAR}
)
insert into t_dev_data
id,
vDevCode,
vDevName,
vDevKindCode,
vUnit,
fAddValue,
vIn_Out,
vZdCode,
vCfCode,
vDevXh,
fValue,
vValueTime,
vStatue,
vUpdatetime,
vRemark,
#{id,jdbcType=VARCHAR},
#{vdevcode,jdbcType=VARCHAR},
#{vdevname,jdbcType=VARCHAR},
#{vdevkindcode,jdbcType=VARCHAR},
#{vunit,jdbcType=VARCHAR},
#{faddvalue,jdbcType=INTEGER},
#{vinOut,jdbcType=INTEGER},
#{vzdcode,jdbcType=VARCHAR},
#{vcfcode,jdbcType=VARCHAR},
#{vdevxh,jdbcType=VARCHAR},
#{fvalue,jdbcType=INTEGER},
#{vvaluetime,jdbcType=TIMESTAMP},
#{vstatue,jdbcType=INTEGER},
#{vupdatetime,jdbcType=TIMESTAMP},
#{vremark,jdbcType=VARCHAR},
update t_dev_data
id = #{record.id,jdbcType=VARCHAR},
vDevCode = #{record.vdevcode,jdbcType=VARCHAR},
vDevName = #{record.vdevname,jdbcType=VARCHAR},
vDevKindCode = #{record.vdevkindcode,jdbcType=VARCHAR},
vUnit = #{record.vunit,jdbcType=VARCHAR},
fAddValue = #{record.faddvalue,jdbcType=INTEGER},
vIn_Out = #{record.vinOut,jdbcType=INTEGER},
vZdCode = #{record.vzdcode,jdbcType=VARCHAR},
vCfCode = #{record.vcfcode,jdbcType=VARCHAR},
vDevXh = #{record.vdevxh,jdbcType=VARCHAR},
fValue = #{record.fvalue,jdbcType=INTEGER},
vValueTime = #{record.vvaluetime,jdbcType=TIMESTAMP},
vStatue = #{record.vstatue,jdbcType=INTEGER},
vUpdatetime = #{record.vupdatetime,jdbcType=TIMESTAMP},
vRemark = #{record.vremark,jdbcType=VARCHAR},
update t_dev_data
set id = #{record.id,jdbcType=VARCHAR},
vDevCode = #{record.vdevcode,jdbcType=VARCHAR},
vDevName = #{record.vdevname,jdbcType=VARCHAR},
vDevKindCode = #{record.vdevkindcode,jdbcType=VARCHAR},
vUnit = #{record.vunit,jdbcType=VARCHAR},
fAddValue = #{record.faddvalue,jdbcType=INTEGER},
vIn_Out = #{record.vinOut,jdbcType=INTEGER},
vZdCode = #{record.vzdcode,jdbcType=VARCHAR},
vCfCode = #{record.vcfcode,jdbcType=VARCHAR},
vDevXh = #{record.vdevxh,jdbcType=VARCHAR},
fValue = #{record.fvalue,jdbcType=INTEGER},
vValueTime = #{record.vvaluetime,jdbcType=TIMESTAMP},
vStatue = #{record.vstatue,jdbcType=INTEGER},
vUpdatetime = #{record.vupdatetime,jdbcType=TIMESTAMP},
vRemark = #{record.vremark,jdbcType=VARCHAR}
update t_dev_data
vDevCode = #{vdevcode,jdbcType=VARCHAR},
vDevName = #{vdevname,jdbcType=VARCHAR},
vDevKindCode = #{vdevkindcode,jdbcType=VARCHAR},
vUnit = #{vunit,jdbcType=VARCHAR},
fAddValue = #{faddvalue,jdbcType=INTEGER},
vIn_Out = #{vinOut,jdbcType=INTEGER},
vZdCode = #{vzdcode,jdbcType=VARCHAR},
vCfCode = #{vcfcode,jdbcType=VARCHAR},
vDevXh = #{vdevxh,jdbcType=VARCHAR},
fValue = #{fvalue,jdbcType=INTEGER},
vValueTime = #{vvaluetime,jdbcType=TIMESTAMP},
vStatue = #{vstatue,jdbcType=INTEGER},
vUpdatetime = #{vupdatetime,jdbcType=TIMESTAMP},
vRemark = #{vremark,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
update t_dev_data
set vDevCode = #{vdevcode,jdbcType=VARCHAR},
vDevName = #{vdevname,jdbcType=VARCHAR},
vDevKindCode = #{vdevkindcode,jdbcType=VARCHAR},
vUnit = #{vunit,jdbcType=VARCHAR},
fAddValue = #{faddvalue,jdbcType=INTEGER},
vIn_Out = #{vinOut,jdbcType=INTEGER},
vZdCode = #{vzdcode,jdbcType=VARCHAR},
vCfCode = #{vcfcode,jdbcType=VARCHAR},
vDevXh = #{vdevxh,jdbcType=VARCHAR},
fValue = #{fvalue,jdbcType=INTEGER},
vValueTime = #{vvaluetime,jdbcType=TIMESTAMP},
vStatue = #{vstatue,jdbcType=INTEGER},
vUpdatetime = #{vupdatetime,jdbcType=TIMESTAMP},
vRemark = #{vremark,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}