啊鑫
18 小时以前 ed05efdc17aab076146b134ebe105b6382f221d7
MES.Service/service/BasicData/MesCustomerManager.cs
@@ -56,11 +56,13 @@
                switch (customerGroup.Key)
                {
                    case "0":
                        if (!UpdateCustomerStatusBatch(db, customerGroup.Value,"A"))
                        if (!UpdateCustomerStatusBatch(db, customerGroup.Value,
                                "A"))
                            throw new NotImplementedException("启用失败");
                        break;
                    case "1":
                        if (!UpdateCustomerStatusBatch(db, customerGroup.Value,"B"))
                        if (!UpdateCustomerStatusBatch(db, customerGroup.Value,
                                "B"))
                            throw new NotImplementedException("禁用失败");
                        break;
                    case "2":
@@ -129,8 +131,8 @@
            Fseller = customer.FSeller,
            Fforbidstatus = customer.FForbidStatus,
            CreateDate = DateTime.Now,
            CreateOrg= Convert.ToDecimal(customer.FCreateOrgId),
            UseOrg= Convert.ToDecimal(customer.FUseOrgId),
            CreateOrg = Convert.ToDecimal(customer.FCreateOrgId),
            UseOrg = Convert.ToDecimal(customer.FUseOrgId),
            Company = "1000",
            Factory = "1000"
        };