diff --git a/src_tenwa/com/tenwa/lease/flow/project/businessapply/GpsVendorCheck.java b/src_tenwa/com/tenwa/lease/flow/project/businessapply/GpsVendorCheck.java index 81965ecf5..660fb9034 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/businessapply/GpsVendorCheck.java +++ b/src_tenwa/com/tenwa/lease/flow/project/businessapply/GpsVendorCheck.java @@ -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; } }