|
@@ -1090,12 +1090,12 @@ public class MusicSheetServiceImpl extends ServiceImpl<MusicSheetDao, MusicSheet
|
|
|
return page.setRecords(baseMapper.selectTeacherPage(page, query));
|
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
+ /*@Override
|
|
|
public IPage<TeacherMusicSheetVo> selectAuditPage(IPage<TeacherMusicSheetVo> page, TeacherMusicSheetAuditSearch query) {
|
|
|
return page.setRecords(baseMapper.selectAuditPage(page, query));
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
- @Override
|
|
|
+ /*@Override
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
public boolean audit(TeacherMusicSheetAuditReq param, Long userId) {
|
|
|
|
|
@@ -1111,9 +1111,9 @@ public class MusicSheetServiceImpl extends ServiceImpl<MusicSheetDao, MusicSheet
|
|
|
Long originalMusicSheetId = musicSheetAuthRecordService.audit(param, userId);
|
|
|
musicSheet.setAuditStatus(param.getAuthStatus());
|
|
|
// 生成图片统一使用开放接口,去掉当前校验规则
|
|
|
- /*if (param.getAuthStatus().equals(AuthStatusEnum.PASS) && StringUtil.isEmpty(param.getMusicImg())) {
|
|
|
+ *//*if (param.getAuthStatus().equals(AuthStatusEnum.PASS) && StringUtil.isEmpty(param.getMusicImg())) {
|
|
|
throw new BizException("曲目渲染失败");
|
|
|
- } else*/
|
|
|
+ } else*//*
|
|
|
|
|
|
if (param.getAuthStatus().equals(AuthStatusEnum.PASS) && !StringUtil.isEmpty(param.getMusicImg())) {
|
|
|
musicSheet.setMusicImg(param.getMusicImg());
|
|
@@ -1161,9 +1161,9 @@ public class MusicSheetServiceImpl extends ServiceImpl<MusicSheetDao, MusicSheet
|
|
|
}
|
|
|
|
|
|
return flag;
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
- @Override
|
|
|
+ /*@Override
|
|
|
public void auditSyncCbs(Long cbsMusicSheetId){
|
|
|
CbsMusicSheetWrapper.MusicSheetApplicationQuery query = new CbsMusicSheetWrapper.MusicSheetApplicationQuery();
|
|
|
query.setApplicationId(applicationId);
|
|
@@ -1178,11 +1178,11 @@ public class MusicSheetServiceImpl extends ServiceImpl<MusicSheetDao, MusicSheet
|
|
|
List<CbsMusicSheetWrapper.MusicSheetApplication> rows = pageInfoR.feignData().getRows();
|
|
|
if (CollectionUtils.isEmpty(rows)) {
|
|
|
throw new BizException("获取曲目信息失败");
|
|
|
- }/*
|
|
|
+ }*//*
|
|
|
R<CbsMusicSheetWrapper.MusicSheet> musicSheetR = musicFeignClientService.musicSheetDetail(cbsMusicSheetId, applicationId);
|
|
|
if (musicSheetR.getCode() != 200) {
|
|
|
throw new BizException("获取曲目详情失败,{}", musicSheetR.getMessage());
|
|
|
- }*/
|
|
|
+ }*//*
|
|
|
CbsMusicSheetWrapper.MusicSheetApplication musicSheetApplication = rows.get(0);
|
|
|
CbsMusicSheetApplicationExtendClientWrapper.MusicSheetApplicationExtendStatus extendStatus = new CbsMusicSheetApplicationExtendClientWrapper.MusicSheetApplicationExtendStatus();
|
|
|
extendStatus.setIds(musicSheetApplication.getApplicationExtendId().toString());
|
|
@@ -1231,7 +1231,7 @@ public class MusicSheetServiceImpl extends ServiceImpl<MusicSheetDao, MusicSheet
|
|
|
receivers, null, 0, null, ClientEnum.TEACHER.getCode(), musicSheet.getMusicSheetName(),
|
|
|
param.getRemark());
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
@Override
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
@@ -1259,7 +1259,7 @@ public class MusicSheetServiceImpl extends ServiceImpl<MusicSheetDao, MusicSheet
|
|
|
.count();
|
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
+ /*@Override
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
public boolean saveMusicSheet(MusicSheetDto musicSheetDto, Long userId) {
|
|
|
|
|
@@ -1304,9 +1304,9 @@ public class MusicSheetServiceImpl extends ServiceImpl<MusicSheetDao, MusicSheet
|
|
|
musicSheetDto.setMusicPrice(BigDecimal.ZERO);
|
|
|
}
|
|
|
|
|
|
- /*if (musicSheetDto.getChargeType().equals(ChargeTypeEnum.VIP) || musicSheetDto.getChargeType().equals(ChargeTypeEnum.FREE)) {
|
|
|
+ *//*if (musicSheetDto.getChargeType().equals(ChargeTypeEnum.VIP) || musicSheetDto.getChargeType().equals(ChargeTypeEnum.FREE)) {
|
|
|
musicSheetDto.setMusicPrice(BigDecimal.ZERO);
|
|
|
- }*/
|
|
|
+ }*//*
|
|
|
|
|
|
// 删除曲目专辑关联
|
|
|
if (oldMusicSheet != null && oldMusicSheet.getMusicSubject() != null
|
|
@@ -1341,7 +1341,7 @@ public class MusicSheetServiceImpl extends ServiceImpl<MusicSheetDao, MusicSheet
|
|
|
|
|
|
return true;
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
/**
|
|
|
* 删除专辑曲目关联
|
|
@@ -1689,7 +1689,7 @@ public class MusicSheetServiceImpl extends ServiceImpl<MusicSheetDao, MusicSheet
|
|
|
return homeMusicSheetVo;
|
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
+ /*@Override
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
public void importExcel(List<ExcelDataReaderProperty<MusicSheetExport>> dataList, Long userId) {
|
|
|
|
|
@@ -1801,7 +1801,7 @@ public class MusicSheetServiceImpl extends ServiceImpl<MusicSheetDao, MusicSheet
|
|
|
|
|
|
musicSheetDtoList.forEach(musicSheetDto -> saveMusicSheet(musicSheetDto, userId));
|
|
|
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
@Override
|
|
|
public MusicSheetWebsiteDetailVo websiteDetail(Long musicSheetId, SysUser sysUser, ClientEnum clientType) {
|