啊鑫
2025-02-14 1653a432611f93b2595efbd335ae2d83b7e42f5c
StandardPda/MES.Service/service/BasicData/MesProjectManager.cs
@@ -140,7 +140,7 @@
                OperatorsId = supplier.OperatorsID,
                DocumentStatus = supplier.FDocumentStatus,
                ForbidStatus = supplier.FForbidStatus,
                UseOrgId = se.FUseOrgId,
                UseOrgId = se.FUseOrgId
            };
            list.Add(mesSupplier);
@@ -152,8 +152,9 @@
    private bool InsertOrUpdate(SqlSugarScope db, List<MesProject> entity)
    {
        DeleteSupplier(entity);
        var insert = db.Insertable(entity).ExecuteCommand();
        var insert = db.Insertable(entity).PageSize(1).IgnoreColumnsNull()
            .ExecuteCommand();
        return insert > 0;
    }
}