Compare commits

..

No commits in common. "afa4d081e0b86a5acbcd2eeab041cf6689eb8b67" and "8559696cf160250561bb642127df65fc585d3b1b" have entirely different histories.

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("useorg",org); equipment.set("zcgj_headusedepts",org);
collection.add(equipment); collection.add(equipment);
} }
SaveServiceHelper.save(collection.toArray(new DynamicObject[]{})); SaveServiceHelper.save(collection.toArray(new DynamicObject[]{}));