merged 合并冲突

This commit is contained in:
tanghao
2018-12-29 18:32:41 +08:00
parent f4acc8f063
commit 7d888aeb1b

View File

@@ -67,7 +67,6 @@ public class TrafficStatisticsInfoController extends BaseController {
HashMap<String, Object> m = new HashMap<String, Object>();
List list = new ArrayList();
try {
Random r = new Random();
Double rejectNum=0d;
Double dropConnNum=0d;
Double monitorNum=0d;
@@ -261,7 +260,7 @@ public class TrafficStatisticsInfoController extends BaseController {
*/
@RequestMapping(value="bandwidthTransThree")
@ResponseBody
public Map bandwidthTransThree(String beginDate,String endDate){
public Map bandwidthTransThree(String beginDate,String endDate,String searchQuotaType){
Map<String, Object> fromJsonList = new HashMap<String, Object>();
Map map = new HashMap();
//String url = Constants.DASHBOARD_URL+Constants.TRAFFIC_BANDWIDTH_TRANS_TWO;
@@ -269,7 +268,7 @@ public class TrafficStatisticsInfoController extends BaseController {
//String url=Constants.DASHBOARD_URL+Constants.TRAFFIC_BANDWIDTH_TRANS_FOUR;
try {
url=urlAddDate(url,beginDate,endDate);
url=url+"&searchQuotaType="+searchQuotaType;
String string = HttpClientUtil.get(url);
Gson gson = new GsonBuilder().create();
fromJsonList = gson.fromJson(string, new TypeToken<Map>(){}.getType());