Commit a8e93415 authored by neo's avatar neo

[bugfix] fix manual formual sql limit to rownum

parent 9dbb14aa
......@@ -106,13 +106,13 @@
FROM
PERIOD_CELL_TEMPLATE CT
JOIN
REPORT R
PERIOD_REPORT R
ON
CT.REPORT_TEMPLATE_ID = R.TEMPLATE_ID
AND CT.PERIOD = R.PERIOD
WHERE
CT.CELL_TEMPLATE_ID = #{cellTemplateId,jdbcType=BIGINT}
AND R.ID = #{reportId,jdbcType=BIGINT} LIMIT 1
AND R.ID = #{reportId,jdbcType=BIGINT} ROWNUM = 1
</select>
</mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment