11
This commit is contained in:
parent
5abecc7c60
commit
b40fbc1138
@ -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");
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user