wuxw
2022-07-19 05683f2b2bdbdbe21cf17ad523c21ab338bd1c54
java110-db/src/main/resources/mapper/community/AppServiceDaoImplMapper.xml
old mode 100644 new mode 100755
@@ -87,11 +87,18 @@
        <if test="appId !=null and appId != ''">
            and t.app_id= #{appId}
        </if>
        <if test="appIds !=null ">
            and t.app_id in
            <foreach collection="appIds" item="item" open="(" close=")" separator=",">
                #{item}
            </foreach>
        </if>
        <if test="blackListIp !=null and blackListIp != ''">
            and t.black_list_ip= #{blackListIp}
        </if>
        <if test="name !=null and name != ''">
            and t.name= #{name}
            and t.name like concat('%',#{name},'%')
        </if>
        <if test="securityCode !=null and securityCode != ''">
            and t.security_code= #{securityCode}
@@ -147,6 +154,12 @@
        <if test="appId !=null and appId != ''">
            and t.app_id= #{appId}
        </if>
        <if test="appIds !=null ">
            and t.app_id in
            <foreach collection="appIds" item="item" open="(" close=")" separator=",">
                #{item}
            </foreach>
        </if>
        <if test="blackListIp !=null and blackListIp != ''">
            and t.black_list_ip= #{blackListIp}
        </if>