|
|
|
@ -28,6 +28,11 @@ public class MappingItem {
|
|
|
|
|
*/
|
|
|
|
|
public String destName;
|
|
|
|
|
/**
|
|
|
|
|
* 该字段在目标表是不是主键
|
|
|
|
|
* 1=主键
|
|
|
|
|
*/
|
|
|
|
|
public Integer destPk;
|
|
|
|
|
/**
|
|
|
|
|
* 目标字段的默认值,通过此默认值识别字段类型,一定要配置正确
|
|
|
|
|
* 可以使用的表达式: #date, #time, #guid, #Q.warehouse(#zone)
|
|
|
|
|
*/
|
|
|
|
@ -39,6 +44,7 @@ public class MappingItem {
|
|
|
|
|
+ this.srcName + ", destBeanName:"
|
|
|
|
|
+ this.destBeanName + ", destName"
|
|
|
|
|
+ this.destName + ", defaultValue:"
|
|
|
|
|
+ this.defaultValue;
|
|
|
|
|
+ this.defaultValue + ", destPk:"
|
|
|
|
|
+ this.destPk;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|