mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-08 01:28:24 +08:00
style: 移除 CommonsDialectImpl 注释掉的无用代码。
This commit is contained in:
parent
6667e38f4c
commit
333256abc0
@ -244,7 +244,6 @@ public class CommonsDialectImpl implements IDialect {
|
|||||||
|
|
||||||
//fix: support schema
|
//fix: support schema
|
||||||
QueryTable queryTable = queryTables.get(0);
|
QueryTable queryTable = queryTables.get(0);
|
||||||
// String tableName = queryTables.get(0).getName();
|
|
||||||
sql.append(UPDATE).append(queryTable.toSql(this)).append(SET);
|
sql.append(UPDATE).append(queryTable.toSql(this)).append(SET);
|
||||||
int index = 0;
|
int index = 0;
|
||||||
for (String modifyAttr : modifyAttrs) {
|
for (String modifyAttr : modifyAttrs) {
|
||||||
@ -380,8 +379,8 @@ public class CommonsDialectImpl implements IDialect {
|
|||||||
buildHavingSql(sqlBuilder, queryWrapper, allTables);
|
buildHavingSql(sqlBuilder, queryWrapper, allTables);
|
||||||
|
|
||||||
//ignore orderBy and limit
|
//ignore orderBy and limit
|
||||||
//buildOrderBySql(sqlBuilder, queryWrapper);
|
//buildOrderBySql(sqlBuilder, queryWrapper)
|
||||||
//buildLimitSql(sqlBuilder, queryWrapper);
|
//buildLimitSql(sqlBuilder, queryWrapper)
|
||||||
|
|
||||||
List<String> endFragments = CPI.getEndFragments(queryWrapper);
|
List<String> endFragments = CPI.getEndFragments(queryWrapper);
|
||||||
if (CollectionUtil.isNotEmpty(endFragments)) {
|
if (CollectionUtil.isNotEmpty(endFragments)) {
|
||||||
@ -618,8 +617,8 @@ public class CommonsDialectImpl implements IDialect {
|
|||||||
buildHavingSql(sqlBuilder, queryWrapper, allTables);
|
buildHavingSql(sqlBuilder, queryWrapper, allTables);
|
||||||
|
|
||||||
//ignore orderBy and limit
|
//ignore orderBy and limit
|
||||||
//buildOrderBySql(sqlBuilder, queryWrapper);
|
//buildOrderBySql(sqlBuilder, queryWrapper)
|
||||||
//buildLimitSql(sqlBuilder, queryWrapper);
|
//buildLimitSql(sqlBuilder, queryWrapper)
|
||||||
|
|
||||||
return sqlBuilder.toString();
|
return sqlBuilder.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user