parent
6b613696fe
commit
ae8c381fe7
|
@ -585,10 +585,10 @@ public class RecosMeasurecosFormPlugin extends AbstractFormPlugin implements Upl
|
|||
String entry_workloadunit = value.getEntry_workloadunit();
|
||||
DynamicObject unit = QueryServiceHelper.queryOne("bd_measureunits", "id,name,number", new QFilter("name", QCP.equals, entry_workloadunit).toArray());
|
||||
if (unit==null){
|
||||
sheetNameView.getModel().setValue("entry_idxunit",null,key);//单位
|
||||
sheetNameView.getModel().setValue("qeug_entry_unit",null,key);//单位
|
||||
}else {
|
||||
DynamicObject single = BusinessDataServiceHelper.loadSingle(unit.getString("id"),"bd_measureunits");
|
||||
sheetNameView.getModel().setValue("entry_idxunit",single,key);//单位
|
||||
sheetNameView.getModel().setValue("qeug_entry_unit",single,key);//单位
|
||||
}
|
||||
|
||||
sheetNameView.getModel().setValue("qeug_gcljs",value.getQeug_gcljs(),key);//工程量基数
|
||||
|
|
Loading…
Reference in New Issue