|
@@ -100,7 +100,10 @@ public interface MenuMapper {
|
|
|
"<when test='name!=null'>",
|
|
|
",name =#{name,jdbcType=VARCHAR}",
|
|
|
"</when>",
|
|
|
- "<when test='parentId!=null or parentId==-1 '>",
|
|
|
+ "<when test='parentId!=null'>",
|
|
|
+ ",parent_id =#{parentId,jdbcType=BIGINT}",
|
|
|
+ "</when>",
|
|
|
+ "<when test='parentId == null or parentId==-1 '>",
|
|
|
",parent_id =null",
|
|
|
"</when>",
|
|
|
"<when test='classCode!=null'>",
|