|
|
@ -186,7 +186,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report |
|
|
|
" AND A.MaterialCode = B.MaterialCode\n" + |
|
|
|
" LEFT JOIN Set_material AS C ON a.MaterialCode = C.CustomerPartCode \n" + |
|
|
|
|
|
|
|
" left join set_backQty as tt on a.Kanban = tt.Code and a.MaterialCode = b.MaterialCode \n" + |
|
|
|
" left join set_backQty as tt on a.Kanban = tt.Code and a.MaterialCode = b.MaterialCode and a.version='"+version+"'\n"+ |
|
|
|
" WHERE\n" + |
|
|
|
" B.Kanban IS NULL \n" + |
|
|
|
" AND B.MaterialCode IS NULL {0}\n" + |
|
|
|