修改联核接口Taskcode
This commit is contained in:
@@ -83,7 +83,7 @@ namespace Tnb.WarehouseMgr
|
|||||||
{
|
{
|
||||||
var eles = await _db.Queryable<WmsElevatorH>().LeftJoin<WmsElevatorD>((a, b) => a.id == b.bill_id)
|
var eles = await _db.Queryable<WmsElevatorH>().LeftJoin<WmsElevatorD>((a, b) => a.id == b.bill_id)
|
||||||
.LeftJoin<WmsDistaskH>((a, b, c) => b.location_id == c.endlocation_id)
|
.LeftJoin<WmsDistaskH>((a, b, c) => b.location_id == c.endlocation_id)
|
||||||
.Where((a, b, c) => c.endlocation_code == input.targetName && c.bill_code == $"{input.taskChainCode}-{input.taskCode}")
|
.Where((a, b, c) => c.endlocation_code == input.targetName && c.bill_code == input.taskCode)
|
||||||
.ToListAsync();
|
.ToListAsync();
|
||||||
}
|
}
|
||||||
catch (Exception)
|
catch (Exception)
|
||||||
|
|||||||
@@ -36,8 +36,6 @@ namespace Tnb.WarehouseMgr
|
|||||||
int row = 0;
|
int row = 0;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
//例1 获取所有表
|
|
||||||
|
|
||||||
List<Dictionary<string, object>> dics = await ImportExcelToMemory(file);
|
List<Dictionary<string, object>> dics = await ImportExcelToMemory(file);
|
||||||
List<BasLocation> locs = new List<BasLocation>();
|
List<BasLocation> locs = new List<BasLocation>();
|
||||||
BasLocation loc = new BasLocation();
|
BasLocation loc = new BasLocation();
|
||||||
|
|||||||
Reference in New Issue
Block a user