
package com.bs.system.service.impl;


import com.bs.common.core.domain.entity.SysTenant;
import com.bs.system.mapper.SysTenantMapper;
import com.bs.system.service.SysTenantService;
import com.github.yulichang.base.MPJBaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SysTenantServiceImpl extends MPJBaseServiceImpl<SysTenantMapper, SysTenant> implements SysTenantService {

    @Resource
    private SysTenantMapper sysTenantMapper;



    @Override
    public int disableTenant(SysTenant tenant) {
        return  sysTenantMapper.updateById(tenant);
    }

}
