String staTime;
String endTime;
String trackingPoint;
MMDD md=new MMDD();
Calendar cal = Calendar.getInstance();
VolumeByPoint a = new VolumeByPoint(conn);
staTime=request.getParameter("yst")+"-"+request.getParameter("mmst")+"-"+request.getParameter("dayst")+" "+request.getParameter("hst");
endTime=request.getParameter("yend")+"-"+request.getParameter("mmend")+"-"+request.getParameter("dayend")+" "+request.getParameter("hend");
//yst年的开始;mmst月的开始;dst天的开始;hst小时的开始
//System.out.println(request.getParameter("D1"));
trackingPoint=request.getParameter("D1");
int vol[]=a.getVolumeByPoint(staTime,endTime,trackingPoint);
这段代码一直提示The method getVolumeByPoint(String, String) in the type VolumeByPoint is not applicable for the arguments (String, String, String)错误。
但我函数声明中已经写明public int[] getVolumeByPoint(String staTime,String endTime,String trackingPoint)
求大神指教怎么解决?