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