| | |
| | | <mapper namespace="com.ruoyi.sales.mapper.ShipmentApprovalMapper"> |
| | | |
| | | <select id="listPage" resultType="com.ruoyi.sales.pojo.ShipmentApproval"> |
| | | SELECT *, |
| | | SELECT sa.*, |
| | | slp.product_category, slp.specification_model, slp.unit, slp.quantity, slp.min_stock, |
| | | slp.tax_rate, slp.tax_inclusive_unit_price, slp.tax_inclusive_total_price, slp.tax_exclusive_total_price, |
| | | slp.invoice_type, slp.type, |
| | | si.shipping_car_number, |
| | | si.shipping_date, |
| | | T2.nick_name AS entry_person_name |
| | | FROM shipment_approval sa |
| | | LEFT JOIN shipping_info si ON sa.shipping_info_id = si.id |
| | |
| | | AND sl.sales_contract_no LIKE CONCAT('%',#{req.salesContractNo},'%') |
| | | </if> |
| | | </where> |
| | | ORDER BY sa.id DESC |
| | | </select> |
| | | </mapper> |