更新
This commit is contained in:
@@ -36,6 +36,10 @@ public class PointUpdateUtil {
|
|||||||
pallet_type = "0" + (pointjo.getIntValue("pallet_type") + 2);
|
pallet_type = "0" + (pointjo.getIntValue("pallet_type") + 2);
|
||||||
}
|
}
|
||||||
pointjo.put("point_status", point_status);
|
pointjo.put("point_status", point_status);
|
||||||
|
if (StrUtil.equals(vehicle_code,"0")){
|
||||||
|
vehicle_code="";
|
||||||
|
}
|
||||||
|
|
||||||
JSONObject pointObj = pointTable.query("point_code ='" + device_code + "'").uniqueResult(0);
|
JSONObject pointObj = pointTable.query("point_code ='" + device_code + "'").uniqueResult(0);
|
||||||
pointObj.put("vehicle_code", vehicle_code);
|
pointObj.put("vehicle_code", vehicle_code);
|
||||||
pointObj.put("point_status", point_status);
|
pointObj.put("point_status", point_status);
|
||||||
|
|||||||
Reference in New Issue
Block a user