industrial_measurement/src/main/java/com/xkrs/newpro/dao/QcItemDao.java

16 lines
467 B
Java
Raw Normal View History

2022-03-10 17:11:37 +08:00
package com.xkrs.newpro.dao;
2022-03-10 17:43:05 +08:00
import com.xkrs.newpro.model.entity.QcItemEntity;
2022-03-10 17:11:37 +08:00
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Component;
2022-03-10 20:09:26 +08:00
import java.util.Optional;
2022-03-10 17:11:37 +08:00
@Component
public interface QcItemDao extends JpaRepository<QcItemEntity, Long>, JpaSpecificationExecutor<QcItemEntity> {
2022-03-10 20:09:26 +08:00
Optional<QcItemEntity> findByNo(String no);
2022-03-10 17:11:37 +08:00
}