|
@@ -501,7 +501,7 @@ class Report extends Command
|
|
b.sendType 发货方式,
|
|
b.sendType 发货方式,
|
|
a.thNum 退货数量,
|
|
a.thNum 退货数量,
|
|
a.fundCode 财务核算编码')
|
|
a.fundCode 财务核算编码')
|
|
- ->leftJoin('cgd_info b', 'b.qrdCode=a.sequenceNo and b.is_del=0')
|
|
|
|
|
|
+ ->leftJoin('cgd_info b', 'b.sequenceNo=a.cgdNo and b.is_del=0')
|
|
->where($where)
|
|
->where($where)
|
|
->order(['a.id' => 'desc'])
|
|
->order(['a.id' => 'desc'])
|
|
->cursor();
|
|
->cursor();
|