修改首页流量统计中addrTypes,transTypes,entranceIds为默认值,避免每次从数据库中查询效率低的问题
This commit is contained in:
@@ -216,8 +216,6 @@ public class DashboardServiceController extends BaseRestController {
|
||||
@RequestMapping(value = "trafficBandwidthTransThree", method = RequestMethod.GET)
|
||||
@ApiOperation(value = "带宽根据ip46,协议tcp,udp查询详情", httpMethod = "GET", notes = "对应带宽根据IPv4,6,协议tcp,udp统计数据显示")
|
||||
public Map<String,?> trafficBandwidthTransThree(String beginDate,String endDate,String searchQuotaType,Model model, HttpServletRequest request, HttpServletResponse response) {
|
||||
String[] addrTypes=dashboardService.getFiledTypeByName("addr_type");
|
||||
String[] transTypes=dashboardService.getFiledTypeByName("trans_type");
|
||||
long start = System.currentTimeMillis();
|
||||
AuditLogThread auditLogThread = super.saveRequestLog(servicesRequestLogService, Constants.OPACTION_GET, request, null);
|
||||
Map resultMap=new HashMap();
|
||||
|
||||
Reference in New Issue
Block a user