|
|
@ -157,7 +157,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report |
|
|
|
" a.WMSDeliveryQty - ISNULL( b.Qty, 0 )) AS DiffQty \n" + |
|
|
|
" FROM\n" + |
|
|
|
" Set_WMSKanBanSettle A\n" + |
|
|
|
" LEFT JOIN ( SELECT * FROM Set_KanBanSettle WHERE version = '{0}' ) B ON A.Kanban = B.Kanban \n" + |
|
|
|
" LEFT JOIN ( SELECT * FROM Set_KanBanSettle ) B ON A.Kanban = B.Kanban \n" + |
|
|
|
" AND A.MaterialCode = B.MaterialCode\n" + |
|
|
|
" LEFT JOIN Set_material AS C ON a.MaterialCode = C.CustomerPartCode \n" + |
|
|
|
" ) TEMP1\n" + |
|
|
|