| | |
| | | SuppNo = supplier.FNumber, |
| | | SuppSname = supplier.FShortName, |
| | | SuppName = supplier.FName, |
| | | Lxr = supplier.F_UNW_LXR, |
| | | Telf1 = supplier.F_UNW_LXRDH, |
| | | Lxr = supplier.FtContact, |
| | | Telf1 = supplier.Fmobilephone, |
| | | Fstaffid = supplier.FStaffId, |
| | | Fforbidstatus = supplier.FForbidStatus, |
| | | CreateDate = DateTime.Now, |
| | | CreateOrg= Convert.ToDecimal(supplier.FCreateOrgId), |
| | | UseOrg= Convert.ToDecimal(supplier.FUseOrgId), |
| | | Remark=supplier.FDescription, |
| | | Company = "1000", |
| | | Factory = "1000" |
| | | }; |
| | | } |
| | | |
| | | private bool UpdateSupplierStatusBatch(SqlSugarScope db, |
| | | List<MesSupplier> supplierList, string status) |
| | | private bool UpdateSupplierStatusBatch(SqlSugarScope db, List<MesSupplier> supplierList, string status) |
| | | { |
| | | var ids = supplierList.Select(it => it.Id).ToArray(); |
| | | var result = db.Updateable<MesSupplier>() |