|
@@ -87,7 +87,7 @@ public class SysMusicScoreServiceImpl extends BaseServiceImpl<Integer, SysMusicS
|
|
|
if(sysMusicScoreAccompaniments != null && sysMusicScoreAccompaniments.size() > 0){
|
|
|
sysMusicScoreAccompanimentDao.batchInsert(sysMusicScoreAccompaniments,sysMusicScore.getId());
|
|
|
}
|
|
|
- Integer categoriesId = sysMusicScore.getCategoriesId();
|
|
|
+ Integer categoriesId = sysMusicScore.getMusicScoreCategoriesId();
|
|
|
if(categoriesId != null){
|
|
|
while (true){
|
|
|
SysMusicScoreCategories categories = sysMusicScoreCategoriesDao.get(categoriesId);
|
|
@@ -109,7 +109,7 @@ public class SysMusicScoreServiceImpl extends BaseServiceImpl<Integer, SysMusicS
|
|
|
}
|
|
|
sysMusicScoreDao.delete(id);
|
|
|
sysMusicScoreAccompanimentDao.deleteBySongId(id);
|
|
|
- Integer categoriesId = sysMusicScore.getCategoriesId();
|
|
|
+ Integer categoriesId = sysMusicScore.getMusicScoreCategoriesId();
|
|
|
if(categoriesId != null){
|
|
|
while (true){
|
|
|
SysMusicScoreCategories categories = sysMusicScoreCategoriesDao.get(categoriesId);
|