【调整】可空bean的标识串由{null}改成null
parent
059d3ffb09
commit
02a7973f42
Binary file not shown.
|
|
@ -354,7 +354,7 @@ namespace Luban.Job.Cfg.DataCreators
|
||||||
}
|
}
|
||||||
else if (subType != DefBean.BEAN_NOT_NULL_STR)
|
else if (subType != DefBean.BEAN_NOT_NULL_STR)
|
||||||
{
|
{
|
||||||
throw new Exception($"type:{type.Bean.FullName} 可空标识 不合法(只能为{DefBean.BEAN_NOT_NULL_STR}或{DefBean.BEAN_NULL_STR})");
|
throw new Exception($"type:{type.Bean.FullName} 可空标识:{subType} 不合法(只能为{DefBean.BEAN_NOT_NULL_STR}或{DefBean.BEAN_NULL_STR})");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return new DBean(originBean, originBean, CreateBeanFields(originBean, x, ass));
|
return new DBean(originBean, originBean, CreateBeanFields(originBean, x, ass));
|
||||||
|
|
|
||||||
|
|
@ -210,7 +210,7 @@ namespace Luban.Job.Cfg.DataCreators
|
||||||
}
|
}
|
||||||
else if (subType != DefBean.BEAN_NOT_NULL_STR)
|
else if (subType != DefBean.BEAN_NOT_NULL_STR)
|
||||||
{
|
{
|
||||||
throw new Exception($"type:{type.Bean.FullName} {DefBean.TYPE_NAME_KEY} 不合法(只能为{DefBean.BEAN_NOT_NULL_STR}或{DefBean.BEAN_NULL_STR})");
|
throw new Exception($"type:{type.Bean.FullName} {DefBean.TYPE_NAME_KEY}:{subType} 不合法(只能为{DefBean.BEAN_NOT_NULL_STR}或{DefBean.BEAN_NULL_STR})");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ namespace Luban.Job.Cfg.Defs
|
||||||
{
|
{
|
||||||
public const string TYPE_NAME_KEY = "__type__";
|
public const string TYPE_NAME_KEY = "__type__";
|
||||||
|
|
||||||
public const string BEAN_NULL_STR = "{null}";
|
public const string BEAN_NULL_STR = "null";
|
||||||
|
|
||||||
public const string BEAN_NOT_NULL_STR = "{}";
|
public const string BEAN_NOT_NULL_STR = "{}";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue