Fixiaobai
2023-11-17 2fb28b36f15de26249ae34160e1accf118c011c7
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}