huliguo
2025-05-06 03e22f45b1b06b68a3ba8b9390e9a5f1ddda752a
src/main/resources/mapper/InstitutionMapper.xml
@@ -5,13 +5,16 @@
    <select id="pageList" resultType="com.cl.pojo.vo.InstitutionVO">
        select
            id , name, type, county, phone
            id , name, type, county, phone,address
        from
            t_institution
        where
            del_flag=0
        <if test="null!=county and county!=0">
            and county=#{county}
        <if test="countyList != null and countyList.size() > 0">
            AND county IN
            <foreach collection="countyList" item="item" open="(" separator="," close=")">
                #{item}
            </foreach>
        </if>
        <if test="null!=name and ''!=name">
            and name like concat('%',#{name},'%')