添加Dao
This commit is contained in:
parent
c222bd7605
commit
2b986e074d
10
src/main/java/com/xkrs/newpro/dao/QcItemDao.java
Normal file
10
src/main/java/com/xkrs/newpro/dao/QcItemDao.java
Normal 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> {
|
||||
}
|
10
src/main/java/com/xkrs/newpro/dao/QcSourceDao.java
Normal file
10
src/main/java/com/xkrs/newpro/dao/QcSourceDao.java
Normal 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> {
|
||||
}
|
10
src/main/java/com/xkrs/newpro/dao/QcSpecDao.java
Normal file
10
src/main/java/com/xkrs/newpro/dao/QcSpecDao.java
Normal 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> {
|
||||
}
|
Loading…
Reference in New Issue
Block a user