diff --git a/src_tenwa/com/tenwa/lease/flow/project/businessapply/GpsVendorCheck.java b/src_tenwa/com/tenwa/lease/flow/project/businessapply/GpsVendorCheck.java new file mode 100644 index 000000000..81965ecf5 --- /dev/null +++ b/src_tenwa/com/tenwa/lease/flow/project/businessapply/GpsVendorCheck.java @@ -0,0 +1,26 @@ +package com.tenwa.lease.flow.project.businessapply; + +import com.amarsoft.are.jbo.JBOTransaction; +import com.amarsoft.awe.util.Transaction; +/** + * 获取产品中配置的GPS供应商 + * @author Administrator + * + */ +public class GpsVendorCheck { + + private String productId; + + public String getProductId() { + return productId; + } + + public void setProductId(String productId) { + this.productId = productId; + } + + public String getGpsVendor(JBOTransaction tx) throws Exception{ + Transaction Sqlca = Transaction.createTransaction(tx); + return Sqlca.getString("select GPS_VENDOR from prd_specific_library where PRODUCTID = '"+productId+"'"); + } +}