mirror of https://gitee.com/xiaonuobase/snowy
【更新】代码生成删除方法主键错误修复
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…
Reference in New Issue