当表间有One2Many或Many2One时,会发生无限循环的场景,如何破?
只要在Set方法前增加以下注解即可:
@JsonIgnore public Set xxxs() { return this.xxxYyyy; }
Copyright @ 2024 汤姆熊猫 Powered by .NET 8.0 on Kubernetes Powered by: .Text and ASP.NET Theme by: .NET Monster