| 1234567891011121314151617181920212223242526 |
- package com.example.cinema.blImpl.management;
- import com.example.cinema.bl.management.HallService;
- import com.example.cinema.data.management.HallMapper;
- import com.example.cinema.vo.ResponseVO;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.stereotype.Service;
- /**
- * @author fjj
- * @date 2019/4/12 2:01 PM
- */
- @Service
- public class HallServiceImpl implements HallService {
- @Autowired
- private HallMapper hallMapper;
- @Override
- public ResponseVO searchAllHall() {
- try {
- return ResponseVO.buildSuccess(hallMapper.selectAllHall());
- } catch (Exception e) {
- e.printStackTrace();
- return ResponseVO.buildFailure("失败");
- }
- }
- }
|