fix:日志打印
This commit is contained in:
@@ -106,7 +106,7 @@
|
|||||||
LEFT JOIN pdm_bi_slittingproductionplan p ON p.qzzno = bc.qzz_no1 OR p.qzzno = bc.qzz_no2
|
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'
|
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 (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>
|
||||||
<select id="getAreaNotTaskPointByStatusNotCheckPickUpCompleted"
|
<select id="getAreaNotTaskPointByStatusNotCheckPickUpCompleted"
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ public class AutoCallAirShaftTask {
|
|||||||
*/
|
*/
|
||||||
@Transactional(rollbackFor = Exception.class)
|
@Transactional(rollbackFor = Exception.class)
|
||||||
public void run() {
|
public void run() {
|
||||||
log.info(this.getClass().getName() + "开始执行...");
|
log.info("自动呼叫套轴开始执行...");
|
||||||
// 1、获取空的插拔轴位(无任务)
|
// 1、获取空的插拔轴位(无任务)
|
||||||
List<BstIvtShafttubeivt> emptyPoints = bstIvtShafttubeivtService.getAllShaftPointsByConditions("2",
|
List<BstIvtShafttubeivt> emptyPoints = bstIvtShafttubeivtService.getAllShaftPointsByConditions("2",
|
||||||
"0", "0");
|
"0", "0");
|
||||||
@@ -494,6 +494,7 @@ public class AutoCallAirShaftTask {
|
|||||||
if (tasks.size() == 0) {
|
if (tasks.size() == 0) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
log.info("存在任务,不允许套轴{}", dto);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -516,6 +517,7 @@ public class AutoCallAirShaftTask {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
log.info("检查是否有同母卷不允许套轴:{}", dto);
|
||||||
// 有就返回true
|
// 有就返回true
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user