Commit 1b48627c authored by suhuiguang's avatar suhuiguang

1.删除无用代码

parent 55ac42f1
...@@ -133,7 +133,7 @@ public class MetaHandler implements MetaObjectHandler { ...@@ -133,7 +133,7 @@ public class MetaHandler implements MetaObjectHandler {
*/ */
@Override @Override
public void updateFill(MetaObject metaObject) { public void updateFill(MetaObject metaObject) {
// DOTO tianbo 逻辑 //todo tianbo 逻辑
Class clazz = metaObject.getOriginalObject().getClass(); Class clazz = metaObject.getOriginalObject().getClass();
FillCommonUserField annotation = (FillCommonUserField) clazz.getAnnotation(FillCommonUserField.class); FillCommonUserField annotation = (FillCommonUserField) clazz.getAnnotation(FillCommonUserField.class);
if (annotation == null || annotation.isAutoFill()) { if (annotation == null || annotation.isAutoFill()) {
...@@ -142,8 +142,6 @@ public class MetaHandler implements MetaObjectHandler { ...@@ -142,8 +142,6 @@ public class MetaHandler implements MetaObjectHandler {
} }
// 正常只需要更新如下 // 正常只需要更新如下
Date currentDate = new Date(); Date currentDate = new Date();
if (isExistField("updateTime", metaObject.getOriginalObject())) { this.setFieldValByName("updateTime", currentDate, metaObject);
this.setFieldValByName("updateTime", currentDate, metaObject);
}
} }
} }
\ 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