修复bug
This commit is contained in:
Binary file not shown.
@@ -216,7 +216,7 @@ namespace WMS.Web.Repositories
|
|||||||
public async Task<bool> IsExist(string name, string number)
|
public async Task<bool> IsExist(string name, string number)
|
||||||
{
|
{
|
||||||
var res = await _context.SubscribeNotification
|
var res = await _context.SubscribeNotification
|
||||||
.FirstOrDefaultAsync(f => f.CustomerName.Equals(name) && f.CustomerNumber.Equals(number));
|
.FirstOrDefaultAsync(f => f.CustomerName.Equals(name) && f.CustomerNumber.Equals(number) && f.IsDelete != true);
|
||||||
if (res == null) return false;
|
if (res == null) return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user