|
@@ -9,6 +9,7 @@ import com.example.cinema.po.Ticket;
|
|
|
import com.example.cinema.po.VIPCard;
|
|
import com.example.cinema.po.VIPCard;
|
|
|
import com.example.cinema.vo.*;
|
|
import com.example.cinema.vo.*;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
+import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
@@ -17,6 +18,7 @@ import java.util.stream.Collectors;
|
|
|
/**
|
|
/**
|
|
|
* Created by liying on 2019/4/16.
|
|
* Created by liying on 2019/4/16.
|
|
|
*/
|
|
*/
|
|
|
|
|
+@Service
|
|
|
public class TicketServiceImpl implements TicketService {
|
|
public class TicketServiceImpl implements TicketService {
|
|
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|