gongchunyi
4 天以前 9f6a65e7f4b87b0e27e7d2949b4e42f40419b2ff
src/main/resources/mapper/sales/ShippingInfoMapper.xml
@@ -21,6 +21,7 @@
        sl.sales_contract_no,
        pm.model as specification_model,
        pm.unit,
        slp.packaging_spec,
        p.product_name,
        sl.customer_name,
        spd.totalQuantity,
@@ -48,7 +49,7 @@
        <if test="req.expressNumber != null and req.expressNumber != ''">
            AND s.express_number LIKE CONCAT('%',#{req.expressNumber},'%')
        </if>
        order by create_time DESC
        order by s.shipping_no DESC
    </select>
    <select id="listAll" resultType="com.ruoyi.sales.pojo.ShippingInfo">
        SELECT
@@ -72,6 +73,7 @@
            slp.product_category,
            slp.specification_model,
            slp.unit,
            slp.product_model_id,
            sor.outbound_batches,
            sor.stock_out_num,
            sor.batch_no,
@@ -97,6 +99,7 @@
                si.id = #{shippingId}
            </if>
        </where>
        order by sor.id
    </select>
    <select id="getShippingInfoByCustomerName" resultType="com.ruoyi.sales.pojo.ShippingInfo">
        select * from shipping_info si