入伍保留学籍导出民族改成中文
This commit is contained in:
@@ -6,6 +6,7 @@ import javax.servlet.http.HttpServletResponse;
|
|||||||
|
|
||||||
import com.srs.dormitory.domain.DmsOutsideAccommodationApply;
|
import com.srs.dormitory.domain.DmsOutsideAccommodationApply;
|
||||||
import com.srs.routine.domain.dto.RtEnlistmentReserveExportDto;
|
import com.srs.routine.domain.dto.RtEnlistmentReserveExportDto;
|
||||||
|
import com.srs.system.service.ISysDictDataService;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
@@ -38,6 +39,9 @@ public class RtEnlistmentReserveController extends BaseController {
|
|||||||
@Autowired
|
@Autowired
|
||||||
private IRtEnlistmentReserveService rtEnlistmentReserveService;
|
private IRtEnlistmentReserveService rtEnlistmentReserveService;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private ISysDictDataService sysDictDataService;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询应征入伍保留学籍申请列表
|
* 查询应征入伍保留学籍申请列表
|
||||||
*/
|
*/
|
||||||
@@ -80,7 +84,7 @@ public class RtEnlistmentReserveController extends BaseController {
|
|||||||
dto.setApplyNo(source.getApplyNo());
|
dto.setApplyNo(source.getApplyNo());
|
||||||
dto.setTeacherName(source.getTeacherName());
|
dto.setTeacherName(source.getTeacherName());
|
||||||
dto.setStudentName(source.getStudentName());
|
dto.setStudentName(source.getStudentName());
|
||||||
dto.setNation(source.getNation());
|
dto.setNation(sysDictDataService.selectDictLabel("rt_nation", source.getNation()));
|
||||||
dto.setGrade(source.getGrade());
|
dto.setGrade(source.getGrade());
|
||||||
dto.setStudentNo(source.getStudentNo());
|
dto.setStudentNo(source.getStudentNo());
|
||||||
dto.setClassName(source.getClassName());
|
dto.setClassName(source.getClassName());
|
||||||
|
|||||||
@@ -19,19 +19,18 @@ public class RtEnlistmentReserveExportDto {
|
|||||||
@Excel(name = "申请编号")
|
@Excel(name = "申请编号")
|
||||||
private String applyNo;
|
private String applyNo;
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 辅导员姓名
|
|
||||||
*/
|
|
||||||
@Excel(name = "辅导员姓名")
|
|
||||||
private String teacherName;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 姓名
|
* 姓名
|
||||||
*/
|
*/
|
||||||
@Excel(name = "学生姓名")
|
@Excel(name = "学生姓名")
|
||||||
private String studentName;
|
private String studentName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 学号
|
||||||
|
*/
|
||||||
|
@Excel(name = "学号")
|
||||||
|
private String studentNo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 性别(0-男
|
* 性别(0-男
|
||||||
*/
|
*/
|
||||||
@@ -50,12 +49,6 @@ public class RtEnlistmentReserveExportDto {
|
|||||||
@Excel(name = "年级")
|
@Excel(name = "年级")
|
||||||
private String grade;
|
private String grade;
|
||||||
|
|
||||||
/**
|
|
||||||
* 学号
|
|
||||||
*/
|
|
||||||
@Excel(name = "学号")
|
|
||||||
private String studentNo;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 班级
|
* 班级
|
||||||
*/
|
*/
|
||||||
@@ -68,6 +61,12 @@ public class RtEnlistmentReserveExportDto {
|
|||||||
@Excel(name = "专业名称")
|
@Excel(name = "专业名称")
|
||||||
private String major;
|
private String major;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 辅导员姓名
|
||||||
|
*/
|
||||||
|
@Excel(name = "辅导员姓名")
|
||||||
|
private String teacherName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 家庭地址
|
* 家庭地址
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user