执行代码清理,修复warning
This commit is contained in:
@@ -57,7 +57,7 @@ namespace Tnb.WarehouseMgr
|
||||
}
|
||||
if (!materialCode.IsNullOrEmpty() && seq > 0)
|
||||
{
|
||||
var item = await _repository.GetFirstAsync(it => it.material_code == materialCode && it.seq == seq);
|
||||
WmsCollocationSchemeH item = await _repository.GetFirstAsync(it => it.material_code == materialCode && it.seq == seq);
|
||||
if (item != null)
|
||||
{
|
||||
throw new AppFriendlyException($"物料+顺序【{materialCode}{seq}】,在数据库中已存在", 500);
|
||||
@@ -83,7 +83,11 @@ namespace Tnb.WarehouseMgr
|
||||
//[NonUnify]
|
||||
public async Task<dynamic?> MESCollocationSchemeQuery(MESCollocationSchemeQueryInput input)
|
||||
{
|
||||
if (input.IsNull()) throw new ArgumentNullException("input");
|
||||
if (input.IsNull())
|
||||
{
|
||||
throw new ArgumentNullException("input");
|
||||
}
|
||||
|
||||
SqlSugarPagedList<CollocationSchemeOutput> pageData = new();
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user