Files
scrq-hd/.svn/pristine/bd/bd6b57b6f9378958d43b0b6f6f8bf9a3d20b6f1f.svn-base
2025-07-03 10:34:04 +08:00

28 lines
1.0 KiB
Plaintext

package com.cmeim.biz.repository;
import com.cmeim.biz.po.MmArriveBill;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository(value = "MmArriveBillRepository")
public interface MmArriveBillRepository extends JpaRepository<MmArriveBill, Long>, JpaSpecificationExecutor {
MmArriveBill findByArriveBillNumber(String arriveBillNumber);
@Query(value = "select * from mm_arrive_bill where dict_status <= 20 order by created_dt desc ", nativeQuery = true)
List<MmArriveBill> getUnArriveBillList();
List<MmArriveBill> findByDictStatus(Integer dictStatus);
List<MmArriveBill> findAllByIdIn(Iterable<Long> ids);
List<MmArriveBill> findAllByDictStatusNotAndIsInInspecting(Integer dictStatus, Integer isInInspecting);
List<MmArriveBill> findAllByDictStatusLessThan(Integer dictStatus);
}