分支自 SuZhouGuanHong/TaiYuanTaiZhong

dengjunjie
2024-05-25 c54d869fe4c5e2a805624a9ade4f9057c916f358
代码管理/PCS/WCS_Server/WIDESEA_WCS/JobsPart/Common/AutoUpdateWork.cs
@@ -117,9 +117,10 @@
                            jobID = mes_Detail.jobID,
                            mes_detail_id = mes_Detail.mes_detail_id,
                            mes_headID = mes_Detail.mes_headID,
                            operatetype = operatetype,
                            operatetype = string.IsNullOrEmpty(mes_Detail.Status) ? "瓒呮椂娓呯悊" : operatetype,
                            SN = mes_Detail.SN,
                            Status = mes_Detail.Status,
                            completedate = DateTime.Now,
                        };
                        mes_Details_hty.Add(mes_Detail_Hty);
                        mes_DetailRepository.Delete(mes_Detail, true);
@@ -155,6 +156,7 @@
                    reqIDLineNo = mes_Head.reqIDLineNo,
                    typeID = mes_Head.typeID,
                    workOrder = mes_Head.workOrder,
                    completedate = DateTime.Now,
                };
                mes_Head_HtyRepository.Add(mes_Head_Hty, true);
                mes_HeadRepository.Delete(mes_Head, true);