代码提交

提交人:陈绍鑫
时间:2025/03/10  18:00
内容:成本测算优化插件
This commit is contained in:
陈绍鑫 2025-03-10 18:24:05 +08:00
parent 6b613696fe
commit ae8c381fe7
1 changed files with 2 additions and 2 deletions

View File

@ -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);//工程量基数