Отчёт.
This commit is contained in:
parent
22a63747ac
commit
e9f9075f09
@ -4,8 +4,6 @@ import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.util.StringUtils;
|
||||
import premium_store.model.Client;
|
||||
import premium_store.model.Level;
|
||||
import premium_store.model.Nation;
|
||||
import premium_store.model.Tank;
|
||||
|
||||
import javax.persistence.EntityManager;
|
||||
|
@ -3,7 +3,6 @@ package premium_store.service;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.util.StringUtils;
|
||||
import premium_store.model.Client;
|
||||
import premium_store.model.Level;
|
||||
import premium_store.model.Nation;
|
||||
import premium_store.model.Tank;
|
||||
@ -89,8 +88,6 @@ public class TankService {
|
||||
em.createQuery("Delete from Tank").executeUpdate();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Transactional(readOnly = true)
|
||||
public List<Tank> findTank(Level level, Nation nation) {
|
||||
return em.createQuery("select t from Tank t where t.nation.nation = :Nid and t.level.level BETWEEN :Llevel AND :L2level", Tank.class)
|
||||
|
BIN
spring_online_calculator/Отчёт_по_лаб_раб_№3.docx
Normal file
BIN
spring_online_calculator/Отчёт_по_лаб_раб_№3.docx
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user