Fixiaobai
2023-09-06 8abe275e36823f1065300af45e1f7a9a68f549a7
inspection-server/src/main/resources/mapper/InspectionMapper.xml
@@ -22,8 +22,8 @@
        join lims_laboratory.inspection_material im on i.id = im.inspection_id
        where i.state=1
        <if test="message!=null">
            and i.code like concat('%', #{message}, '%')
            or im.name like concat('%', #{message}, '%')
            and (i.code like concat('%', #{message}, '%')
            or im.name like concat('%', #{message}, '%'))
        </if>
    </select>