zwxi 1 년 전
부모
커밋
259334d331
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      models/fms/contract_invoice.go

+ 1 - 0
models/fms/contract_invoice.go

@@ -775,6 +775,7 @@ func GetCensusSellerInvoicePageListV2(page base.IPage, adminStr, inCond, conditi
 
 	sqlCount := ` select count(1) as count from (SELECT * 
 				FROM contract_invoice AS c
+				INNER JOIN contract_register AS b ON c.contract_register_id = b.contract_register_id 
 				WHERE %s
 				AND c.seller_id IN (` + adminStr + `) GROUP BY c.seller_id ) as a
 				 `