@ -2037,7 +2037,7 @@ public class WorkOrderServiceImpl extends BaseServiceImpl<WorkOrderMapper, WorkO
public void oemHandle(Long nextWpId, int type) {
// 接收工序
WorkPlan workPlan = workPlanService.getById(nextWpId);
if (workPlan != null && !"1".equals(workPlan.getOem())) {
if (workPlan == null || !"1".equals(workPlan.getOem())) {
return;
}
// 完成工序