|
@@ -36,7 +36,7 @@ class ${moduleName} {
|
|
|
|
|
|
for (def row : params.removeRecords) {
|
|
|
// 提取 removeRecords 全部删除的数据
|
|
|
- if (row._origin[primaryKey] != null) {
|
|
|
+ if (row._origin.${primaryKey} != null) {
|
|
|
// 构建删除条件,添加到 "批量执行(addBatch)" 的缓存中
|
|
|
remove.where(
|
|
|
${camelName(tableName)}.${camelName(primaryKey)}.eq(
|