zouxuan 3 роки тому
батько
коміт
fc9a4bdccb

+ 2 - 2
mec-biz/src/main/java/com/ym/mec/biz/service/impl/SysMusicScoreServiceImpl.java

@@ -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);