소스 검색

客户销售明细没有单号问题处理

yzc 1 년 전
부모
커밋
b65572f641
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      hx-sale/src/main/resources/mapper/sale/SaleQuotationMapper.xml

+ 4 - 2
hx-sale/src/main/resources/mapper/sale/SaleQuotationMapper.xml

@@ -42,7 +42,8 @@
                         t1.buy_contact_name,
                         10 as                                               type,
                         t1.buy_corporation_id,
-                        t1.status
+                        t1.status,
+                        t1.code
                  FROM sale_quotation t1
                  UNION
                  SELECT t1.create_time,
@@ -53,7 +54,8 @@
                         t1.buy_contact_name,
                         20 as                                               type,
                         t1.buy_corporation_id,
-                        t1.status
+                        t1.status,
+                        t1.code
                  FROM contract t1
              ) t1
             ${ew.customSqlSegment}