Commit 7720ba8c by jiawei.su

someupdate

parent 77fb8df7
...@@ -127,12 +127,14 @@ namespace Siger.Middlelayer.AccRepository.Repositories ...@@ -127,12 +127,14 @@ namespace Siger.Middlelayer.AccRepository.Repositories
join q in _context.siger_automation_fixture_tools_product on p.product_code equals q.productcode join q in _context.siger_automation_fixture_tools_product on p.product_code equals q.productcode
join t in _context.siger_automation_fixture_tools on q.fixturetools equals t.guid join t in _context.siger_automation_fixture_tools on q.fixturetools equals t.guid
join l in _context.siger_automation_location on t.guid equals l.fixturetools join l in _context.siger_automation_location on t.guid equals l.fixturetools
join pd in _context.siger_project_product on p.product_id equals pd.id
where q.projectId == projectId && d.OrderNumber == ordernumber where q.projectId == projectId && d.OrderNumber == ordernumber
&& q.status == (int)RowState.Valid && t.status == (int)RowState.Valid && l.status==(int)RowState.Valid && q.status == (int)RowState.Valid && t.status == (int)RowState.Valid && l.status==(int)RowState.Valid
select new ResponsePlanlFixtureInfo select new ResponsePlanlFixtureInfo
{ {
OrderNumber = ordernumber, OrderNumber = ordernumber,
ProductName = p.product_name, ProductName = p.product_name,
Url=pd.image,
FixtureName=t.name, FixtureName=t.name,
FixtureGuid=t.guid, FixtureGuid=t.guid,
ProductCode =q!=null? q.productcode:"", ProductCode =q!=null? q.productcode:"",
......
...@@ -34,6 +34,7 @@ namespace Siger.Middlelayer.AccRepository.Response ...@@ -34,6 +34,7 @@ namespace Siger.Middlelayer.AccRepository.Response
public string OrderNumber { get; set; } public string OrderNumber { get; set; }
public string ProductCode { get; set; } public string ProductCode { get; set; }
public string ProductName { get; set; } public string ProductName { get; set; }
public string Url { get; set; }
public int status { get; set; } public int status { get; set; }
public string FixtureName { get; set; } public string FixtureName { get; set; }
public string FixtureGuid { get; set; } public string FixtureGuid { 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