diff --git a/aucma-production/src/main/resources/mapper/production/ProdTaskPoolMapper.xml b/aucma-production/src/main/resources/mapper/production/ProdTaskPoolMapper.xml index 5b33b9e..80a4981 100644 --- a/aucma-production/src/main/resources/mapper/production/ProdTaskPoolMapper.xml +++ b/aucma-production/src/main/resources/mapper/production/ProdTaskPoolMapper.xml @@ -45,7 +45,7 @@ ) then 'ABNORMAL' when nvl(oi.execution_status, 'PENDING') = 'COMPLETED' then 'COMPLETED' when nvl(oi.execution_status, 'PENDING') = 'RUNNING' then 'RUNNING' - when oi.end_date is not null and oi.end_date < trunc(sysdate) and nvl(oi.execution_status, 'PENDING') <> 'COMPLETED' then 'OVERTIME' + when oi.end_date is not null and oi.end_date < trunc(sysdate) and nvl(oi.execution_status, 'PENDING') != 'COMPLETED' then 'OVERTIME' else 'PENDING' end as task_bucket, tp.owner_user_id,