Преглед на файлове

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

yzc преди 1 година
родител
ревизия
ebd58fad42
променени са 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

@@ -43,7 +43,8 @@
                         10 as                                               type,
                         t1.buy_corporation_id,
                         t1.status,
-                        t1.code
+                        t1.code,
+                        t1.id
                  FROM sale_quotation t1
                  UNION
                  SELECT t1.create_time,
@@ -55,7 +56,8 @@
                         20 as                                               type,
                         t1.buy_corporation_id,
                         t1.status,
-                        t1.code
+                        t1.code,
+                        t1.id
                  FROM contract t1
              ) t1
             ${ew.customSqlSegment}