项目建立面积数据动态汇总刷新bug
This commit is contained in:
parent
052593a8e3
commit
0d894af3da
|
@ -187,13 +187,14 @@ public class TotalAssignmentPlugin extends AbstractFormPlugin implements RowClic
|
||||||
DynamicObject dynamicObject = subEntryEntity.get(0);
|
DynamicObject dynamicObject = subEntryEntity.get(0);
|
||||||
DynamicObject dynamicObject2 = (DynamicObject) dynamicObject.getParent();
|
DynamicObject dynamicObject2 = (DynamicObject) dynamicObject.getParent();
|
||||||
Long pkValue = (Long) dynamicObject2.getPkValue();
|
Long pkValue = (Long) dynamicObject2.getPkValue();
|
||||||
for (DynamicObject object : productEntry) {
|
for (int i = 0; i < productEntry.size(); i++) {
|
||||||
Long id = (Long) object.getPkValue();
|
DynamicObject dynamicObject1 = productEntry.get(i);
|
||||||
|
Long id = (Long)dynamicObject1.getPkValue();
|
||||||
if (pkValue.compareTo(id)==0){
|
if (pkValue.compareTo(id)==0){
|
||||||
object.set("productentry_buildingarea",publicAndInside);
|
dynamicObject1.set("productentry_buildingarea",publicAndInside);
|
||||||
|
this.getView().updateView("productentry_buildingarea",i);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.getView().updateView(PRODUCT_ENTRY);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue