package com.ssx.controller;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ssx.entity.BillType;
import com.ssx.service.BillTypeService;
/**
* @author WANG
*
*/
@RestController
@RequestMapping("/billType")
public class BillTypeController {
@Resource
private BillTypeService billTypeService;
/**
* 查询账单类型
* @return
*/
@RequestMapping("/list")
public List<BillType> list(){
return billTypeService.findBillTypeList();
}
}