OWL ITS + 탐지시스템(인터넷 진흥원)
이민희
2021-11-12 c8d436c6d85ea6f1e93c838a8b5a4690d0f075e4
src/main/resources/mybatis/query-template/department-template.xml
@@ -18,6 +18,14 @@
        <if test="id != '' and id != null">
            AND d.id like CONCAT('%',#{id},'%')
        </if>
        <choose>
            <when test="excludeIds != null and excludeIds.size != 0">
                AND d.id NOT IN
                <foreach collection="excludeIds" item="item" index="index" separator="," open="(" close=")">
                    #{item}
                </foreach>
            </when>
        </choose>
        <if test="pageSize != '' and pageSize != null">
            limit #{pageSize} offset #{page};
        </if>