|
@@ -592,7 +592,7 @@ class Report extends Command
|
|
|
')
|
|
|
->leftJoin('invoice_pool_info b', 'b.invNo=a.invNo')
|
|
|
->leftJoin('invoice_ticket c', 'c.invNo=a.invNo and c.type=0 and c.status=1')
|
|
|
- ->leftJoin("invoice_good m","m.invNo=a,invNo and m.invtype=0 and m.is_del=0")
|
|
|
+ ->leftJoin("invoice_good m","m.invNo=a.invNo and m.invtype=0 and m.is_del=0")
|
|
|
// ->leftJoin('assoc d', 'd.viceCode=a.invNo and d.type=1')
|
|
|
->leftJoin('qrd_info e', 'e.sequenceNo=m.orderCode')
|
|
|
->leftJoin('cgd_info f', 'e.cgdNo=d.orderCode')
|