25 lines
829 B
Plaintext
25 lines
829 B
Plaintext
package com.ruoyi.wms.repository;
|
|
|
|
import com.ruoyi.wms.po.ShelfInfo;
|
|
import org.springframework.data.jpa.repository.JpaRepository;
|
|
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @Verasion:1.0
|
|
* @Author:DZY
|
|
* @Date:2023/6/27
|
|
**/
|
|
@Repository
|
|
public interface ShelfInfoRepository extends JpaRepository<ShelfInfo,Long>, JpaSpecificationExecutor {
|
|
ShelfInfo findByShelfCode(String shelfCode);
|
|
List<ShelfInfo> findByProductionTaskAndOrderStatus(String task,Integer status);
|
|
List<ShelfInfo> findByProductionTaskIsNull();
|
|
List<ShelfInfo> findByOrderStatus(Integer Status);
|
|
// List<ShelfInfo> findByShelfStatus(Integer status, Sort sort);
|
|
List<ShelfInfo> findByProductionTask(String productionTask);
|
|
|
|
}
|