sjz
2025-07-19 302054e253f1550ee64430882786ec9a3920ec92
MES.Service/service/BasicData/MesSupplierManager.cs
@@ -92,7 +92,7 @@
        var exists = db.Queryable<MesSupplier>().Any(e => e.Id == entity.Id);
        if (exists)
        {
            var result = db.Updateable<MesSupplier>().ExecuteCommand();
            var result = db.Updateable(entity).ExecuteCommand();
            return true;
        }
        else
@@ -144,9 +144,9 @@
            Fstaffid = supplier.FStaffId,
            Fforbidstatus = supplier.FForbidStatus,
            CreateDate = DateTime.Now,
            CreateOrg= Convert.ToDecimal(supplier.FCreateOrgId),
            UseOrg= Convert.ToDecimal(supplier.FUseOrgId),
            Remark=supplier.FDescription,
            CreateOrg = Convert.ToDecimal(supplier.FCreateOrgId),
            UseOrg = Convert.ToDecimal(supplier.FUseOrgId),
            Remark = supplier.FDescription,
            Company = "1000",
            Factory = "1000"
        };