licailing 4 лет назад
Родитель
Сommit
67d81ccccf

+ 2 - 1
src/main/java/com/izouma/wenlvju/service/performance/ParticipantService.java

@@ -316,7 +316,8 @@ public class ParticipantService {
                 .toOutputStream(out);
         ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray());
 
-        return storageService.uploadFromInputStream(in, "award/" + specialtyId + "-" + awardId + "-" + participant.getId() + ".jpg");
+        return storageService.uploadFromInputStream(in, "award/" + specialtyId + "-" + awardId + "-"
+                + programmeId + "-" + participant.getId() + ".jpg");
     }
 
 }