This commit is contained in:
18188916393
2022-09-12 16:26:50 +08:00
parent f091d8316b
commit 163623e265

View File

@@ -131,8 +131,13 @@ public class StructFindUtil {
}*/
//判断输送线上料位置有无空位置
result = pointTable.query("device_id = '" + deviceObj.getString("device_id") + "' and device_point_type='01'").uniqueResult(0);
if (ObjectUtil.isNotEmpty(result)){
break;
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);
if (ObjectUtil.isEmpty(joo)) {
break;
}
}
}
return result;