2026-04-16 6ad5c2cdc193cf7bb02884961b7434cd7f607a0d
src/main/resources/mapper/production/ProductOrderMapper.xml
@@ -63,6 +63,14 @@
            <if test="c.startTime != null and c.endTime != null">
                and po.create_time between #{c.startTime} and #{c.endTime}
            </if>
            <if test="isAdmin == false">
                and exists (
                    select 1
                    from product_work_order pwo_auth
                    where pwo_auth.product_order_id = po.id
                      and find_in_set(#{userId}, pwo_auth.report_user_ids)
                )
            </if>
        </where>
    </select>
    <select id="listProcessRoute" resultType="com.ruoyi.production.pojo.ProcessRoute">