- 0
- 0
- 约小于1千字
- 约 2页
- 2026-09-09 发布于河北
- 举报
在线毕业提交系统的设计与实现论文
java
@PostMapping(/thesis/submit)
publicResultsubmitThesis(@RequestParam(file)MultipartFilefile,
@RequestParam(thesisId)IntegerthesisId,
@RequestParam(value=description,required=false)Stringdescription,
//获取当前登录学生信息
Studentstudent=(Student)session.getAttribute(currentUser);
//1.验证文件非空、格式、大小
if(file.isEmpty()){
}
//...其他验证逻辑
//2.确定文件存储路径
StringrootPath=configProperties.getUploadRootPath();//从配置文件获取
StringstudentDir=rootPath+File.separator+thesis+File.separator+student.getStudentId();
Filedir=newFile(studentDir);
if(!dir.exists())
您可能关注的文档
最近下载
- 交通事故谅解书范本(标准版).docx VIP
- 2026秋新人教版数学四年级上册全册教学设计教案含反思.pdf
- 一切皆有可能(高中励志教育).ppt
- 特种设备安全技术档案管理规范及制度示例.docx VIP
- DB31T 684-2023养老机构照护服务分级要求.docx VIP
- 第2课 树立科学的世界观 课件 中职高教版 哲学与文化.ppt
- 痛风的饮食指导.ppt VIP
- 银行业保险业关联交易监管系统(第一期)数据填报规范(银行试运行版).pdf VIP
- 2026年辅警笔试题库1000及答案.doc VIP
- 深度解析(2026)《GBT 6117.1-2010立铣刀 第1部分:直柄立铣刀(2026年)深度解析.pptx VIP
原创力文档

文档评论(0)