opt:优化日志
This commit is contained in:
@@ -69,10 +69,10 @@ public class SSXBKJTask extends AbstractTask {
|
|||||||
if(now_num < tcmn){
|
if(now_num < tcmn){
|
||||||
SchBasePoint point = findNextPoint();
|
SchBasePoint point = findNextPoint();
|
||||||
if (ObjectUtil.isEmpty(point)) {
|
if (ObjectUtil.isEmpty(point)) {
|
||||||
task.setRemark("未找到所需点位!");
|
task.setRemark("空架缓存区无可用库存!");
|
||||||
taskService.update(task);
|
taskService.update(task);
|
||||||
// 消息通知
|
// 消息通知
|
||||||
log.info("输送线补空架未找到当前符合条件的点位!");
|
log.info("空架缓存区无可用库存,输送线补空架未找到当前符合条件的点位!");
|
||||||
continue;
|
continue;
|
||||||
}else{
|
}else{
|
||||||
// 获取任务
|
// 获取任务
|
||||||
@@ -126,7 +126,7 @@ public class SSXBKJTask extends AbstractTask {
|
|||||||
&& StringUtils.isEmpty(schBasePoint.getIng_task_code())
|
&& StringUtils.isEmpty(schBasePoint.getIng_task_code())
|
||||||
&& StringUtils.isEmpty(schBasePoint.getVehicle_code2())
|
&& StringUtils.isEmpty(schBasePoint.getVehicle_code2())
|
||||||
&& schBasePoint.getVehicle_qty() ==1) {
|
&& schBasePoint.getVehicle_qty() ==1) {
|
||||||
log.info("输送线补空架找到当前符合条件的点位{}", schBasePoint.getPoint_code());
|
log.info("输送线补空架找到当前符合条件的点位{}", schBasePoint);
|
||||||
return schBasePoint;
|
return schBasePoint;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user