提交 3293522c 编写于 作者: zhouweidong's avatar zhouweidong

懒加载导致jackson序列化错误

上级 a69ecbde
...@@ -20,6 +20,7 @@ import ${pub.getPKGCodeName()}.util.domain.EntityBase; ...@@ -20,6 +20,7 @@ import ${pub.getPKGCodeName()}.util.domain.EntityBase;
import ${pub.getPKGCodeName()}.util.annotation.DEField; import ${pub.getPKGCodeName()}.util.annotation.DEField;
import ${pub.getPKGCodeName()}.util.enums.DEPredefinedFieldType; import ${pub.getPKGCodeName()}.util.enums.DEPredefinedFieldType;
import ${pub.getPKGCodeName()}.util.enums.DEFieldDefaultValueType; import ${pub.getPKGCodeName()}.util.enums.DEFieldDefaultValueType;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.io.Serializable; import java.io.Serializable;
import lombok.*; import lombok.*;
import org.springframework.data.annotation.Transient; import org.springframework.data.annotation.Transient;
...@@ -39,6 +40,7 @@ import ${pub.getPKGCodeName()}.util.domain.EntityMP; ...@@ -39,6 +40,7 @@ import ${pub.getPKGCodeName()}.util.domain.EntityMP;
@Setter @Setter
@NoArgsConstructor @NoArgsConstructor
@AllArgsConstructor @AllArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "${item.getTableName()}",resultMap = "${item.codeName}ResultMap") @TableName(value = "${item.getTableName()}",resultMap = "${item.codeName}ResultMap")
public class ${item.getCodeName()} extends EntityMP implements Serializable { public class ${item.getCodeName()} extends EntityMP implements Serializable {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册