parent
0bb6ad8e08
commit
c6aafed536
@ -0,0 +1,25 @@
|
||||
package au.com.royalpay.payment.manage.mappers.riskbusiness;
|
||||
|
||||
import cn.yixblog.support.mybatis.autosql.annotations.AutoMapper;
|
||||
import cn.yixblog.support.mybatis.autosql.annotations.AutoSql;
|
||||
import cn.yixblog.support.mybatis.autosql.annotations.SqlType;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* @Author lvjian
|
||||
* @Date 2018/10/10 10:25
|
||||
*/
|
||||
@AutoMapper(tablename = "risk_event", pkName = "risk_id")
|
||||
public interface RiskEventMapper {
|
||||
|
||||
@AutoSql(type = SqlType.INSERT)
|
||||
void save(JSONObject riskEvent);
|
||||
|
||||
@AutoSql(type = SqlType.UPDATE)
|
||||
void update(JSONObject riskEvent);
|
||||
|
||||
@AutoSql(type = SqlType.SELECT)
|
||||
JSONObject findById(@Param("risk_id") String riskId);
|
||||
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
package au.com.royalpay.payment.manage.riskbusiness.core;
|
||||
|
||||
/**
|
||||
* @Author lvjian
|
||||
* @Date 2018/10/10 10:29
|
||||
*/
|
||||
public interface RiskBusinessService {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package au.com.royalpay.payment.manage.riskbusiness.core.impl;
|
||||
|
||||
import au.com.royalpay.payment.manage.riskbusiness.core.RiskBusinessService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @Author lvjian
|
||||
* @Date 2018/10/10 10:30
|
||||
*/
|
||||
@Service
|
||||
public class RiskBusinessServiceImpl implements RiskBusinessService {
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
</head>
|
||||
<body>
|
||||
欢迎来到riskDetail页面
|
||||
</body>
|
||||
</html>
|
@ -1,10 +1,88 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
</head>
|
||||
<body>
|
||||
欢迎来到风控业务流程页面
|
||||
</body>
|
||||
</html>
|
||||
<div class="content">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="box-solid">
|
||||
<div class="box box-warning">
|
||||
<div class="box-header">
|
||||
<div class="form-inline">
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="partner-code-search">Partner Code</label>
|
||||
<input type="text" class="form-control" id="partner-code-search"
|
||||
ng-model="params.client_moniker">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<button class="btn btn-primary" type="button" ng-click="loadRiskEvents(1)"><i
|
||||
class="fa fa-search"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">RiskEvent List</h3>
|
||||
</div>
|
||||
|
||||
<div class="box-body no-padding table-responsive">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Partner Code</th>
|
||||
<th>order_type</th>
|
||||
<th>Sub Merchant ID</th>
|
||||
<th>Email Status</th>
|
||||
<th>FillIn Person</th>
|
||||
<th>Description</th>
|
||||
<th>Create Time</th>
|
||||
<th>Operation</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr ng-repeat="riskEvent in riskEvents">
|
||||
<td ng-bind="riskEvent.client_moniker"></td>
|
||||
<td ng-bind="riskEvent.order_type"></td>
|
||||
<td ng-bind="riskEvent.sub_merchant_id"></td>
|
||||
<td>
|
||||
<span ng-if="riskEvent.email_status == 0">未发送</span>
|
||||
<span ng-if="riskEvent.email_status == 1">已发送</span>
|
||||
</td>
|
||||
<td ng-bind="riskEvent.fillin_person"></td>
|
||||
<td ng-bind="riskEvent.description | limitTo:20"></td>
|
||||
<td ng-bind="riskEvent.create_time"></td>
|
||||
<td>
|
||||
<a class="text-primary" role="button" title="Detail"
|
||||
ui-sref="riskEvent.detail({client_apply_id:partner.client_apply_id})">
|
||||
<i class="fa fa-search"></i> Detail
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
<div class="box-footer" ng-if="partners.length">
|
||||
<uib-pagination class="pagination"
|
||||
total-items="pagination.totalCount"
|
||||
boundary-links="true"
|
||||
ng-model="pagination.page"
|
||||
items-per-page="pagination.limit"
|
||||
max-size="10"
|
||||
ng-change="loadPartners()"
|
||||
previous-text="‹"
|
||||
next-text="›"
|
||||
first-text="«"
|
||||
last-text="»"></uib-pagination>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">Total Records:{{pagination.totalCount}};Total Pages:{{pagination.totalPages}}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in new issue