Explorar o código

修复更新菜单取消父级出现2个父类ID问题

梁欢 hai 1 mes
pai
achega
569357ef7c
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      src/main/java/cn/hnthyy/thmz/mapper/thmz/MenuMapper.java

+ 0 - 3
src/main/java/cn/hnthyy/thmz/mapper/thmz/MenuMapper.java

@@ -103,9 +103,6 @@ public interface MenuMapper {
             "<when test='parentId!=null'>",
             ",parent_id =#{parentId,jdbcType=BIGINT}",
             "</when>",
-            "<when test='parentId!=null and parentId==-1 '>",
-            ",parent_id =null",
-            "</when>",
             "<when test='classCode!=null'>",
             ",class_code =#{classCode,jdbcType=VARCHAR}",
             "</when>",