diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/service/impl/BigScreenServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/service/impl/BigScreenServiceImpl.java index 0c1be89..e3d9c20 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/service/impl/BigScreenServiceImpl.java +++ b/lms/nladmin-system/src/main/java/org/nl/wms/cockpit/service/impl/BigScreenServiceImpl.java @@ -1452,7 +1452,7 @@ public class BigScreenServiceImpl implements BigScreenService { BZX.put("vehicle_code", vehicleCode); // 添加砖数量 WQLObject vdTab = WQLObject.getWQLObject("st_ivt_vehicle_detail"); - JSONObject object = vdTab.query("vehicle_type = '" + vehicleType + "'" + + JSONObject object = vdTab.query("is_delete = '0' AND vehicle_type = '" + vehicleType + "'" + " AND vehicle_code = '" + vehicleCode + "'").uniqueResult(0); BZX.put("qty", ObjectUtil.isNotEmpty(object) ? object.getString("qty") : ""); }