疯狂的狮子li
2023-01-31 c2208270bd47608abc0733e9d5e5fbddf3b36642
ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysUserServiceImpl.java
@@ -287,8 +287,8 @@
     */
    @Override
    public boolean registerUser(SysUser user) {
        user.setCreateBy(user.getUserName());
        user.setUpdateBy(user.getUserName());
        user.setCreateBy(user.getUserId());
        user.setUpdateBy(user.getUserId());
        return baseMapper.insert(user) > 0;
    }