src/main/resources/mybatis/query-template/companyField-template.xml
@@ -32,7 +32,7 @@ <if test="url != '' and id != url"> AND cf.url like CONCAT('%',#{url},'%') </if> ORDER BY cf.id DESC ORDER BY cf.register_date DESC <if test="pageSize != '' and pageSize != null"> limit #{pageSize} offset #{page}; </if> @@ -40,7 +40,7 @@ <select id="count" resultType="java.lang.Long" parameterType="kr.wisestone.owl.web.condition.CompanyFieldCondition"> SELECT count(cf.id) count(DISTINCT cf.id) FROM company_field cf WHERE 1=1