|
@@ -73,7 +73,7 @@ public class ScratchWordsService extends ServiceImpl<ScratchWordsMapper, Scratch
|
|
|
if(scratchWordsUpdateDTO != null){
|
|
|
ScratchWords scratchWords = this.getById(scratchWordsUpdateDTO.getId());
|
|
|
BeanUtils.copyProperties(scratchWordsUpdateDTO, scratchWords);
|
|
|
- scratchWordsUpdateDTO.updateById();
|
|
|
+ scratchWords.updateById();
|
|
|
} else {
|
|
|
throw new XiaoShiException("传入对象不能为空");
|
|
|
}
|