学员查看成绩没有操作权限的问题修复
This commit is contained in:
+4
@@ -3,6 +3,7 @@ package com.roomroot.jwgl.service;
|
||||
import com.roomroot.jwgl.entity.XYXX;
|
||||
import com.roomroot.jwgl.entity.XYDB;
|
||||
import com.roomroot.jwgl.entity.XYDQB;
|
||||
import com.roomroot.jwgl.entity.KB;
|
||||
import com.roomroot.jwgl.entity.PXRW;
|
||||
import com.roomroot.jwgl.entity.XYXJYDSQB;
|
||||
import com.roomroot.jwgl.entity.XYXJYJJGB;
|
||||
@@ -43,6 +44,9 @@ public interface StudentRecordsService {
|
||||
/** 学员队期下拉选项(编号+名称) */
|
||||
List<XYDQB> listPeriodOptions();
|
||||
|
||||
/** 课程科目下拉选项(课编号+课名称),供成绩查询等页面使用,不受教研室权限限制 */
|
||||
List<KB> listKbOptions();
|
||||
|
||||
/** 学籍异动——留级 */
|
||||
void retainGrade(String bh);
|
||||
|
||||
|
||||
+12
@@ -15,6 +15,7 @@ import com.roomroot.jwgl.entity.XYXJYJJGB;
|
||||
import com.roomroot.jwgl.entity.XYXJYJTJB;
|
||||
import com.roomroot.jwgl.entity.XYKCCJ;
|
||||
import com.roomroot.jwgl.entity.XYKCGCCJ;
|
||||
import com.roomroot.jwgl.entity.KB;
|
||||
import com.roomroot.jwgl.mapper.XYXXMapper;
|
||||
import com.roomroot.jwgl.mapper.XYDBMapper;
|
||||
import com.roomroot.jwgl.mapper.XYDQBMapper;
|
||||
@@ -24,6 +25,7 @@ import com.roomroot.jwgl.mapper.XYXJYJJGBMapper;
|
||||
import com.roomroot.jwgl.mapper.XYXJYJTJBMapper;
|
||||
import com.roomroot.jwgl.mapper.XYKCCJMapper;
|
||||
import com.roomroot.jwgl.mapper.XYKCGCCJMapper;
|
||||
import com.roomroot.jwgl.mapper.KBMapper;
|
||||
import com.roomroot.jwgl.service.StudentRecordsService;
|
||||
import com.roomroot.jwgl.unit.PageQuery;
|
||||
import com.roomroot.jwgl.unit.PageResult;
|
||||
@@ -70,6 +72,9 @@ public class StudentRecordsServiceImpl implements StudentRecordsService {
|
||||
@Resource
|
||||
private XYDQBMapper xydqbMapper;
|
||||
|
||||
@Resource
|
||||
private KBMapper kbMapper;
|
||||
|
||||
@Resource
|
||||
private PXRWMapper pxrwMapper;
|
||||
|
||||
@@ -247,6 +252,13 @@ public class StudentRecordsServiceImpl implements StudentRecordsService {
|
||||
.orderByAsc(XYDQB::getXydbh));
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<KB> listKbOptions() {
|
||||
return kbMapper.selectList(new LambdaQueryWrapper<KB>()
|
||||
.select(KB::getKbh, KB::getKmc)
|
||||
.orderByAsc(KB::getKbh));
|
||||
}
|
||||
|
||||
/**
|
||||
* 当前班次编号关联学员队表、专业表、学员课程成绩,回显年级、专业、班次、考试情况、不及格门数、管理机构。
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user