gps校验
This commit is contained in:
parent
b0223c5ce6
commit
6d94e101f3
@ -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+"'");
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user