Commit b43b6eb5 authored by 刘帅阳's avatar 刘帅阳

修改bug

parent 7a633742
......@@ -186,6 +186,9 @@ public class SysUserServiceImpl extends ServiceImpl<AdminSysUserRepository, SysU
@Transactional(propagation = Propagation.REQUIRED, isolation = Isolation.DEFAULT)
@Override
public CyPersistModel merge(SysUser sysUser) {
//根据新账号名称查询
//根据用户id查询数据
SysUser oldUser = baseMapper.selectAllUserInfo(sysUser);
//修改银行卡账号
......
......@@ -103,11 +103,11 @@
<select id="queryUnitAdmin" resultType="org.rcisoft.sys.rbac.user.entity.SysUserRbac">
SELECT su.*
FROM sys_user su
LEFT JOIN sys_unit sun ON sun.user_id = su.business_id
# LEFT JOIN sys_unit sun ON sun.user_id = su.business_id
WHERE su.del_flag = '0'
AND su.identity = 1
AND su.user_type != 0
AND sun.business_id IS NULL
# AND sun.business_id IS NULL
GROUP BY su.business_id
</select>
<select id="statistics" resultType="org.rcisoft.business.sysunit.entity.SysUnit">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment