yuan
5 天以前 7aad06fedc12f0183734088fa44c929ac6ff42b3
src/main/resources/mapper/sales/ShipmentApprovalMapper.xml
@@ -3,8 +3,12 @@
<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
@@ -20,5 +24,6 @@
                AND  sl.sales_contract_no LIKE CONCAT('%',#{req.salesContractNo},'%')
            </if>
        </where>
        ORDER BY sa.id DESC
    </select>
</mapper>