mirror of https://gitee.com/y_project/RuoYi.git
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…
Reference in New Issue