MetaTargetTypeService
This commit is contained in:
parent
95fb581bae
commit
1381c41478
2
pom.xml
2
pom.xml
|
@ -51,7 +51,7 @@
|
|||
<dependency>
|
||||
<groupId>com.loafle.overflow</groupId>
|
||||
<artifactId>commons-java</artifactId>
|
||||
<version>1.0.82-SNAPSHOT</version>
|
||||
<version>1.0.83-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
|
|
@ -2,6 +2,7 @@ package com.loafle.overflow.central.module.meta.service;
|
|||
|
||||
import com.loafle.overflow.central.module.meta.dao.MetaTargetTypeDAO;
|
||||
import com.loafle.overflow.core.exception.OverflowException;
|
||||
import com.loafle.overflow.model.meta.MetaInfraType;
|
||||
import com.loafle.overflow.model.meta.MetaTargetType;
|
||||
import com.loafle.overflow.service.central.meta.MetaTargetTypeService;
|
||||
|
||||
|
@ -33,4 +34,9 @@ public class CentralMetaTargetTypeService implements MetaTargetTypeService {
|
|||
public List<MetaTargetType> readAll() throws OverflowException {
|
||||
return this.metaTargetTypeDAO.findAll();
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<MetaTargetType> readAllByMetaInfraType(MetaInfraType metaInfraType) throws OverflowException {
|
||||
return this.metaTargetTypeDAO.findAllByMetaInfraType(metaInfraType);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,6 +13,7 @@ import org.junit.runner.RunWith;
|
|||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.test.context.ContextConfiguration;
|
||||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
import org.springframework.test.context.web.WebAppConfiguration;
|
||||
|
||||
/**
|
||||
* Created by snoop on 17. 9. 14.
|
||||
|
|
Loading…
Reference in New Issue
Block a user