chenhj
2 天以前 663120b055dfdced4a67ce1d4160ae8ca19b4190
src/main/resources/mapper/production/ProductOrderMapper.xml
@@ -31,9 +31,6 @@
            <if test="c.salesContractNo != null and c.salesContractNo != ''">
                and sl.sales_contract_no like concat('%',#{c.salesContractNo},'%')
            </if>
            <if test="c.customerName != null and c.customerName != ''">
                and sl.customer_name like concat('%',#{c.customerName},'%')
            </if>
            <if test="c.productCategory != null and c.productCategory != ''">
                and slp.product_category like concat('%',#{c.productCategory},'%')
            </if>
@@ -46,7 +43,7 @@
        </where>
    </select>
    <select id="productMainByOrderId" resultType="com.ruoyi.production.dto.ProductOrderDto">
        select po.*,
        select po.*,F
               pwo.work_order_no,
               pwo.report_work,
               pwo.status,
@@ -73,7 +70,8 @@
               p.product_name,
               pp.name as  process_name,
               pm.product_id,
               pm.model
               pm.model,
               ps.material_type
        from
            product_structure ps
                left join product_model pm on ps.product_model_id = pm.id