From 2fb28b36f15de26249ae34160e1accf118c011c7 Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期五, 17 十一月 2023 16:47:17 +0800
Subject: [PATCH] Changes16
---
mes-plan/src/main/resources/mapper/CustomerOrderMapper.xml | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/mes-plan/src/main/resources/mapper/CustomerOrderMapper.xml b/mes-plan/src/main/resources/mapper/CustomerOrderMapper.xml
index b9ac663..9d6f977 100644
--- a/mes-plan/src/main/resources/mapper/CustomerOrderMapper.xml
+++ b/mes-plan/src/main/resources/mapper/CustomerOrderMapper.xml
@@ -267,11 +267,12 @@
<result property="deliveryDate" column="delivery_date"/>
<result property="manufactureAttr" column="manufacture_attr"/>
<result property="remark" column="remark"/>
+ <result property="wantedDeliveryDate" column="wanted_delivery_date"/>
</resultMap>
<!-- 闇�瑕佸鐞� -->
<select id="getCustomerOrderPage" resultMap="resultMap">
- SELECT
+ select * from (SELECT
pco.id ,
contract_no ,
pc.entity_name ,
@@ -295,11 +296,12 @@
sales_man ,
delivery_date,
manufacture_attr,
- pco.remark
+ pco.remark,
+ wanted_delivery_date
FROM
plan_customer_order pco
LEFT JOIN plan_customer pc ON pc."id" = pco.customer_id
- LEFT JOIN technology_document td ON td.id = pco.technology_document_id
+ LEFT JOIN technology_document td ON td.id = pco.technology_document_id) tempA
where 1=1
<if test="ew.emptyOfWhere == false">
and ${ew.SqlSegment}
--
Gitblit v1.9.3