huminmin
昨天 1c506371acbb461dd66773d40835fde6bfd67caf
src/main/resources/mapper/production/ProductOrderMapper.xml
@@ -20,6 +20,7 @@
        p.product_name as product_category,
        pm.model as specification_model,
        pm.unit,
        pm.material_code as materialCode,
        ppr.process_route_code,
        pb.bom_no,
        ROUND(po.complete_quantity / po.quantity * 100, 2) AS completionStatus,
@@ -64,6 +65,7 @@
                and po.create_time between #{c.startTime} and #{c.endTime}
            </if>
        </where>
        order by po.priority
    </select>
    <select id="listProcessRoute" resultType="com.ruoyi.production.pojo.ProcessRoute">
        select pr.*
@@ -81,7 +83,8 @@
               p.product_name,
               pp.name as  process_name,
               pm.product_id,
               pm.model
               pm.model,
               pm.material_code as materialCode
        from
            product_structure ps
                left join product_model pm on ps.product_model_id = pm.id