特殊情况判断0101为空但前面有货情况
This commit is contained in:
@@ -370,6 +370,7 @@ public class GHCMLTask extends AbstractTask {
|
||||
.collect(Collectors.toList());
|
||||
JSONObject jsonObject = JSONObject.parseObject(task.getRequest_param());
|
||||
SchBasePoint result = findNextPoint(nextRegionStr, jsonObject);
|
||||
log.info("任务{}二次分配找到目标点位{}",task_id, result.getPoint_code());
|
||||
// 锁住货位点
|
||||
PointUtils.setUpdateByAcs(result);
|
||||
result.setIng_task_code(task.getTask_code());
|
||||
|
||||
@@ -62,6 +62,7 @@
|
||||
AND p.is_used = TRUE
|
||||
AND p.point_code like '%01-01%'
|
||||
AND (p.ing_task_code = '' OR p.ing_task_code IS NULL)
|
||||
AND 0= (Select count(*) from sch_base_point p2 where point_status=2 and p.row_num=p2.row_num)
|
||||
ORDER BY p.row_num, p.col_num
|
||||
LIMIT 1;
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user