| | |
| | | var log = JsonConvert.SerializeObject(model); |
| | | if (model != null) |
| | | { |
| | | model.EXPIRATION = System.DateTime.Now.AddMinutes(GetExportTime(model.SPEC)); |
| | | model.EXPIRATION = System.DateTime.Now.AddHours(GetExportTime(model.SPEC)); |
| | | |
| | | if (db.Insertable<TN_EquipProDetail>(model).ExecuteCommand() > 0) |
| | | { |
| | |
| | | { |
| | | db.Deleteable<TN_InventoryM>(target).ExecuteCommand(); |
| | | } |
| | | model.EXPIRATION = System.DateTime.Now.AddMinutes(GetExportTime(model.SPEC)); |
| | | model.EXPIRATION = System.DateTime.Now.AddHours(GetExportTime(model.SPEC)); |
| | | if (db.Insertable<TN_InventoryM>(model).ExecuteCommand() > 0) |
| | | { |
| | | LogHelper.Info($"插入WMS库存明细成功,{log}"); |