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)
|
}
|
}
|