TempSchSituationController.java 1.06 KB
package com.bsth.controller.realcontrol.summary;

import com.bsth.controller.BaseController;
import com.bsth.data.summary.entity.TempSchSituation;
import com.bsth.data.summary.service.TempSchSituationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * Created by panzhao on 2017/11/1.
 */
@RestController
@RequestMapping("/summary/temp_sch")
public class TempSchSituationController extends BaseController<TempSchSituation, Long> {

    @Autowired
    TempSchSituationService tempSchSituationService;

    @RequestMapping("excel")
    public void excel(@RequestParam Map<String, Object> map, HttpServletRequest request, HttpServletResponse response) {
        tempSchSituationService.excel(map, request, response);
    }
}