OWL ITS + 탐지시스템(인터넷 진흥원)
이민희
2022-03-17 916a3cbabe4e50062fce61ff6f2f5d46c05dfbd1
src/main/resources/mybatis/query-template/HostingField-template.xml
@@ -22,7 +22,7 @@
        <if test="id != '' and id != null">
            AND h.id like CONCAT('%',#{id},'%')
        </if>
        ORDER BY h.id DESC
        ORDER BY h.register_date DESC
        <if test="pageSize != '' and pageSize != null">
            limit #{pageSize} offset #{page};
        </if>
@@ -30,7 +30,7 @@
    <select id="count" resultType="java.lang.Long" parameterType="kr.wisestone.owl.web.condition.HostingFieldCondition">
        SELECT
        count(h.id)
        count(DISTINCT h.id)
        FROM
        hosting_field h
        WHERE 1=1