This commit is contained in:
lixuebo 2019-08-14 18:17:38 +08:00
parent 5abecc7c60
commit b40fbc1138
3 changed files with 18 additions and 3 deletions

View File

@ -21,6 +21,8 @@
gpsVendor = Sqlca.getString("SELECT gps_vendor FROM prd_specific_library WHERE productid = (SELECT productid FROM FLOW_BUSSINESS_OBJECT WHERE flow_unid='"+biz2[1]+"')");
}
}
if("".equals(gpsVendor))
gpsVendor="null";
sBizArg +=sBizArg+",ProjectNo="+ProjectNo+",gpsVendor="+gpsVendor;
System.out.println(sBizArg);
String sSubTypeNo = CurPage.getParameter("SubTypeNo");

View File

@ -172,13 +172,22 @@ public class GpsCommon {
public static boolean tyQueryToVinDataPersistence(String data) throws Exception{
JSONObject job = JSONObject.fromObject(data);
String result = job.getString("result");
if(!"0".equals(result))
if(!"0".equals(result)){
System.err.println("********************result****************");
System.err.println(result);
System.err.println("********************result****************");
return false;
}
JSONArray dataArr = job.getJSONArray("data");
for(int i=0;i<dataArr.size();i++){
if("0".equals(dataArr.getJSONObject(i).getString("status")));
if("0".equals(dataArr.getJSONObject(i).getString("status"))){
System.err.println("********************status****************");
System.err.println(dataArr.getJSONObject(i).getString("status"));
System.err.println("********************status****************");
return false;
}
}
return true;
}

View File

@ -23,7 +23,11 @@ public class GpsStatusCheck extends DefaultBussinessCheck {
res.close();
gpsController.setFlowUnid(flowunid);
gpsController.setUserId("风险预计调用");
setPass(gpsController.queryOrderToVin());
boolean a = gpsController.queryOrderToVin();
System.err.println("********************·çÏÕÔ¤¼Æ·µ»ØÖµ****************");
System.err.println(a);
System.err.println("********************·çÏÕÔ¤¼Æ·µ»ØÖµ****************");
setPass(a);
return null;
}
}