kongzy
2024-01-29 983bdb5b89932b38d08a11ad1eed6ea89d1597e1
assess-system/src/main/resources/mapper/SysAgencyMapper.xml
文件名从 assess-system/src/main/resources/mapper/system/SysAgencyMapper.xml 修改
@@ -59,11 +59,20 @@
            <if test="name != null and name != ''">
                AND a.name like concat('%', #{name}, '%')
            </if>
            <if test="province != null and province != ''">
                AND a.province=#{province}
            </if>
            <if test="city != null and city != ''">
                AND a.city=#{city}
            </if>
            <if test="district != null and district != ''">
                AND a.district=#{district}
            </if>
            <if test="business != null and business != ''">
                AND a.business like concat("%",#{business},"%")
            </if>
            <if test="publication != null">
                AND a.publication =#{publication}
            </if>
        </where>
        order by a.create_time desc
@@ -73,10 +82,6 @@
        <include refid="selectAgencyVo"/>
        where a.del_flag = 0 and a.id=#{agencyId}
    </select>
    <delete id="deleteAgencyById" parameterType="java.lang.Long">
        update sys_agency set del_flag=1 where id=#{agencyId}
    </delete>
    <select id="getBusinessById" resultType="java.lang.String">