| | |
| | | } |
| | | |
| | | // 更新仓库状态的方法 |
| | | private bool UpdateDepotStatus(SqlSugarScope db, long depotId, |
| | | private bool UpdateDepotStatus(SqlSugarScope db, decimal depotId, |
| | | string status) |
| | | { |
| | | var result = db.Updateable<MesDepots>() |
| | |
| | | { |
| | | DepotCode = depots.FNumber, |
| | | DepotName = depots.FName, |
| | | DepotId = string.IsNullOrEmpty(depots.Id) |
| | | ? DateTimeOffset.UtcNow.ToUnixTimeSeconds() |
| | | : Convert.ToInt32(depots.Id), |
| | | // DepotId = string.IsNullOrEmpty(depots.Id) |
| | | // ? DateTimeOffset.UtcNow.ToUnixTimeSeconds() |
| | | // : Convert.ToInt32(depots.Id), |
| | | IsFkc = depots.FAllowMinusQty, |
| | | CreateBy = depots.FPrincipal, |
| | | Depottype = depots.FStockProperty, |