fix:日志打印

This commit is contained in:
2024-07-09 09:49:53 +08:00
parent 4801eb9271
commit a231610675
2 changed files with 4 additions and 2 deletions

View File

@@ -106,7 +106,7 @@
LEFT JOIN pdm_bi_slittingproductionplan p ON p.qzzno = bc.qzz_no1 OR p.qzzno = bc.qzz_no2
WHERE bc.point_type IN ('1', '3') AND bc.point_status = '2'
AND (IFNULL(bc.qzz_no1,'') <![CDATA[ <> ]]> '' OR IFNULL(bc.qzz_no2,'') <![CDATA[ <> ]]> '')
AND p.resource_name = #{resource_name}
AND p.resource_name = #{resource_name} AND IFNULL(p.qzzno, '') <![CDATA[ <> ]]> ''
</select>
<select id="getAreaNotTaskPointByStatusNotCheckPickUpCompleted"

View File

@@ -92,7 +92,7 @@ public class AutoCallAirShaftTask {
*/
@Transactional(rollbackFor = Exception.class)
public void run() {
log.info(this.getClass().getName() + "开始执行...");
log.info("自动呼叫套轴开始执行...");
// 1、获取空的插拔轴位(无任务)
List<BstIvtShafttubeivt> emptyPoints = bstIvtShafttubeivtService.getAllShaftPointsByConditions("2",
"0", "0");
@@ -494,6 +494,7 @@ public class AutoCallAirShaftTask {
if (tasks.size() == 0) {
return true;
}
log.info("存在任务,不允许套轴{}", dto);
return false;
}
@@ -516,6 +517,7 @@ public class AutoCallAirShaftTask {
return true;
}
}
log.info("检查是否有同母卷不允许套轴:{}", dto);
// 有就返回true
return false;
}