chenlu
2024-03-18 c577b4a49b6520ffce8cc9fc63aa23a85dac052b
north-glass-erp/src/main/java/com/example/erp/service/userInfo/UserService.java
@@ -13,6 +13,7 @@
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
@@ -54,7 +55,7 @@
        return userMapper.getUserByID(userId);
    }
    @Transactional
    public User register(User user) {
        User returnUser = new User();
        if(userMapper.register(user)){