1027byxinyu

This commit is contained in:
lixinyu1011
2025-10-27 18:16:26 +08:00
parent 67d1c4acce
commit ceef342860
12 changed files with 508 additions and 1172 deletions

View File

@@ -636,6 +636,8 @@ def resource_bioyond_to_plr(bioyond_materials: list[dict], type_mapping: Dict[st
plr_material: ResourcePLR = initialize_resource(
{"name": material["name"], "class": className}, resource_type=ResourcePLR
)
print("plr_material:",plr_material)
print("code:",material.get("code", ""))
plr_material.code = material.get("code", "") and material.get("barCode", "") or ""
plr_material.unilabos_uuid = str(uuid.uuid4())