修复online sessionId大小写bug;

修复代码生成: 生成主子表代码, 子表新增数据报错
pull/235/head
dawn9117 4 years ago committed by Gitee
parent ded17a552d
commit edfaa1210a

@ -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.capJavaField}(${pkColumn.javaField});
${subclassName}.set${pkColumn.subTableFkClassName}(${pkColumn.javaField});
list.add(${subclassName});
}
if (list.size() > 0)

@ -25,7 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectOnlineById" parameterType="String" resultMap="SysUserOnlineResult">
<include refid="selectOnlineVo"/>
where sessionid = #{sessionid}
where sessionId = #{sessionId}
</select>
<insert id="saveOnline" parameterType="SysUserOnline">

Loading…
Cancel
Save