龚焕茏
2024-07-03 3ec909b27b3eba956aa9d00cc7a94c179bd04bbf
src/main/java/com/mindskip/xzs/repository/ExamPaperDepartmentMapper.java
@@ -2,6 +2,7 @@
import com.mindskip.xzs.domain.ExamPaperDepartment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@@ -35,4 +36,13 @@
     * @return
     */
    Integer removeByExamPaperId(Integer id);
    Integer removeByExamPaperIds(@Param("ids") Integer[] ids);
    /**
     * 根据用户id获取部门名称
     * @param userId 用户
     * @return 所在部门
     */
    String selectByUserId(Integer userId);
}