|
|
@ -113,7 +113,8 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES |
|
|
|
, string inhouseNo, string date_str, string date_end, string status, string factoryID, string factoryNo, int page = 0, int limit = 10) |
|
|
|
{ |
|
|
|
var q = from q1 in _context.FqcInhouseMasters |
|
|
|
join q2 in _context.FqcInhouseDetails on new { q1.InhouseNo, q1.SeqID } equals new { q2.InhouseNo, q2.SeqID } |
|
|
|
join q2 in _context.FqcInhouseDetails on new { q1.InhouseNo, q1.SeqID } equals new { q2.InhouseNo, q2.SeqID } into j0 |
|
|
|
from q2 in j0.DefaultIfEmpty() |
|
|
|
join q3 in _context.FqcResultMasters on q1.InhouseNo equals q3.InhouseNo into j1 |
|
|
|
from q3 in j1.DefaultIfEmpty() |
|
|
|
join q4 in _context.WipInfos on q1.WipNo equals q4.WipNO into s |
|
|
|