package com.storlead.user.service.impl;

import com.storlead.framework.mybatis.service.impl.MyBaseServiceImpl;
import com.storlead.user.mapper.CompanyMapper;
import com.storlead.user.pojo.entity.CompanyEntity;
import com.storlead.user.service.ICompanyService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

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

    @Resource
    private CompanyMapper companyMapper;

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

}
