sys_dept gson 序列化与反序列化 异常
This commit is contained in:
parent
7a15f3ad92
commit
97cd4bede6
|
@ -14,11 +14,11 @@ public class TreeNode<T> implements Serializable {
|
||||||
/**
|
/**
|
||||||
* 主键
|
* 主键
|
||||||
*/
|
*/
|
||||||
private Long id;
|
private transient Long id;
|
||||||
/**
|
/**
|
||||||
* 上级ID
|
* 上级ID
|
||||||
*/
|
*/
|
||||||
private Long pid;
|
private transient Long pid;
|
||||||
/**
|
/**
|
||||||
* 子节点列表
|
* 子节点列表
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue