This commit is contained in:
xiaoshi 2025-08-19 16:34:01 +08:00
parent 4df092d9de
commit 4447f5ca01
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ public class EquipmentCardListPlugin extends AbstractListPlugin implements Plugi
DynamicObjectCollection collection = new DynamicObjectCollection(); DynamicObjectCollection collection = new DynamicObjectCollection();
for (DynamicObject equipment : equipments) { for (DynamicObject equipment : equipments) {
DynamicObject org = equipment.getDynamicObject("org"); DynamicObject org = equipment.getDynamicObject("org");
equipment.set("zcgj_headusedepts",org); equipment.set("useorg",org);
collection.add(equipment); collection.add(equipment);
} }
SaveServiceHelper.save(collection.toArray(new DynamicObject[]{})); SaveServiceHelper.save(collection.toArray(new DynamicObject[]{}));