获取产品是否安装GPS
This commit is contained in:
parent
b40fbc1138
commit
802e59a978
@ -21,6 +21,9 @@ public class GpsVendorCheck {
|
||||
|
||||
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+"'");
|
||||
String gpsVendor = Sqlca.getString("select GPS_VENDOR from prd_specific_library where PRODUCTID = '"+productId+"'");
|
||||
if("".equals(gpsVendor))
|
||||
gpsVendor="null";
|
||||
return gpsVendor;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user