优化接口
This commit is contained in:
@@ -450,11 +450,6 @@
|
||||
产品数量
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:WMS.Web.Core.Dto.BoxMarkQueryResponse.Sort">
|
||||
<summary>
|
||||
排序
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:WMS.Web.Core.Dto.GenerateBoxMarkDto">
|
||||
<summary>
|
||||
生成箱唛dto
|
||||
|
||||
@@ -260,7 +260,7 @@ namespace WMS.Web.Repositories
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 批量删除
|
||||
/// 批量删除:只删除对应的箱唛编号
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns></returns>
|
||||
@@ -271,8 +271,8 @@ namespace WMS.Web.Repositories
|
||||
_transaction = _context.Database.BeginTransaction();
|
||||
try
|
||||
{
|
||||
var list = await _context.BoxMark.Include(x=>x.BillNos).Where(f => ids.Contains(f.Id)).ToListAsync();
|
||||
_context.BoxMark.RemoveRange(list);
|
||||
var list = await _context.BoxMarkBillNo.Where(f => ids.Contains(f.Id)).ToListAsync();
|
||||
_context.BoxMarkBillNo.RemoveRange(list);
|
||||
await _context.SaveChangesAsync();
|
||||
|
||||
if (_transaction != null)
|
||||
|
||||
Reference in New Issue
Block a user