| | |
| | | <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 , |
| | |
| | | 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} |