mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	update 优化 删除不应该set的属性
This commit is contained in:
		@@ -270,7 +270,6 @@ public class SysTenantServiceImpl implements ISysTenantService {
 | 
			
		||||
    public int updateTenantStatus(SysTenantBo bo) {
 | 
			
		||||
        SysTenant tenant = new SysTenant();
 | 
			
		||||
        tenant.setId(bo.getId());
 | 
			
		||||
        tenant.setTenantId(bo.getTenantId());
 | 
			
		||||
        tenant.setStatus(bo.getStatus());
 | 
			
		||||
        return baseMapper.updateById(tenant);
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user