<where>
<if test="shopCategoryCondition !=null">
and parent_id is not null
</if>
<if test="shopCategoryCondition.parent!=null">
and parent_id=#{shopCategoryCondition.parent.shopCategoryId}
</if>
</where>
请问,可能由于一些原因,不能进到类里面去看,我想知道某个对象里面有哪些属性,该如何调用呢,
我在ShopCategory.java实体类里面定义这个方法
@Override
public String toString() {
return "ShopCategory{" +
"shopCategoryId=" + shopCategoryId +
", shopCategoryName='" + shopCategoryName + '\'' +
", shopCategoryDesc='" + shopCategoryDesc + '\'' +
", shopCategoryImg='" + shopCategoryImg + '\'' +
", priority=" + priority +
", createTime=" + createTime +
", lastEditTime=" + lastEditTime +
", parent=" + parent +
'}';
}
然后该在哪里调用呢,怎么知道shopCategoryCondition.parent有哪些属性呢
还有debug话是怎么个debug法从哪里开始断点有点糊涂,
SSM商铺V1.0,解决毕设痛点;SpringBoot商铺V2.0,满足工作刚需
了解课程