@@ -20,4 +20,7 @@ public class BaseStudentSimpleInfoDto {
private String name;
private String idNumber;
+
+ @ApiModelProperty("学籍状态")
+ private String archivesStatus;
}
@@ -274,6 +274,7 @@ public class BaseStudentSchoolRollServiceImpl extends MPJBaseServiceImpl<BaseStu
@Override
public List<BaseStudentSompleInfoVo> getInfosByParam(BaseStudentSimpleInfoDto dto) {
+ dto.setArchivesStatus(ArchivesStatusEnum.FB2901.getCode());
List<BaseStudentSompleInfoVo> userList = userMapper.getInfosByParam(dto);
if(userList.isEmpty()){
userList = newStudentMapper.getInfosByParam(dto);
@@ -47,6 +47,9 @@
<if test="dto.userId != null">
AND t1.id = #{dto.userId}
</if>
+ <if test="dto.archivesStatus != null and dto.archivesStatus != ''">
+ AND t3.archives_status = ${dto.archivesStatus}
+ </if>
</select>
<select id="personPage" parameterType="com.xjrsoft.module.organization.dto.PersonPageDto" resultType="com.xjrsoft.module.organization.vo.PersonPageVo">
SELECT t1.id,t1.name,t1.user_name,t1.mobile,t3.name AS gender_cn,t2.employ_type,t2.employ_way FROM xjr_user t1