1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.flightfeather.uav.lightshare.service.impl
 
import com.flightfeather.uav.domain.entity.Company
import com.flightfeather.uav.domain.mapper.CompanyMapper
import com.flightfeather.uav.lightshare.bean.BaseResponse
import com.flightfeather.uav.lightshare.service.CompanyService
import org.springframework.stereotype.Service
import tk.mybatis.mapper.entity.Example
 
@Service
class CompanyServiceImpl(private val companyMapper: CompanyMapper) : CompanyService {
    override fun getCompanyInfo(): BaseResponse<List<Company>> {
        val result = companyMapper.selectAll()
        return BaseResponse(true, data = result)
    }
}