@ -101,7 +101,7 @@ public class FieldMetaObjectHandler implements MetaObjectHandler {
}
if (fillEntity) {
id = null == id ? 0L : id;
id = null == id ? NumConstant.ZERO_L : id;
//更新者
setFieldValByName(UPDATER, id, metaObject);
//更新时间
@ -23,6 +23,12 @@ public interface NumConstant {
int FIFTY = 50;
int ONE_HUNDRED = 100;
long ZERO_L = 0L;
long ONE_L = 1L;
long TWO_L = 2L;
long THREE_L = 3L;
long FOUR_L = 4L;
String ZERO_STR = "0";
String ONE_STR = "1";
String TWO_STR = "2";