buhuazhen
2026-04-16 48d1f158e54933a4414b4092f4a0e4d71d7e1632
src/main/resources/mapper/production/ProductProcessMapper.xml
@@ -4,9 +4,11 @@
    <select id="listPage" resultType="com.ruoyi.production.dto.ProductProcessDto">
        SELECT
        *
        p.*,
        dl.device_name AS deviceName
        FROM
        product_process p
        left join device_ledger dl on p.device_ledger_id = dl.id
        <where>
            <if test="productProcessDto.name != null and productProcessDto.name != '' ">
                AND  p.name LIKE CONCAT('%',#{productProcessDto.name},'%')