zhaowenxuan
2025-01-02 5d208c50c5d3b8e8699b17757f0b8a35f699fb6b
ltkj-hosp/src/main/resources/mapper/hosp/TjAdviceMapper.xml
@@ -51,6 +51,12 @@
            <if test="proName != null and proName != ''">
                and p.pro_name like concat('%',#{proName},'%')
            </if>
            <if test="bt != null and bt != ''">
                and a.title like concat('%',#{bt},'%')
            </if>
            <if test="nr != null and nr != ''">
                and a.advice like concat('%',#{nr},'%')
            </if>
        </where>
        LIMIT #{page},#{pageSize}
    </select>
@@ -65,6 +71,12 @@
            <if test="proName != null">
                and p.pro_name like concat('%',#{proName},'%')
            </if>
            <if test="bt != null and bt != ''">
                and a.title like concat('%',#{bt},'%')
            </if>
            <if test="nr != null and nr != ''">
                and a.advice like concat('%',#{nr},'%')
            </if>
        </where>
    </select>