@ -6179,7 +6179,7 @@ public class QcServiceImpl implements QcService {
}
}
log . debug ( "更新呆滞刷新日期 - 数量: {}, 日期: {}" , labelRecordIds . size ( ) , now ) ;
log . debug ( "更新呆滞刷新日期 - 数量: {}, 日期: {}" , labelRecordIds . size ( ) , now ) ;
/ / 如果是临期品检验 , 还需要更新 InventoryStock . ExpiredDate_new
/ / 如果是临期品检验 , 还需要更新 InventoryStock . ExpiredDate
boolean isExpiredInspection = details . stream ( )
boolean isExpiredInspection = details . stream ( )
. anyMatch ( detail - > "临期品" . equals ( detail . getType ( ) ) ) ;
. anyMatch ( detail - > "临期品" . equals ( detail . getType ( ) ) ) ;
if ( isExpiredInspection ) {
if ( isExpiredInspection ) {
@ -6247,7 +6247,7 @@ public class QcServiceImpl implements QcService {
detail . getLabelRecordId ( ) , detail . getType ( ) , detail . getPreAuditTime ( ) ) ;
detail . getLabelRecordId ( ) , detail . getType ( ) , detail . getPreAuditTime ( ) ) ;
}
}
/ / 如果是临期品检验 , 还需要更新 InventoryStock . ExpiredDate_new
/ / 如果是临期品检验 , 还需要更新 InventoryStock . ExpiredDate
boolean isExpiredInspection = details . stream ( )
boolean isExpiredInspection = details . stream ( )
. anyMatch ( detail - > "临期品" . equals ( detail . getType ( ) ) ) ;
. anyMatch ( detail - > "临期品" . equals ( detail . getType ( ) ) ) ;
log . debug ( "🔍 是否为临期品检验: {}" , isExpiredInspection ) ;
log . debug ( "🔍 是否为临期品检验: {}" , isExpiredInspection ) ;
@ -6342,7 +6342,7 @@ public class QcServiceImpl implements QcService {
log . debug ( "✅ SQC取消审核时回滚完成状态 - 数量: {}, laboratoryOrderNo: {}" ,
log . debug ( "✅ SQC取消审核时回滚完成状态 - 数量: {}, laboratoryOrderNo: {}" ,
rollbackUpdateCount , laboratoryOrderNo ) ;
rollbackUpdateCount , laboratoryOrderNo ) ;
/ / 如果是临期品检验 , 还需要回滚 InventoryStock . ExpiredDate_new
/ / 如果是临期品检验 , 还需要回滚 InventoryStock . ExpiredDate
boolean isExpiredInspection = details . stream ( )
boolean isExpiredInspection = details . stream ( )
. anyMatch ( detail - > "临期品" . equals ( detail . getType ( ) ) ) ;
. anyMatch ( detail - > "临期品" . equals ( detail . getType ( ) ) ) ;
if ( isExpiredInspection ) {
if ( isExpiredInspection ) {