From dc4c955395035399c6547bb617bdce0c99528009 Mon Sep 17 00:00:00 2001 From: wangning <164851225@qq.com> Date: Wed, 2 May 2018 19:11:57 +0800 Subject: [PATCH] fix bug --- .../payment/manage/risk/bean/QueryRiskRecord.java | 8 ++++++++ src/main/ui/static/risk/risk.js | 2 +- src/main/ui/static/risk/templates/risk_orders.html | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/risk/bean/QueryRiskRecord.java b/src/main/java/au/com/royalpay/payment/manage/risk/bean/QueryRiskRecord.java index a1de31509..e43902673 100644 --- a/src/main/java/au/com/royalpay/payment/manage/risk/bean/QueryRiskRecord.java +++ b/src/main/java/au/com/royalpay/payment/manage/risk/bean/QueryRiskRecord.java @@ -80,4 +80,12 @@ public class QueryRiskRecord { public void setC_end_time(String c_end_time) { this.c_end_time = c_end_time; } + + public int getClient_id() { + return client_id; + } + + public void setClient_id(int client_id) { + this.client_id = client_id; + } } diff --git a/src/main/ui/static/risk/risk.js b/src/main/ui/static/risk/risk.js index 3b78fdeb6..6dd4e4e2a 100644 --- a/src/main/ui/static/risk/risk.js +++ b/src/main/ui/static/risk/risk.js @@ -71,7 +71,7 @@ define(['angular', 'static/commons/commons', 'uiBootstrap', 'uiRouter', 'ngBootS var params = angular.copy($scope.params); params.page = page || $scope.pagination.page || 1; $http.get('/sys/risk/orders',{params: params}).then(function (resp) { - $scope.orders = resp.data.data; + $scope.referenceOrders = resp.data.data; $scope.pagination = resp.data.pagination; $scope.historyParams.c_end_time = $scope.orders.pop().create_time; $scope.loadHistoryOrders(1); diff --git a/src/main/ui/static/risk/templates/risk_orders.html b/src/main/ui/static/risk/templates/risk_orders.html index 3e07bb71f..47f9b2fce 100644 --- a/src/main/ui/static/risk/templates/risk_orders.html +++ b/src/main/ui/static/risk/templates/risk_orders.html @@ -35,7 +35,7 @@
-