insert into tld_plate(storage_location_code, amount, total, wllb_code, scrq, material_id, plate_id, account_sleeve, supplier_id, serial, attribute, uuid) values (#{storageLocationCode}, #{amount}, #{total}, #{wllbCode}, now(), #{materialId}, #{plateId}, #{accountSleeve}, #{supplierId}, #{serial}, #{attribute}, #{uuid}) insert into tld_plate_f(user_id, scrq, uuid, title) values (#{modifyUser}, now(), #{uuid}, #{title}) insert into tld_plate_z(material_id, wllb_code, name, amount, gs_amount, uuid, account_sleeve) values (#{item.materialId}, #{item.wllbCode}, #{item.name}, #{item.amount}, #{item.gsAmount}, #{item.uuid},#{item.accountSleeve}) update tld_plate set plate_id = #{uuid} where scrq like CONCAT(CONCAT('%', #{scrq}), '%') and (plate_id is null or plate_id = '') delete from tld_plate where id = #{id}