SiAeAllControllerWeb.java 1006 B

12345678910111213141516171819202122232425262728293031323334353637
  1. package com.bizmatics.mhfire.controller.web;
  2. import com.bizmatics.common.core.bean.ApiResult;
  3. import com.bizmatics.mhfire.service.SiAeAllService;
  4. import com.bizmatics.mhfire.service.vo.SiAeAllVO;
  5. import org.springframework.beans.factory.annotation.Autowired;
  6. import org.springframework.web.bind.annotation.*;
  7. import java.util.Date;
  8. import java.util.List;
  9. /**
  10. * 监督检查行政执法总记录
  11. * @author yq
  12. * @date 2021/5/25 16:19
  13. */
  14. @RestController
  15. @RequestMapping("/siaeall")
  16. public class SiAeAllControllerWeb {
  17. @Autowired
  18. public SiAeAllService aeAllService;
  19. /**
  20. * 行政执法总记录汇总
  21. * @param startTime 开始时间
  22. * @param endTime 结束时间
  23. * @return
  24. */
  25. @GetMapping("/siAeAllCollect")
  26. public ApiResult<List<SiAeAllVO>> aeAllCollect(@RequestParam Date startTime,
  27. @RequestParam Date endTime){
  28. return ApiResult.success(aeAllService.getAeAllCollect(startTime,endTime));
  29. }
  30. }