zhanghl
2025-04-25 869e18089681a047332552cae97bc34d7aedd19c
钣金详细计划-更改document_status 判断范围为 (0,1,2,4)
已修改1个文件
2 ■■■ 文件已修改
aps-modules/aps-core/src/main/resources/mapper/core/ApsPartRouteStatMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
aps-modules/aps-core/src/main/resources/mapper/core/ApsPartRouteStatMapper.xml
@@ -125,7 +125,7 @@
            left join aps_resource_group as rs on rs.resource_group_name=rt.process_name
        where pl.del_flag='0' and rt.del_flag='0'
            /*零件计划状态为:非完工 */
            and ( pl.document_status is not null and ( pl.document_status!='3' or pl.order_status!='完工') )
            and document_status in (0,1,2,4)
            /*工序计划开工日 小于等于 资源组的截止日期*/
            and rt.process_plan_start_day  <= rs.request_date
            order by rt.work_order_no,process_plan_start_day