1.优化供方入围报错

S
This commit is contained in:
weiyunlong 2025-02-26 14:09:37 +08:00
parent a00451e076
commit fd9a63eaa9
1 changed files with 6 additions and 3 deletions

View File

@ -216,15 +216,18 @@ public class SupplierInvitationFormPlugin extends SupplierInvitationBidNumEdit i
QFilter announcement_qf = new QFilter("bidproject",QCP.equals,bidproject_pkValue);//查找招标公告
DynamicObject announcement = BusinessDataServiceHelper.loadSingle("rebm_project_announcement", announcement_qf.toArray());
DynamicObject myTender = BusinessDataServiceHelper.newDynamicObject("resp_mytender");
myTender.set("name", announcement.getString("annotitle"));//招标名称取招标立项名称
if (null != announcement) {
myTender.set("name", announcement.getString("annotitle"));//招标名称取招标立项名称
myTender.set("publishdate", announcement.getDate("publishdate"));//发布日期
myTender.set("announcement", announcement);//招标公告
}
myTender.set("billstatus", "C");//默认设置状态为c
myTender.set("org", bid_project.getDynamicObject("org"));
myTender.set("bidproject", bid_project);//设置招标立项
myTender.set("ispublicbid", true);//是否公开招标 默认设置true
myTender.set("tenderstatus", MyTenderStatus.APPLIED);//投标状态, 供方入围添加默认设置为已入围
myTender.set("publishdate", announcement.getDate("publishdate"));//发布日期
myTender.set("announcement", announcement);//招标公告
DynamicObject resm_official_supplier = BusinessDataServiceHelper.loadSingle(supplierId, "resm_official_supplier");
DynamicObject syssupplier = resm_official_supplier.getDynamicObject("syssupplier");//获取系统供应商