hao
2025-10-22 89d384623e1acdb3c58ec6d4094f9e8f2ec5ca57
StandardInterface/MES.Service/service/MesMouldManager.cs
@@ -28,7 +28,7 @@
                    if (UpdateStatus(db, entity.Code, "B")) return 1;
                    break;
                case "3":
                    if (DeleteMould(db, entity.Code)) return 1;
                    if (DeleteMould(db, entity.ErpId)) return 1;
                    break;
                case "2":
                    if (InsertOrUpdate(db, entity)) return 1;
@@ -104,7 +104,7 @@
    private bool DeleteMould(SqlSugarScope db, string erpId)
    {
        var result = db.Deleteable<MesMould>().Where(s => s.ErpId == erpId).ExecuteCommand();
        return result > 0;
        return true;
    }
    /// <summary>