添加Dao

This commit is contained in:
liuchengqian 2022-03-10 17:11:37 +08:00
parent c222bd7605
commit 2b986e074d
3 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,10 @@
package com.xkrs.newpro.dao;
import com.xkrs.newpro.entity.QcItemEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Component;
@Component
public interface QcItemDao extends JpaRepository<QcItemEntity, Long>, JpaSpecificationExecutor<QcItemEntity> {
}

View File

@ -0,0 +1,10 @@
package com.xkrs.newpro.dao;
import com.xkrs.newpro.entity.QcSourceEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Component;
@Component
public interface QcSourceDao extends JpaRepository<QcSourceEntity, Long>, JpaSpecificationExecutor<QcSourceEntity> {
}

View File

@ -0,0 +1,10 @@
package com.xkrs.newpro.dao;
import com.xkrs.newpro.entity.QcSpecEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Component;
@Component
public interface QcSpecDao extends JpaRepository<QcSpecEntity, Long>, JpaSpecificationExecutor<QcSpecEntity> {
}