소스 검색

报表优化

wufeng 2 년 전
부모
커밋
3ad9cfb02e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/command/Report.php

+ 1 - 1
app/command/Report.php

@@ -501,7 +501,7 @@ class Report extends Command
             b.sendType 发货方式,
             a.thNum 退货数量,
             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)
 		          ->order(['a.id' => 'desc'])
 		          ->cursor();