ErpShengChanController.java 991 B

1234567891011121314151617181920212223242526
  1. package com.huimv.getdata.controller;
  2. import com.huimv.getdata.entity.shengcan.ShiJiChanLiang;
  3. import com.huimv.getdata.entity.xiaoshou.XiaoShouWanChenLvJinE;
  4. import com.huimv.getdata.service.IErpShengChanService;
  5. import org.springframework.beans.factory.annotation.Autowired;
  6. import org.springframework.web.bind.annotation.RequestMapping;
  7. import org.springframework.web.bind.annotation.RequestMethod;
  8. import org.springframework.web.bind.annotation.RequestParam;
  9. import org.springframework.web.bind.annotation.RestController;
  10. import java.util.Date;
  11. import java.util.List;
  12. @RestController
  13. @RequestMapping("/erp-shengChan")
  14. public class ErpShengChanController {
  15. @Autowired
  16. private IErpShengChanService erpShengChanService;
  17. @RequestMapping(value = "/getShiJiChanLiang",method = RequestMethod.GET)
  18. public List<ShiJiChanLiang> getShiJiChanLiang(@RequestParam(value = "date" ,required = false) String date){
  19. return erpShengChanService.getShiJiChanLiang(date);
  20. }
  21. }