From caaa37d3f59eeb33d97e0f3497bbf5885865f59d Mon Sep 17 00:00:00 2001 From: dangsn <dangsn@chicecm.com> Date: 星期一, 09 十二月 2024 18:27:17 +0800 Subject: [PATCH] 调整WebBoService中的查询接口。主要是BusinessObject对象属性的赋值,以及BusinessObject和BaseModel之间的属性互相赋值 --- Source/Client/PLTClient/src/com/vci/client/oq/ui/ImpQTD.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/Client/PLTClient/src/com/vci/client/oq/ui/ImpQTD.java b/Source/Client/PLTClient/src/com/vci/client/oq/ui/ImpQTD.java index e8da59e..571d600 100644 --- a/Source/Client/PLTClient/src/com/vci/client/oq/ui/ImpQTD.java +++ b/Source/Client/PLTClient/src/com/vci/client/oq/ui/ImpQTD.java @@ -15,6 +15,7 @@ import org.apache.poi.hssf.usermodel.HSSFWorkbook; import com.vci.client.LogonApplication; +import com.vci.client.common.providers.ServiceProvider; import com.vci.client.oq.QTDClient; import com.vci.corba.omd.qtm.QTD; @@ -57,9 +58,9 @@ } System.out.println(qtds.size()); for(QTD qtd: qtds){ - boolean isExist = QTDClient.getService().isExistsQTD(qtd.name); + boolean isExist = ServiceProvider.getOMDService().getQTDService().isExistsQTD(qtd.name); if(!isExist){ - boolean isSuc = QTDClient.getService().addQTD(qtd); + boolean isSuc = ServiceProvider.getOMDService().getQTDService().addQTD(qtd); } } return true; -- Gitblit v1.9.3