chenhj
2026-03-28 febd17b52e2b1cca562fb080424e84e47830cd89
src/main/resources/mapper/measuringinstrumentledger/SparePartsMapper.xml
@@ -6,8 +6,8 @@
        from spare_parts sp
        left join spare_parts sp1 on sp1.id = sp.parent_id
        <where>
            <if test="spareParts.name != null">
                and name like concat('%',#{spareParts.name},'%')
            <if test="spareParts.name != null and spareParts.name != ''">
                and sp.name like concat('%',#{spareParts.name},'%')
            </if>
        </where>
    </select>