youhua
This commit is contained in:
parent
afa4d081e0
commit
3130fbf689
|
@ -69,7 +69,7 @@ public class EquipmentCardListPlugin extends AbstractListPlugin implements Plugi
|
||||||
view.invokeOperation("refresh");
|
view.invokeOperation("refresh");
|
||||||
}else if(itemKey.equals("zcgj_assetorg")){//同步使用组织
|
}else if(itemKey.equals("zcgj_assetorg")){//同步使用组织
|
||||||
Set<Long> setIds = getSelectOrderIds(this.getSelectedRows());
|
Set<Long> setIds = getSelectOrderIds(this.getSelectedRows());
|
||||||
DynamicObject[] equipments = BusinessDataServiceHelper.load("eceq_equipment_card", "billno,billname,equipstatus,org,zcgj_headusedepts", new QFilter[]{new QFilter("id", "in", setIds)});
|
DynamicObject[] equipments = BusinessDataServiceHelper.load("eceq_equipment_card", "billno,billname,equipstatus,org,zcgj_headusedepts,useorg", new QFilter[]{new QFilter("id", "in", setIds)});
|
||||||
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");
|
||||||
|
|
Loading…
Reference in New Issue