This commit is contained in:
18188916393
2022-09-12 16:55:12 +08:00
parent 163623e265
commit 4a48023b01

View File

@@ -130,7 +130,8 @@ public class StructFindUtil {
break;
}*/
//判断输送线上料位置有无空位置
result = pointTable.query("device_id = '" + deviceObj.getString("device_id") + "' and device_point_type='01'").uniqueResult(0);
result = pointTable.query("device_id = '" + deviceObj.getString("device_id") + "' and device_point_type='01' and point_status='00'")
.uniqueResult(0);
if (ObjectUtil.isNotEmpty(result)) {
String point_code = result.getString("point_code");
JSONObject joo = taskTable.query("next_point_code = '" + point_code + "' and is_delete='0' and task_status in('04','05','06')").uniqueResult(0);