【更新】代码生成删除方法主键错误修复

pull/70/head
小诺 2 years ago committed by 俞宝山
parent 10ffbe6be1
commit bfae72401d

@ -96,7 +96,7 @@ public class ${className}ServiceImpl extends ServiceImpl<${className}Mapper, ${c
// 执行删除
<% for(var i = 0; i < configList.~size; i++) { %>
<% if(configList[i].needTableId) { %>
this.removeBatchByIds(CollStreamUtil.toList(${classNameFirstLower}IdParamList, ${className}IdParam::get${configList[i].fieldNameCamelCaseFirstUpper}()));
this.removeBatchByIds(CollStreamUtil.toList(${classNameFirstLower}IdParamList, ${className}IdParam::get${configList[i].fieldNameCamelCaseFirstUpper}));
<% } %>
<% } %>
}

Loading…
Cancel
Save