|
@@ -343,7 +343,7 @@ public class StudentServiceImpl extends ServiceImpl<StudentDao, StudentEntity> i
|
|
public void uploadStudentPhoto(Long operateId, MultipartFile file) {
|
|
public void uploadStudentPhoto(Long operateId, MultipartFile file) {
|
|
//文件大小限制
|
|
//文件大小限制
|
|
if (file.getSize() > Constants.FILE_SIZE_LIMIT) {
|
|
if (file.getSize() > Constants.FILE_SIZE_LIMIT) {
|
|
- throw new StatusException("上传的考生照片大小不能超过500K");
|
|
|
|
|
|
+ throw new StatusException("上传的考生照片大小不能超过500KB");
|
|
}
|
|
}
|
|
OrgInfo org = orgCacheService.currentOrg();
|
|
OrgInfo org = orgCacheService.currentOrg();
|
|
CurrentApplyTaskVO curApplyTask = applyTaskCacheService.currentApplyTask(org.getOrgId());
|
|
CurrentApplyTaskVO curApplyTask = applyTaskCacheService.currentApplyTask(org.getOrgId());
|