修复生成主子表外键名错误

pull/237/head
RuoYi 4 years ago
parent ed91f217d2
commit 10ac990d36

@ -185,7 +185,7 @@ public class ${ClassName}ServiceImpl implements I${ClassName}Service
List<${subClassName}> list = new ArrayList<${subClassName}>();
for (${subClassName} ${subclassName} : ${subclassName}List)
{
${subclassName}.set${pkColumn.subTableFkClassName}(${pkColumn.javaField});
${subclassName}.set${subTableFkClassName}(${pkColumn.javaField});
list.add(${subclassName});
}
if (list.size() > 0)

Loading…
Cancel
Save