|
@@ -14,5 +14,12 @@ public class StudentMusicCourseFeeServiceImpl extends ServiceImpl<StudentMusicCo
|
|
|
public StudentMusicCourseFeeDao getDao() {
|
|
|
return this.baseMapper;
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public boolean updateById(StudentMusicCourseFee entity) {
|
|
|
+ this.lambdaQuery().eq(StudentMusicCourseFee::getMusicGroupId,entity.getMusicGroupId())
|
|
|
+ .eq(StudentMusicCourseFee::getUserId,entity.getUserId()).one();
|
|
|
+ return super.save(entity);
|
|
|
+ }
|
|
|
}
|
|
|
|