Merge remote-tracking branch 'origin/test' into test

This commit is contained in:
joylink_zhangsai 2021-02-26 10:15:24 +08:00
commit 88720cd004
2 changed files with 2 additions and 2 deletions

View File

@ -379,7 +379,7 @@ public class OrgUserService implements IOrgUserService {
orgUserDAO.insertSelective(userDepartRelVO.toDB());
} else {
OrgUserExample e = new OrgUserExample();
e.createCriteria().andUserIdEqualTo(sysUser.getId());
e.createCriteria().andUserIdEqualTo(userVO.getId());
List<OrgUser> orgUsers = orgUserDAO.selectByExample(e);
BusinessExceptionAssertEnum.INVALID_OPERATION.assertCollectionNotEmpty(orgUsers, sysUser.getAccount() + "账号重复");
OrgExample oe = new OrgExample();

View File

@ -237,7 +237,7 @@
<result column="userId" jdbcType="BIGINT" property="userId"/>
<result column="account" jdbcType="VARCHAR" property="account"/>
<result column="userName" jdbcType="VARCHAR" property="name"/>
<result column="name" jdbcType="VARCHAR" property="name"/>
</resultMap>
<select id="getCompanyDepartUsers" parameterType="club.joylink.rtss.vo.client.company.CompanyUserQueryVO" resultMap ="CompanyUserInfo">