package com.storlead.user.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.storlead.framework.mybatis.service.impl.MyBaseServiceImpl;
import com.storlead.user.pojo.entity.CompanyEntity;
import com.storlead.user.mapper.CompanyMapper;
import com.storlead.user.service.ICompanyService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

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

@Service
public class CompanyServiceImpl extends MyBaseServiceImpl<CompanyMapper, CompanyEntity> implements ICompanyService {

    @Resource
    private CompanyMapper companyMapper;

    @Override
    public void truncateTable() {
        companyMapper.truncateTable();
    }

}
