project-car/cloud-modules/cloud-modules-template/src/main/java/com/template/mapper/CarMapper.java

27 lines
594 B
Java
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.template.mapper;
import com.template.domain.CarType;
import com.template.domain.SysCar;
import com.template.domain.resp.CarTypeResp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @Authorliuxinyue
* @Packagecom.template.mapper
* @Projectcloud-server
* @nameCarMapper
* @Date2024/9/21 9:26
*/
@Mapper
public interface CarMapper {
SysCar findCarByVin(@Param("carVin") String carVin);
CarType carMapper(@Param("carTypeId") Long carTypeId);
List<CarTypeResp> findAllCars();
}