// 获取含量范围
 @RequestMapping("/getContents")
 @ResponseBody
 public String getContents(HttpServletRequest request, HttpServletResponse response) {
   List<Double> contents = gardeniaExtrationService.getContents();
   System.out.println("查询栀子含量范围:" + contents.toString());
   return contents.toString();
 }
 // 获取批次范围
 @RequestMapping("/getBatchNos")
 @ResponseBody
 public String getBatchNos(HttpServletRequest request, HttpServletResponse response) {
   List<BigDecimal> batchNos = gardeniaExtrationService.getBatchNos();
   System.out.println("获取栀子批次范围成功:" + batchNos.toString());
   return batchNos.toString();
 }
 // 获取干膏范围
 @RequestMapping("/getDryConcreteWeights")
 @ResponseBody
 public String getDryConcreteWeights(HttpServletRequest request, HttpServletResponse response) {
   List<Double> dryconcreteweights = gardeniaExtrationService.getDryConcreteWeights();
   System.out.println("查询栀子干膏范围:" + dryconcreteweights.toString());
   return dryconcreteweights.toString();
 }
 // 质量均值分析
 @RequestMapping("/qualityAverageAnalysis")
 @ResponseBody
 public Map<String, Object> qualityAverageAnalysis(
     HttpServletRequest request, HttpServletResponse response) {
   Integer minBatchNo = Integer.parseInt(request.getParameter("minBatchNo"));
   Integer maxBatchNo = Integer.parseInt(request.getParameter("maxBatchNo"));
   Map<String, Object> returnData =
       gardeniaExtrationService.qualityAverageAnalysis(minBatchNo, maxBatchNo);
   return returnData;
 }
 // 参数均值分析
 @RequestMapping("/contentAverageAnalysis")
 @ResponseBody
 public Map<String, Double> argsAverageAnalysis(
     HttpServletRequest request, HttpServletResponse response) {
   Double minDryConcreteWeight = Double.parseDouble(request.getParameter("minDryConcreteWeight"));
   Double maxDryConcreteWeight = Double.parseDouble(request.getParameter("maxDryConcreteWeight"));
   Double minContent = Double.parseDouble(request.getParameter("minContent"));
   Double maxContent = Double.parseDouble(request.getParameter("maxContent"));
   Map<String, Double> returnData =
       gardeniaExtrationService.argsAverageAnalysis(
           minDryConcreteWeight, maxDryConcreteWeight, minContent, maxContent);
   return returnData;
 }