Unverified Commit c8472095 authored by NM$L's avatar NM$L Committed by GitHub
Browse files

Update ServiceImpl.ftl (#318)

生成代码 deleteAll 方法 参数错误
parent 66f57049
......@@ -130,7 +130,7 @@ public class ${className}ServiceImpl implements ${className}Service {
@Override
//@CacheEvict(allEntries = true)
public void deleteAll(${pkColumnType}[] ids) {
for (${pkColumnType} id : ids) {
for (${pkColumnType} ${pkChangeColName} : ids) {
${changeClassName}Repository.deleteById(${pkChangeColName});
}
}
......@@ -153,4 +153,4 @@ public class ${className}ServiceImpl implements ${className}Service {
}
FileUtil.downloadExcel(list, response);
}
}
\ No newline at end of file
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment