数据权限

bug反馈 未结 1 276
接口
接口 VIP3 2019-02-05 13:34:25
收藏
产品:ani 版本:2.41
所属公司及以下,所属部门及以下不管用,后台直接报错
回帖
  • 2019-03-22 16:28:04
    系统bug问题,请在UserMapper.xml中修改<resultMap>[pre] <resultMap id="userResult" type="User"> <id property="id" column="id" /> <result property="company.id" column="company.id" /> <result property="loginName" column="loginName" /> <result property="password" column="password" /> <result property="no" column="no" /> <result property="name" column="name" /> <result property="email" column="email" /> <result property="phone" column="phone" /> <result property="mobile" column="mobile" /> <result property="photo" column="photo"/> <result property="company.name" column="company.name" /> <!---添加解决公司及公司一下--> <result property="company.parentIds" column="company.parentIds" /> <result property="office.id" column="office.id" /> <result property="office.name" column="office.name" /> <result property="office.parentIds" column="office.parentIds" /> <collection property="roleList" ofType="Role"> <id property="id" column="role.id" /> <result property="name" column="role.name"/> <result property="enname" column="role.enname"/> </collection> </resultMap>
    0 回复