1234567891011121314151617181920212223242526 |
- package com.huimv.getdata.controller;
- import com.huimv.getdata.entity.shengcan.ShiJiChanLiang;
- import com.huimv.getdata.entity.xiaoshou.XiaoShouWanChenLvJinE;
- import com.huimv.getdata.service.IErpShengChanService;
- 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.Date;
- import java.util.List;
- @RestController
- @RequestMapping("/erp-shengChan")
- public class ErpShengChanController {
- @Autowired
- private IErpShengChanService erpShengChanService;
- @RequestMapping(value = "/getShiJiChanLiang",method = RequestMethod.GET)
- public List<ShiJiChanLiang> getShiJiChanLiang(@RequestParam(value = "date" ,required = false) String date){
- return erpShengChanService.getShiJiChanLiang(date);
- }
- }
|