update 优化 替换过期方法

This commit is contained in:
疯狂的狮子Li
2024-06-21 14:59:50 +08:00
parent 52598e5c5c
commit 6d2cc6e87d
28 changed files with 38 additions and 33 deletions

View File

@ -149,6 +149,6 @@ public class ${ClassName}ServiceImpl implements I${ClassName}Service {
if(isValid){
//TODO 做一些业务上的校验,判断是否需要校验
}
return baseMapper.deleteBatchIds(ids) > 0;
return baseMapper.deleteByIds(ids) > 0;
}
}