From 802e59a9780762e417b0ade828f75c0a029d7859 Mon Sep 17 00:00:00 2001 From: lixuebo Date: Wed, 14 Aug 2019 18:35:34 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E4=BA=A7=E5=93=81=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E5=AE=89=E8=A3=85GPS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lease/flow/project/businessapply/GpsVendorCheck.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } }