|
|
@@ -960,7 +960,7 @@ public class ProgrammeService {
|
|
|
*/
|
|
|
public ProgrammeShowDTO get(Long id, String phone) {
|
|
|
Programme apply = programmeRepo.findById(id).orElseThrow(new BusinessException("无记录"));
|
|
|
- userService.getAuth(id, phone, apply.getPhone());
|
|
|
+ userService.getAuth(id, phone, apply.getPhone(), apply.getInstructorPhone());
|
|
|
ProgrammeShowDTO showDTO = this.toShowDTO(apply);
|
|
|
awardRepo.findById(apply.getAwardId()).ifPresent(aw -> showDTO.setAward(aw.getName()));
|
|
|
performanceRepo.findById(apply.getPerformanceId()).ifPresent(pe -> showDTO.setShowAward(pe.isShowAward()));
|