符号错误
This commit is contained in:
@@ -146,7 +146,7 @@ namespace Tnb.WarehouseMgr
|
||||
{
|
||||
|
||||
var data = await _db.Queryable<WmsTempCode>().Where(p => p.barcode == code).FirstAsync();
|
||||
if(data==null)
|
||||
if (data == null)
|
||||
throw new AppFriendlyException("没有条码信息", 500);
|
||||
var result = data.Adapt<CarryMaterialDetail>();
|
||||
return result;
|
||||
@@ -202,7 +202,7 @@ namespace Tnb.WarehouseMgr
|
||||
public async Task<Result> CarryBind(CarryBindInput input)
|
||||
{
|
||||
bool isOk = false;
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
if (input == null)
|
||||
@@ -303,7 +303,7 @@ namespace Tnb.WarehouseMgr
|
||||
visualDevModelCrInput.data[nameof(WmsCarrybindH.carrystd_id)] = carry.carrystd_id;
|
||||
if (!string.IsNullOrEmpty(input.create_id))
|
||||
visualDevModelCrInput.data[nameof(WmsCarrybindH.create_id)] = input.create_id;
|
||||
|
||||
|
||||
visualDevModelCrInput.data[nameof(WmsCarrybindH.create_time)] = DateTime.Now;
|
||||
visualDevModelCrInput.data[nameof(WmsCarrybindH.loc)] = 1;
|
||||
VisualDevEntity? templateEntity = await _visualDevService.GetInfoById(ModuleConsts.MODULE_WMSCARRYUNBIND_ID, true);
|
||||
@@ -324,7 +324,7 @@ namespace Tnb.WarehouseMgr
|
||||
await _db.Ado.RollbackTranAsync();
|
||||
return await ToApiResult(JNPF.Common.Enums.HttpStatusCode.InternalServerError, ex.Message);
|
||||
}
|
||||
|
||||
|
||||
return await ToApiResult(JNPF.Common.Enums.HttpStatusCode.OK, "成功");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user