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, lq_id, lHouse, lTime, layerNumber, lZ, lMax, lMin, lAvg, data_source
delete from t_testdata_layer
insert into t_testdata_layer (id, org_id, lq_id,
lHouse, lTime, layerNumber,
lZ, lMax, lMin, lAvg,
data_source)
values (#{id,jdbcType=VARCHAR}, #{orgId,jdbcType=VARCHAR}, #{lqId,jdbcType=VARCHAR},
#{lhouse,jdbcType=VARCHAR}, #{ltime,jdbcType=TIMESTAMP}, #{layernumber,jdbcType=INTEGER},
#{lz,jdbcType=VARCHAR}, #{lmax,jdbcType=DECIMAL}, #{lmin,jdbcType=DECIMAL}, #{lavg,jdbcType=DECIMAL},
#{dataSource,jdbcType=VARCHAR})
insert into t_testdata_layer
id,
org_id,
lq_id,
lHouse,
lTime,
layerNumber,
lZ,
lMax,
lMin,
lAvg,
data_source,
#{id,jdbcType=VARCHAR},
#{orgId,jdbcType=VARCHAR},
#{lqId,jdbcType=VARCHAR},
#{lhouse,jdbcType=VARCHAR},
#{ltime,jdbcType=TIMESTAMP},
#{layernumber,jdbcType=INTEGER},
#{lz,jdbcType=VARCHAR},
#{lmax,jdbcType=DECIMAL},
#{lmin,jdbcType=DECIMAL},
#{lavg,jdbcType=DECIMAL},
#{dataSource,jdbcType=VARCHAR},
update t_testdata_layer
id = #{record.id,jdbcType=VARCHAR},
org_id = #{record.orgId,jdbcType=VARCHAR},
lq_id = #{record.lqId,jdbcType=VARCHAR},
lHouse = #{record.lhouse,jdbcType=VARCHAR},
lTime = #{record.ltime,jdbcType=TIMESTAMP},
layerNumber = #{record.layernumber,jdbcType=INTEGER},
lZ = #{record.lz,jdbcType=VARCHAR},
lMax = #{record.lmax,jdbcType=DECIMAL},
lMin = #{record.lmin,jdbcType=DECIMAL},
lAvg = #{record.lavg,jdbcType=DECIMAL},
data_source = #{record.dataSource,jdbcType=VARCHAR},
update t_testdata_layer
set id = #{record.id,jdbcType=VARCHAR},
org_id = #{record.orgId,jdbcType=VARCHAR},
lq_id = #{record.lqId,jdbcType=VARCHAR},
lHouse = #{record.lhouse,jdbcType=VARCHAR},
lTime = #{record.ltime,jdbcType=TIMESTAMP},
layerNumber = #{record.layernumber,jdbcType=INTEGER},
lZ = #{record.lz,jdbcType=VARCHAR},
lMax = #{record.lmax,jdbcType=DECIMAL},
lMin = #{record.lmin,jdbcType=DECIMAL},
lAvg = #{record.lavg,jdbcType=DECIMAL},
data_source = #{record.dataSource,jdbcType=VARCHAR}
insert into t_testdata_layer (id, org_id, lq_id,
lHouse, lTime, layerNumber,
lZ, lMax, lMin, lAvg,
data_source)
values
(#{ly.id,jdbcType=VARCHAR}, #{ly.orgId,jdbcType=VARCHAR}, #{ly.lqId,jdbcType=VARCHAR},
#{ly.lhouse,jdbcType=VARCHAR}, #{ly.ltime,jdbcType=TIMESTAMP}, #{ly.layernumber,jdbcType=INTEGER},
#{ly.lz,jdbcType=VARCHAR}, #{ly.lmax,jdbcType=DECIMAL}, #{ly.lmin,jdbcType=DECIMAL}, #{ly.lavg,jdbcType=DECIMAL},
#{ly.dataSource,jdbcType=VARCHAR})