package com.tykj.dev.device.packing.repository;

import com.tykj.dev.device.packing.subject.domin.PackingLog;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @author dengdiyi
 */
public interface PackingLogDao extends JpaRepository<PackingLog, Integer>, JpaSpecificationExecutor<PackingLog> {

    /**
     * @param packingId 列装id
     *                 通过列装id查询装备履历
     */
    List<PackingLog> getAllByPackingId(Integer packingId);

}
