数组和StringBuilder 的运用
/**
* 量测生意-解密流量-流量口分析-7天总数
* http://223.6.252.143:30005/yanShulcsyData1/servencount?thedate=20170609,20170616&seller\_id=601879343
* @param datetime
* @param sellerid
* @return
* 7天总数
*/
@RequestMapping(value=”/servencount”,method = { RequestMethod.POST,
RequestMethod.GET }, produces = “text/json;charset=UTF-8”)
public String findServencount(@RequestParam(“thedate”)Object[] datetime,@RequestParam(“seller_id”) String sellerid){
String startdate=null;
String enddate=null;
for(int i=0;i
if(AppUtil.isNullorEmpty(mps)){
SupperJason jason=new SupperJason();
jason.setResult(“0”);
return JSON.toJSONString(jason);
}
else{
// System.out.println(“maps==”+maps.toString());
return JSON.toJSONString(mps);
}
}
return null ;
}
还没有评论,来说两句吧...