| | |
| | | import org.springframework.data.jpa.repository.Query; |
| | | import org.springframework.data.repository.query.Param; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import java.util.List; |
| | | |
| | | |
| | | public interface Api1105Rep extends JpaRepository<Api1105, String> { |
| | |
| | | @Query("update Api1105 set czbz=:czbz where hwdm =:id ") |
| | | int updateStatus(@Param("id") String id, @Param("czbz") String czbz); |
| | | |
| | | /** |
| | | * 根据货位代码查询 |
| | | * @param hwdm |
| | | * @return |
| | | */ |
| | | @Query("from Api1105 where hwdm=:hwdm ") |
| | | List<Api1105> findPushDataByHwdm(@Param("hwdm") String hwdm); |
| | | |
| | | } |