delete from tld_material_class where id = #{id} insert into tld_material_class(storage_location_code,wllb_code) values(#{storageLocationCode}, #{wllbCode}) update tld_material_class storage_location_code = #{storageLocationCode}, wllb_code = #{wllbCode}, where id = #{id} update tld_material size = #{size}, wllb_class = #{materialType}, is_not_disable = #{isNotDisable}, is_recommend = #{isRecommend}, part_type = #{partType}, where tld_id = #{id}