From cd18ea3ab91e36c24ff5b846cf623473dbace90c Mon Sep 17 00:00:00 2001 From: IT-KIMI_SHI\SINOIT.KIMI <kimi42345@gmail.com> Date: 星期二, 12 六月 2018 14:55:06 +0800 Subject: [PATCH] no message --- source/my/frame/src/frame/persist/SQLCreator.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/source/my/frame/src/frame/persist/SQLCreator.java b/source/my/frame/src/frame/persist/SQLCreator.java index b8f8f40..8656824 100644 --- a/source/my/frame/src/frame/persist/SQLCreator.java +++ b/source/my/frame/src/frame/persist/SQLCreator.java @@ -62,7 +62,7 @@ int pos_limit = sql.lastIndexOf("limit ", pos_beginno); if (pos_pagesize > 0 && pos_limit > 0) { - sql = sql.substring(0, pos_limit) + sql.substring(pos_pagesize + "@{pagesize}".length()); + sql = sql.subString(0, pos_limit) + sql.subString(pos_pagesize + "@{pagesize}".length()); } pos_beginno = sql.indexOf("@{beginno}", pos_beginno + 1); -- Gitblit v1.8.0