소스 검색

学生会部门查询报错修复

dzx 6 달 전
부모
커밋
b48832d7cb
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/main/java/com/xjrsoft/module/student/mapper/CadreDeptMapper.java

+ 2 - 1
src/main/java/com/xjrsoft/module/student/mapper/CadreDeptMapper.java

@@ -5,6 +5,7 @@ import com.xjrsoft.module.student.dto.CadreDeptTreeDto;
 import com.xjrsoft.module.student.entity.CadreDept;
 import com.xjrsoft.module.student.vo.CadreDeptTreeVo;
 import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
 
 import java.util.List;
 
@@ -16,5 +17,5 @@ import java.util.List;
  */
 @Mapper
 public interface CadreDeptMapper extends MPJBaseMapper<CadreDept> {
-    List<CadreDeptTreeVo> getCadreDeptTree(CadreDeptTreeDto dto);
+    List<CadreDeptTreeVo> getCadreDeptTree(@Param("dto") CadreDeptTreeDto dto);
 }