This commit is contained in:
zhaotianfeng 2024-09-24 19:54:03 +08:00
parent 3e8925901c
commit 753d0f5200
2 changed files with 10 additions and 0 deletions

View File

@ -8,6 +8,8 @@ import cn.iocoder.yudao.module.custom.vo.CarBrandRespVO;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
/** /**
* 车辆品牌维护 Service 接口 * 车辆品牌维护 Service 接口
* *
@ -53,4 +55,6 @@ public interface CarBrandService extends IService<CarBrand> {
*/ */
IPage<CarBrandRespVO> getCarBrandPage(CarBrandReqVO pageReqVO); IPage<CarBrandRespVO> getCarBrandPage(CarBrandReqVO pageReqVO);
List<CarBrand> getCarBrandList();
} }

View File

@ -12,6 +12,7 @@ import org.springframework.stereotype.Service;
import org.springframework.validation.annotation.Validated; import org.springframework.validation.annotation.Validated;
import cn.iocoder.yudao.framework.common.util.object.BeanUtils; import cn.iocoder.yudao.framework.common.util.object.BeanUtils;
import java.util.List;
import java.util.UUID; import java.util.UUID;
/** /**
@ -86,4 +87,9 @@ public class CarBrandServiceImpl extends ServiceImpl<CarBrandMapper, CarBrand> i
return baseMapper.findPage(page,pageReqVO); return baseMapper.findPage(page,pageReqVO);
} }
@Override
public List<CarBrand> getCarBrandList() {
return baseMapper.selectList(null);
}
} }