| | |
| | | import javax.swing.table.DefaultTableModel; |
| | | |
| | | import com.vci.client.LogonApplication; |
| | | import com.vci.client.common.providers.ServiceProvider; |
| | | import com.vci.client.oq.QTClient; |
| | | import com.vci.client.oq.QTDClient; |
| | | import com.vci.client.portal.UI.dialog.VCIGuideStepPanel; |
| | |
| | | for (Entry<String, QTD[]> entry : pLActions) { |
| | | QTD[] qtds = entry.getValue(); |
| | | for (QTD qtd : qtds) { |
| | | boolean success= QTDClient.getService().addQTD(qtd); |
| | | boolean success= ServiceProvider.getOMDService().getQTDService().addQTD(qtd); |
| | | if(!success){ |
| | | VCIJOptionPane.showMessage(this, qtd.name+"导入失败!"); |
| | | } |
| | |
| | | if(allQTs.size()!=0){ |
| | | for (Entry<String, QTInfo> entry : pLQts) { |
| | | QTInfo qtWrapper = entry.getValue(); |
| | | boolean success = QTDClient.getService().saveQT(qtWrapper); |
| | | boolean success = ServiceProvider.getOMDService().getQTDService().saveQT(qtWrapper); |
| | | if(!success){ |
| | | VCIJOptionPane.showMessage(this, qtWrapper.qtName+"导入失败!"); |
| | | } |