insert into jsh_material_current_stock (material_id, depot_id, current_number)
values
(#{item.materialId,jdbcType=BIGINT}, #{item.depotId,jdbcType=BIGINT},#{item.currentNumber,jdbcType=DECIMAL})
update jsh_material_current_stock set current_unit_price = #{currentUnitPrice}
where material_id = #{materialId}
and ifnull(delete_flag,'0') !='1'
update jsh_material_current_stock
set delete_flag='1'
where 1=1
and depot_id in (
#{id}
)