Files
scrq-hd/RuoYi-Vue/.svn/pristine/08/08de595cc456d886a70a17591a8be0af1e5fc321.svn-base
2025-07-03 10:34:04 +08:00

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);
}