package com.mushiny.wms.application.repository;

import com.mushiny.wms.application.domain.WmsSlamCar;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

/**
 *
 */
public interface WmsSlamCarRepository extends JpaRepository<WmsSlamCar, String> {

    @Query("select ii from  WmsSlamCar ii where ii.carNo=:carNo")
    WmsSlamCar findCar(@Param("carNo") String carNo);
}
