mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-08 01:28:24 +08:00
style: 移除注释代码
This commit is contained in:
parent
feef4b5b17
commit
6a4c3b9a9f
@ -559,12 +559,8 @@ public class TableInfo {
|
||||
return Collections.emptySet();
|
||||
}
|
||||
for (String property : updates.keySet()) {
|
||||
String column = getColumnByProperty(property);
|
||||
// String column = propertyColumnMapping.get(property);
|
||||
// if (column == null) {
|
||||
// continue;
|
||||
// }
|
||||
|
||||
String column = getColumnByProperty(property);
|
||||
|
||||
if (onUpdateColumns != null && onUpdateColumns.containsKey(column)) {
|
||||
continue;
|
||||
@ -607,17 +603,6 @@ public class TableInfo {
|
||||
|
||||
columns.add(column);
|
||||
}
|
||||
|
||||
// 普通 entity(非 ModifyAttrsRecord) 忽略 includePrimary 的设置
|
||||
// if (includePrimary) {
|
||||
// for (String column : this.primaryKeys) {
|
||||
// Object value = getColumnValue(metaObject, column);
|
||||
// if (ignoreNulls && value == null) {
|
||||
// continue;
|
||||
// }
|
||||
// columns.add(column);
|
||||
// }
|
||||
// }
|
||||
}
|
||||
return columns;
|
||||
}
|
||||
@ -639,11 +624,6 @@ public class TableInfo {
|
||||
for (String property : updates.keySet()) {
|
||||
|
||||
String column = getColumnByProperty(property);
|
||||
// String column = propertyColumnMapping.get(property);
|
||||
// if (column == null) {
|
||||
// continue;
|
||||
// }
|
||||
|
||||
|
||||
if (onUpdateColumns != null && onUpdateColumns.containsKey(column)) {
|
||||
continue;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user