diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsOutStockService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsOutStockService.cs
index 28b5f30a..20732d0c 100644
--- a/WarehouseMgr/Tnb.WarehouseMgr/WmsOutStockService.cs
+++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsOutStockService.cs
@@ -281,32 +281,6 @@ namespace Tnb.WarehouseMgr
return items;
}
- ///
- /// 测试
- ///
- ///
- [HttpGet]
- public async Task Testxx()
- {
- //var carryCodePropNames = typeof(WmsCarryCode).GetProperties().Select(p => p.Name);
- //var outStockCodePropNames = typeof(WmsSetsortingCode).GetProperties().Select(p => p.Name);
- //var intersects = carryCodePropNames.Intersect(outStockCodePropNames).ToList();
- //var excepts = carryCodePropNames.Except(outStockCodePropNames).ToList();
- //var excepts2 = outStockCodePropNames.Except(carryCodePropNames).ToList();
-
- //bill_id,bill_line,bill_d_id,bill_d_line,code_qty
-
- //try
- //{
- // var dddd = await _db.Queryable().Where(it => it.status == 8).ToListAsync();
- //}
- //catch (Exception ex)
- //{
-
- // throw;
- //}
- //var str = "";
- }
///
/// 生产出库接口
///
@@ -319,9 +293,9 @@ namespace Tnb.WarehouseMgr
{
await _db.Ado.BeginTranAsync();
//出库申请主表
- WmsOutstockH outstock = input.outstock;
+ WmsOutstockH outstock = input.outstock!;
//出库申请明细表
- List outstockDs = input.outstockDs;
+ List outstockDs = input.outstockDs!;
//如果数据不全,
if (outstock.IsNull() || outstock.location_id.IsNullOrWhiteSpace() || outstockDs?.Count < 1)
{
@@ -709,22 +683,4 @@ namespace Tnb.WarehouseMgr
}
}
}
-
- [SugarTable("test_tt")]
- public class TestTT
- {
- [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
- public int id { get; set; }
- //[SugarColumn( SqlParameterDbType = typeof(CommonPropertyConvert))]
- public int status { get; set; }
- }
-
- public enum EnumTestType
- {
- Normal = 1,
- Error = 2,
- Warn = 4,
- Info = 8,
- Faild = 16,
- }
}