电梯调整等
This commit is contained in:
@@ -320,10 +320,10 @@ namespace Tnb.WarehouseMgr
|
||||
try
|
||||
{
|
||||
await _db.Ado.BeginTranAsync();
|
||||
if (_db.Queryable<WmsTempCode>().Where(it => input.BillId == it.require_id).Any())
|
||||
{
|
||||
throw new AppFriendlyException("条码已生成", 500);
|
||||
};
|
||||
//if (_db.Queryable<WmsTempCode>().Where(it => input.BillId == it.require_id).Any())
|
||||
//{
|
||||
// throw new AppFriendlyException("条码已生成", 500);
|
||||
//};
|
||||
WmsPurchaseD WmsPurchaseD = await _db.Queryable<WmsPurchaseD>().Where(it => input.BillId == it.id).FirstAsync();
|
||||
WmsPurchaseH WmsPurchaseH = await _db.Queryable<WmsPurchaseH>().Where(it => WmsPurchaseD.bill_id == it.id).FirstAsync();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user