Commit da6817f3 by xin.yang

fix bug

parent 4d21c90a
......@@ -74,7 +74,7 @@ namespace Siger.ApiACC.Controllers
}
}
var loca = locations.FirstOrDefault(q => q.locationid == item.locationid);
var loca = locations.FirstOrDefault(q => q.locationid == item.locaid);
if(loca != null)
{
var locas = GetParentLocations(loca.id, locations);
......
......@@ -35,6 +35,7 @@ namespace Siger.Middlelayer.AccRepository.Repositories
{
id = q.id,
locationid = l.id,
locaid = q.locationid,
location = l.name,
wavehouseid = w.id,
wavehouse = w.name,
......
......@@ -11,6 +11,7 @@ namespace Siger.Middlelayer.AccRepository.Response
/// 储位位置
/// </summary>
public int locationid { get; set; }
public int locaid { get; set; }
public string location { get; set; }
public int wavehouseid { get; set; }
public string wavehouse { get; set; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment