1
This commit is contained in:
@@ -32,8 +32,8 @@ namespace Tnb.WarehouseMgr
|
||||
[HttpGet]
|
||||
public async Task<dynamic> GetDisTasksByCarryId([FromRoute] string carryId)
|
||||
{
|
||||
var items = await _db.Queryable<WmsDistaskH>().Where(it => it.carry_id == carryId && it.status == WmsWareHouseConst.TASK_BILL_STATUS_COMPLE_ID && it.is_sign == 0).ToArrayAsync();
|
||||
return items;
|
||||
var item = await _db.Queryable<WmsDistaskH>().FirstAsync(it => it.carry_id == carryId && it.status == WmsWareHouseConst.TASK_BILL_STATUS_COMPLE_ID && it.is_sign == 0);
|
||||
return item;
|
||||
}
|
||||
[HttpPost]
|
||||
public async Task SaveData()
|
||||
|
||||
Reference in New Issue
Block a user