优化接口
This commit is contained in:
@@ -63,6 +63,6 @@ namespace WMS.Web.Domain.Infrastructure
|
||||
/// <param name="ids"></param>
|
||||
/// <param name="isTransaction"></param>
|
||||
/// <returns></returns>
|
||||
Task<bool> DeleteRange(List<int> ids, bool isTransaction = false);
|
||||
Task<bool> DeleteRange(List<int> ids, bool isTransaction = true);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,6 +53,6 @@ namespace WMS.Web.Domain.Infrastructure
|
||||
/// <param name="ids"></param>
|
||||
/// <param name="isTransaction"></param>
|
||||
/// <returns></returns>
|
||||
Task<bool> DeleteRange(List<int> ids, bool isTransaction = false);
|
||||
Task<bool> DeleteRange(List<int> ids, bool isTransaction = true);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -248,7 +248,7 @@ namespace WMS.Web.Repositories
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns></returns>
|
||||
public async Task<bool> DeleteRange(List<int> ids, bool isTransaction = false)
|
||||
public async Task<bool> DeleteRange(List<int> ids, bool isTransaction = true)
|
||||
{
|
||||
IDbContextTransaction _transaction = null;
|
||||
if (isTransaction)
|
||||
|
||||
@@ -130,7 +130,7 @@ namespace WMS.Web.Repositories
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns></returns>
|
||||
public async Task<bool> DeleteRange(List<int> ids, bool isTransaction = false)
|
||||
public async Task<bool> DeleteRange(List<int> ids, bool isTransaction = true)
|
||||
{
|
||||
IDbContextTransaction _transaction = null;
|
||||
if (isTransaction)
|
||||
|
||||
Reference in New Issue
Block a user