外宿申请
This commit is contained in:
@@ -80,6 +80,8 @@ public class SrsStudent extends BaseEntity
|
||||
})
|
||||
@TableField(exist = false)
|
||||
private SysDept dept;
|
||||
@TableField(exist = false)
|
||||
private String deptName;
|
||||
@Excel(name = "年级")
|
||||
@TableField(exist = false)
|
||||
private String gradeName;
|
||||
@@ -114,7 +116,10 @@ public class SrsStudent extends BaseEntity
|
||||
@TableField(exist = false)
|
||||
// @NotNull("家庭地址")
|
||||
private String address;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String stuYearName;
|
||||
@TableField(exist = false)
|
||||
private String needMoney;
|
||||
|
||||
/** 状态(0正常 */
|
||||
@Excel(name = "状态",
|
||||
|
||||
@@ -23,7 +23,7 @@ public interface SrsMajorsMapper extends EasyBaseMapper<SrsMajors>
|
||||
* @return 【请填写功能名称】
|
||||
*/
|
||||
public SrsMajors selectSrsMajorsByMajorId(Long majorId);
|
||||
|
||||
public SrsMajors getOwnMajorName(String stuNo);
|
||||
//根据专业名获取专业id
|
||||
public Long getMajorIdByName(String name);
|
||||
/**
|
||||
|
||||
@@ -68,11 +68,12 @@ public interface SrsStudentMapper extends EasyBaseMapper<SrsStudent>
|
||||
/**
|
||||
* 通过学号查询信息
|
||||
*
|
||||
* @param stuNO 学号
|
||||
* @param stuNo 学号
|
||||
* @return 学生信息
|
||||
*/
|
||||
public SrsStudent selectSrsStudentByStuNo(String stuNO);
|
||||
public SrsStudent selectSrsStudentByStuNo(String stuNo);
|
||||
|
||||
public SrsStudent selectSrsStudentByStuNoNew(String stuNo);
|
||||
/**
|
||||
* 连表查询
|
||||
*
|
||||
|
||||
@@ -70,4 +70,7 @@ public interface ISrsMajorsService
|
||||
void sqlserverSynchronousMYSQL(List<Map> list);
|
||||
//根据专业名称获取专业id
|
||||
public Long getMajorIdByName(String name);
|
||||
//获取学生的专业名称
|
||||
public SrsMajors getOwnMajorName(String stuNo);
|
||||
|
||||
}
|
||||
|
||||
@@ -43,7 +43,9 @@ public interface ISrsStudentService extends IService<SrsStudent>
|
||||
List<StuCount> countGoodBiyeGradeStu();
|
||||
|
||||
List<StuCount> countDeptGradeStu();
|
||||
|
||||
List<StuCount> countDeptStu();
|
||||
|
||||
public AjaxResult changeStuInfo( SrsStudent param);
|
||||
|
||||
public SrsStudent getStuInfo(String stuNo);
|
||||
@@ -56,9 +58,14 @@ public interface ISrsStudentService extends IService<SrsStudent>
|
||||
*/
|
||||
public SrsStudent selectSrsStudentByStuId(Long stuId);
|
||||
|
||||
public SrsStudent getSrsStudentByStuNo(String stuNo);
|
||||
|
||||
public SrsStudent getSrsStudentByStuNoNew(String stuNo);
|
||||
|
||||
public List<SrsStudent> listEnableStu();
|
||||
|
||||
public StuClass getOwnClass(String stuNo);
|
||||
|
||||
public List<StuStatus> statusList();
|
||||
|
||||
/**
|
||||
|
||||
@@ -53,6 +53,10 @@ public class SrsMajorsServiceImpl implements ISrsMajorsService
|
||||
{
|
||||
return srsMajorsMapper.selectSrsMajorsByMajorId(majorId);
|
||||
}
|
||||
@Override
|
||||
public SrsMajors getOwnMajorName(String stuNo){
|
||||
return srsMajorsMapper.getOwnMajorName(stuNo);
|
||||
}
|
||||
@Override
|
||||
public Long getMajorIdByName(String name){
|
||||
return srsMajorsMapper.getMajorIdByName(name);
|
||||
|
||||
@@ -323,7 +323,16 @@ public class SrsStudentServiceImpl extends ServiceImpl<SrsStudentMapper, SrsStud
|
||||
{
|
||||
return srsStudentMapper.selectSrsStudentByStuId(stuId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SrsStudent getSrsStudentByStuNo(String stuNo)
|
||||
{
|
||||
return srsStudentMapper.selectSrsStudentByStuNo(stuNo);
|
||||
}
|
||||
@Override
|
||||
public SrsStudent getSrsStudentByStuNoNew(String stuNo)
|
||||
{
|
||||
return srsStudentMapper.selectSrsStudentByStuNoNew(stuNo);
|
||||
}
|
||||
@Override
|
||||
public StuClass getOwnClass(String stuNo){
|
||||
List<StuClass> res = srsStudentMapper.getOwnClass(stuNo);
|
||||
|
||||
Reference in New Issue
Block a user