|
|
@@ -5,7 +5,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<mapper namespace="com.xunmei.system.mapper.SysRoleMapper">
|
|
|
|
|
|
<resultMap type="com.xunmei.system.api.domain.SysRole" id="SysRoleResult">
|
|
|
- <id property="roleId" column="role_id" />
|
|
|
+ <id property="id" column="id" />
|
|
|
<result property="roleName" column="role_name" />
|
|
|
<result property="roleKey" column="role_key" />
|
|
|
<result property="roleSort" column="role_sort" />
|
|
|
@@ -125,7 +125,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="dataScope != null and dataScope != ''">#{dataScope},</if>
|
|
|
<if test="menuCheckStrictly != null">#{menuCheckStrictly},</if>
|
|
|
<if test="deptCheckStrictly != null">#{deptCheckStrictly},</if>
|
|
|
- <if test="status != null and status != ''">0,</if>
|
|
|
+ <if test="status != null and status != ''">#{status},</if>
|
|
|
<if test="remark != null and remark != ''">#{remark},</if>
|
|
|
<if test="createBy != null and createBy != ''">#{createBy},</if>
|
|
|
sysdate()
|