BusCardController.java
659 Bytes
package com.bsth.controller.basic;
import com.bsth.controller.BaseController;
import com.bsth.entity.BusCard;
import com.bsth.service.basic.BusCardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* Created by panzhao on 2017/8/21.
*/
@RestController
@RequestMapping("bus_card")
public class BusCardController extends BaseController<BusCard, String>{
@Autowired
BusCardService busCardService;
@RequestMapping("refresh")
public void refresh(){
busCardService.refresh();
}
}