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, current_number, current_unit_price, tenant_id, delete_flag
delete from jsh_material_current_stock
where id = #{id,jdbcType=BIGINT}
delete from jsh_material_current_stock
insert into jsh_material_current_stock (id, material_id, depot_id,
current_number, current_unit_price, tenant_id,
delete_flag)
values (#{id,jdbcType=BIGINT}, #{materialId,jdbcType=BIGINT}, #{depotId,jdbcType=BIGINT},
#{currentNumber,jdbcType=DECIMAL}, #{currentUnitPrice,jdbcType=DECIMAL}, #{tenantId,jdbcType=BIGINT},
#{deleteFlag,jdbcType=VARCHAR})
insert into jsh_material_current_stock
id,
material_id,
depot_id,
current_number,
current_unit_price,
tenant_id,
delete_flag,
#{id,jdbcType=BIGINT},
#{materialId,jdbcType=BIGINT},
#{depotId,jdbcType=BIGINT},
#{currentNumber,jdbcType=DECIMAL},
#{currentUnitPrice,jdbcType=DECIMAL},
#{tenantId,jdbcType=BIGINT},
#{deleteFlag,jdbcType=VARCHAR},
update jsh_material_current_stock
id = #{record.id,jdbcType=BIGINT},
material_id = #{record.materialId,jdbcType=BIGINT},
depot_id = #{record.depotId,jdbcType=BIGINT},
current_number = #{record.currentNumber,jdbcType=DECIMAL},
current_unit_price = #{record.currentUnitPrice,jdbcType=DECIMAL},
tenant_id = #{record.tenantId,jdbcType=BIGINT},
delete_flag = #{record.deleteFlag,jdbcType=VARCHAR},
update jsh_material_current_stock
set id = #{record.id,jdbcType=BIGINT},
material_id = #{record.materialId,jdbcType=BIGINT},
depot_id = #{record.depotId,jdbcType=BIGINT},
current_number = #{record.currentNumber,jdbcType=DECIMAL},
current_unit_price = #{record.currentUnitPrice,jdbcType=DECIMAL},
tenant_id = #{record.tenantId,jdbcType=BIGINT},
delete_flag = #{record.deleteFlag,jdbcType=VARCHAR}
update jsh_material_current_stock
material_id = #{materialId,jdbcType=BIGINT},
depot_id = #{depotId,jdbcType=BIGINT},
current_number = #{currentNumber,jdbcType=DECIMAL},
current_unit_price = #{currentUnitPrice,jdbcType=DECIMAL},
tenant_id = #{tenantId,jdbcType=BIGINT},
delete_flag = #{deleteFlag,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update jsh_material_current_stock
set material_id = #{materialId,jdbcType=BIGINT},
depot_id = #{depotId,jdbcType=BIGINT},
current_number = #{currentNumber,jdbcType=DECIMAL},
current_unit_price = #{currentUnitPrice,jdbcType=DECIMAL},
tenant_id = #{tenantId,jdbcType=BIGINT},
delete_flag = #{deleteFlag,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}