Commit ab8cfc437346ab393cafd89360eacb6a2036d332
1 parent
0d02a0e3
Exists in
master
修改提交
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
cloud/haikangface/src/main/java/com/sincere/haikangface/service/impl/UserOperateServiceImpl.java
... | ... | @@ -377,7 +377,7 @@ public class UserOperateServiceImpl implements UserOperateService { |
377 | 377 | //以学籍号为名的文件名 |
378 | 378 | String fileName = studentCode + ".png"; |
379 | 379 | String facePath = ""; |
380 | - if(file.isEmpty()) facePath = baseService.getFilePath(schoolId,typeName,fileName,file); | |
380 | + if(!file.isEmpty()) facePath = baseService.getFilePath(schoolId,typeName,fileName,file); | |
381 | 381 | else facePath = baseService.checkUserFace(studentBean,userType,schoolId); |
382 | 382 | String targetPath = FileUtils.picPathComp + file.getName(); |
383 | 383 | try { | ... | ... |