From 05ffc0ba3cf6a28503695afed55313e665d74298 Mon Sep 17 00:00:00 2001 From: lixuebo Date: Tue, 6 Aug 2019 14:39:02 +0800 Subject: [PATCH] GPS --- WebContent/Tenwa/Gps/LmGpsOrderList.jsp | 1 + config/gps.properties | 1 + src_tenwa/com/tenwa/gps/GpsCommon.java | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/WebContent/Tenwa/Gps/LmGpsOrderList.jsp b/WebContent/Tenwa/Gps/LmGpsOrderList.jsp index 5597b55d0..881f35e3e 100644 --- a/WebContent/Tenwa/Gps/LmGpsOrderList.jsp +++ b/WebContent/Tenwa/Gps/LmGpsOrderList.jsp @@ -24,6 +24,7 @@ function queryOrder(){ var orderNo = getItemValue(0,getRow(),"ORDER_NO"); + if(undefined==orderNo){alert("请选择一行");return;} var applyNo = getItemValue(0,getRow(),"APPLY_NO"); var projectId = getItemValue(0,getRow(),"PROJECT_ID"); var result =AsControl.RunJavaMethodTrans("com.tenwa.gps.GpsController","queryOrder","userId=<%=userId%>,flowUnid=流程外查询,applyNo="+applyNo+",orderNo="+orderNo+",tableName=LM_GPS_ORDER,projectId="+projectId); diff --git a/config/gps.properties b/config/gps.properties index 036ccf858..5847aa95c 100644 --- a/config/gps.properties +++ b/config/gps.properties @@ -1,5 +1,6 @@ TYuserAccount=tianyitest TYtoken=9999 TYsign=3474A2D7CFEC5DECD54DE8A263F7A4A9 +TYsign2=3474a2d7cfec5decd54de8a263f7a4a9 TYUrl=http://121.43.178.183:9989/dispatch_intf/apiController/order TYQueryOrderToVin=http://121.43.178.183:80/gps-intf/api2/getGpsInfosByCarVin \ No newline at end of file diff --git a/src_tenwa/com/tenwa/gps/GpsCommon.java b/src_tenwa/com/tenwa/gps/GpsCommon.java index 5ccbcd5da..436718785 100644 --- a/src_tenwa/com/tenwa/gps/GpsCommon.java +++ b/src_tenwa/com/tenwa/gps/GpsCommon.java @@ -19,6 +19,7 @@ public class GpsCommon { private static String TYuserAccount = GPSConfigure.get("TYuserAccount"); private static String TYtoken = GPSConfigure.get("TYtoken"); private static String TYsign = GPSConfigure.get("TYsign"); + private static String TYsign2 = GPSConfigure.get("TYsign2"); /** * * 天易--编辑新增工单请求参数 @@ -113,7 +114,7 @@ public class GpsCommon { Map params = new HashMap(); params.put("userAccount",TYuserAccount); params.put("token",TYtoken); - params.put("sign",TYsign); + params.put("sign",TYsign2); params.put("carVin",vin); return params; }