master
hellolujian 6 years ago
parent 5401e48eed
commit f5e9503547

@ -41,6 +41,8 @@ public class RiskEventQuery {
// 邮件回复截止日期
private String replyEmailDate;
private Integer page = 1;
public Integer getOrderType() {
return orderType;
}
@ -113,6 +115,14 @@ public class RiskEventQuery {
this.replyEmailDate = replyEmailDate;
}
public Integer getPage() {
return page;
}
public void setPage(Integer page) {
this.page = page;
}
public JSONObject toJSON() {
JSONObject params = new JSONObject();
@ -154,6 +164,10 @@ public class RiskEventQuery {
params.put("reply_email_date", replyEmailDate);
}
if (page != null && page > 0) {
params.put("page", page);
}
return params;
}
}

@ -87,7 +87,7 @@ public class RiskBusinessServiceImpl implements RiskBusinessService {
@Override
public JSONObject getRiskEventsByPage(JSONObject params) {
PageList<JSONObject> riskEvents = riskEventMapper.listRisksByPage(params, new PageBounds(1, 10, Order.formString("create_time.desc")));
PageList<JSONObject> riskEvents = riskEventMapper.listRisksByPage(params, new PageBounds(params.getInteger("page"), 10, Order.formString("create_time.desc")));
return PageListUtils.buildPageListResult(riskEvents);
}

@ -233,7 +233,7 @@
</div>
<a role="button"
ng-if="riskEvent.order_type <= 1"
ng-if="riskEvent.result_type <= 1"
class="btn btn-info"
ng-click="resendUploadEmail()">Send Email {{riskEvent.result_type == 1 ? 'again' : ''}}
</a>

Loading…
Cancel
Save