|
@@ -93,8 +93,7 @@ public class ShardingServiceImpl implements IShardingService {
|
|
|
String customSqlSegment = queryWrapper.getCustomSqlSegment();
|
|
|
String orderBySql = "";
|
|
|
if (customSqlSegment.contains(ORDER_BY)) {
|
|
|
- orderBySql = customSqlSegment.substring(customSqlSegment.lastIndexOf(ORDER_BY),
|
|
|
- customSqlSegment.length());
|
|
|
+ orderBySql = customSqlSegment.substring(customSqlSegment.lastIndexOf(ORDER_BY), customSqlSegment.length());
|
|
|
}
|
|
|
Map<String, Object> oldParamValueMap = queryWrapper.getParamNameValuePairs();
|
|
|
for (int i = 0; i < tableNameList.size(); i++) {
|