OWL ITS + 탐지시스템(인터넷 진흥원)
박지현
2022-03-07 398a4927e195755bd6a46be99337efd8dacc3dc2
src/main/resources/mybatis/query-template/IspField-template.xml
@@ -22,6 +22,7 @@
        <if test="id != '' and id != null">
            AND i.id like CONCAT('%',#{id},'%')
        </if>
        ORDER BY i.register_date DESC
        <if test="pageSize != '' and pageSize != null">
            limit #{pageSize} offset #{page};
        </if>
@@ -29,7 +30,7 @@
    <select id="count" resultType="java.lang.Long" parameterType="kr.wisestone.owl.web.condition.IspFieldCondition">
        SELECT
        count(i.id)
        count(DISTINCT i.id)
        FROM
        isp_field i
        WHERE 1=1