SchEditInfoController.java 1.06 KB
package com.bsth.controller.realcontrol;

import com.bsth.controller.BaseController;
import com.bsth.data.schedule.edit_logs.entity.SchEditInfo;
import com.bsth.data.schedule.edit_logs.service.SchEditInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * 班次修正记录
 * Created by panzhao on 2017/5/22.
 */
@RestController
@RequestMapping("schEditInfo")
public class SchEditInfoController extends BaseController<SchEditInfo, Long>{

    @Autowired
    SchEditInfoService editInfoService;

    @RequestMapping(value = "/_list", method = RequestMethod.GET)
    public Map<String, Object> _list(@RequestParam String rq, @RequestParam String lineCode,@RequestParam Map<String, String> map) {
        return editInfoService._list(rq, lineCode, map);
    }
}