1、学员队期下拉选择;

2、学员信息管理,操作列改为两行显示
This commit is contained in:
2026-09-23 14:58:19 +08:00
parent 90fb852cf2
commit fb3d20def6
6 changed files with 79 additions and 10 deletions
@@ -3,6 +3,7 @@ package com.roomroot.web.controller.jwgl;
import com.roomroot.jwgl.entity.XYXX;
import com.roomroot.jwgl.entity.XYDNDXQJBXXB;
import com.roomroot.jwgl.entity.XYDB;
import com.roomroot.jwgl.entity.XYDQB;
import com.roomroot.jwgl.entity.PXRW;
import com.roomroot.jwgl.entity.XYXJYDSQB;
import com.roomroot.jwgl.entity.XYXJYJJGB;
@@ -94,6 +95,14 @@ public class StudentRecordsController {
return Result.success(studentRecordsService.pageList(query, xyxx));
}
/**
* 学员队期下拉选项(编号+名称),供学员信息表单选择学员队期编号。
*/
@GetMapping("/period-options")
public Result<List<XYDQB>> periodOptions() {
return Result.success(studentRecordsService.listPeriodOptions());
}
// ======================== 学员信息批量导入 ========================
/**
@@ -2,6 +2,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.PXRW;
import com.roomroot.jwgl.entity.XYXJYDSQB;
import com.roomroot.jwgl.entity.XYXJYJJGB;
@@ -39,6 +40,9 @@ public interface StudentRecordsService {
/** 分页查询学员列表 */
PageResult<XYXX> pageList(PageQuery query, XYXX xyxx);
/** 学员队期下拉选项(编号+名称) */
List<XYDQB> listPeriodOptions();
/** 学籍异动——留级 */
void retainGrade(String bh);
@@ -240,6 +240,13 @@ public class StudentRecordsServiceImpl implements StudentRecordsService {
query.getPageNum(), query.getPageSize());
}
@Override
public List<XYDQB> listPeriodOptions() {
return xydqbMapper.selectList(new LambdaQueryWrapper<XYDQB>()
.select(XYDQB::getBh, XYDQB::getMc, XYDQB::getXydbh)
.orderByAsc(XYDQB::getXydbh));
}
/**
* 当前班次编号关联学员队表、专业表、学员课程成绩,回显年级、专业、班次、考试情况、不及格门数、管理机构。
*/