src/main/resources/mybatis/query-template/HostingField-template.xml
@@ -22,6 +22,7 @@ <if test="id != '' and id != null"> AND h.id like CONCAT('%',#{id},'%') </if> ORDER BY h.id 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.HostingFieldCondition"> SELECT count(h.id) count(DISTINCT h.id) FROM hosting_field h WHERE 1=1