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, material_id, depot_id, number, tenant_id, delete_fag
delete from jsh_material_stock
where id = #{id,jdbcType=BIGINT}
delete from jsh_material_stock
insert into jsh_material_stock (id, material_id, depot_id,
number, tenant_id, delete_fag
)
values (#{id,jdbcType=BIGINT}, #{materialId,jdbcType=BIGINT}, #{depotId,jdbcType=BIGINT},
#{number,jdbcType=DECIMAL}, #{tenantId,jdbcType=BIGINT}, #{deleteFag,jdbcType=VARCHAR}
)
insert into jsh_material_stock
id,
material_id,
depot_id,
number,
tenant_id,
delete_fag,
#{id,jdbcType=BIGINT},
#{materialId,jdbcType=BIGINT},
#{depotId,jdbcType=BIGINT},
#{number,jdbcType=DECIMAL},
#{tenantId,jdbcType=BIGINT},
#{deleteFag,jdbcType=VARCHAR},
update jsh_material_stock
id = #{record.id,jdbcType=BIGINT},
material_id = #{record.materialId,jdbcType=BIGINT},
depot_id = #{record.depotId,jdbcType=BIGINT},
number = #{record.number,jdbcType=DECIMAL},
tenant_id = #{record.tenantId,jdbcType=BIGINT},
delete_fag = #{record.deleteFag,jdbcType=VARCHAR},
update jsh_material_stock
set id = #{record.id,jdbcType=BIGINT},
material_id = #{record.materialId,jdbcType=BIGINT},
depot_id = #{record.depotId,jdbcType=BIGINT},
number = #{record.number,jdbcType=DECIMAL},
tenant_id = #{record.tenantId,jdbcType=BIGINT},
delete_fag = #{record.deleteFag,jdbcType=VARCHAR}
update jsh_material_stock
material_id = #{materialId,jdbcType=BIGINT},
depot_id = #{depotId,jdbcType=BIGINT},
number = #{number,jdbcType=DECIMAL},
tenant_id = #{tenantId,jdbcType=BIGINT},
delete_fag = #{deleteFag,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update jsh_material_stock
set material_id = #{materialId,jdbcType=BIGINT},
depot_id = #{depotId,jdbcType=BIGINT},
number = #{number,jdbcType=DECIMAL},
tenant_id = #{tenantId,jdbcType=BIGINT},
delete_fag = #{deleteFag,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}