|
@@ -27,6 +27,8 @@ import com.xjrsoft.module.student.vo.BaseStudentPunishmentInfoDetailVo;
|
|
|
import com.xjrsoft.module.student.vo.BaseStudentPunishmentInfoMobileDetailVo;
|
|
|
import com.xjrsoft.module.student.vo.BaseStudentPunishmentInfoMobilePageVo;
|
|
|
import com.xjrsoft.module.student.vo.BaseStudentPunishmentInfoPageVo;
|
|
|
+import com.xjrsoft.module.system.entity.File;
|
|
|
+import com.xjrsoft.module.system.service.IFileService;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
@@ -50,6 +52,9 @@ public class BaseStudentPunishmentInfoServiceImpl extends MPJBaseServiceImpl<Bas
|
|
|
|
|
|
IBasePunishStudentRelationService basePunishStudentRelationService;
|
|
|
|
|
|
+ private final IFileService fileService;
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* 学生处分信息管理列表(分页)
|
|
|
* @param dto 处分管理信息前端请求实体对象
|
|
@@ -93,6 +98,9 @@ public class BaseStudentPunishmentInfoServiceImpl extends MPJBaseServiceImpl<Bas
|
|
|
|
|
|
baseStudentPunishmentInfoDetailVo.setStudentList(studentList);
|
|
|
|
|
|
+ // 添加文件列表
|
|
|
+ baseStudentPunishmentInfoDetailVo.setFileList(fileService.list(Wrappers.<File>query().lambda().eq(File::getFolderId, baseStudentPunishmentInfoDetailVo.getFileId())));
|
|
|
+
|
|
|
return baseStudentPunishmentInfoDetailVo;
|
|
|
}
|
|
|
|