1. 修复空删除下的 sql 语法错误提示
This commit is contained in:
@@ -77,6 +77,10 @@ public class BusinessFileServiceImpl implements BusinessFileService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void deleteBusinessFileListByIds(List<Long> ids) {
|
public void deleteBusinessFileListByIds(List<Long> ids) {
|
||||||
|
// 如果 ids 为空,直接 return
|
||||||
|
if (ids == null || ids.isEmpty()){
|
||||||
|
return;
|
||||||
|
}
|
||||||
// 校验存在
|
// 校验存在
|
||||||
validateBusinessFileExists(ids);
|
validateBusinessFileExists(ids);
|
||||||
// 删除
|
// 删除
|
||||||
|
|||||||
Reference in New Issue
Block a user