parent
97effc720b
commit
e2d411b60f
@ -1,55 +0,0 @@
|
||||
package au.com.royalpay.payment.manage.mappers.system;
|
||||
|
||||
import cn.yixblog.support.mybatis.autosql.annotations.AdvanceSelect;
|
||||
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;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by yishuqian on 06/03/2017.
|
||||
*/
|
||||
@AutoMapper(tablename = "sys_asic_files", pkName = "file_id")
|
||||
public interface ClientAsicFilesMapper {
|
||||
@AutoSql(type = SqlType.INSERT)
|
||||
void save(JSONObject partner);
|
||||
|
||||
@AutoSql(type = SqlType.UPDATE)
|
||||
void update(JSONObject partner);
|
||||
|
||||
@AutoSql(type = SqlType.SELECT)
|
||||
@AdvanceSelect(addonWhereClause = "is_valid = 1 and status = 1")
|
||||
List<JSONObject> findClientFile(@Param("client_id") int clientId);
|
||||
|
||||
@AutoSql(type = SqlType.SELECT)
|
||||
@AdvanceSelect(addonWhereClause = "is_valid = 1 and (status = 1 or status = 2) and file_name='client_agree_file'")
|
||||
List<JSONObject> findClientPassAggreeFile(@Param("client_id") int clientId);
|
||||
|
||||
@AutoSql(type = SqlType.SELECT)
|
||||
@AdvanceSelect(addonWhereClause = "is_valid = 1 and (status = 0 or status = 3) and file_name='client_agree_file'")
|
||||
List<JSONObject> findClientAggreeFileCommit(@Param("client_id") int clientId);
|
||||
|
||||
List<JSONObject> findAllClientFile(@Param("client_id") int clientId);
|
||||
|
||||
@AutoSql(type = SqlType.SELECT)
|
||||
JSONObject findFileById(@Param("file_id") String file_id);
|
||||
|
||||
List<JSONObject> findFileByClientAndType(@Param("client_id") int client_id, @Param("file_name") String file_name);
|
||||
|
||||
JSONObject getSourceAgreeFilesByClientId(@Param("client_id") int clientId);
|
||||
|
||||
void deleteByClientAndFileId(@Param("file_id") String file_id);
|
||||
|
||||
void deleteAggreeByClientId(@Param("client_id") int file_id);
|
||||
|
||||
void confirmAgreeFile(@Param("client_id") int client_id);
|
||||
|
||||
void updateBeforeCompliance(@Param("client_id") int client_id);
|
||||
|
||||
void refuseCompliance(@Param("client_id") int client_id);
|
||||
|
||||
void passCompliance(@Param("client_id") int client_id);
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
package au.com.royalpay.payment.manage.merchants.beans;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
|
||||
/**
|
||||
* Created by liuxinxin on 09/12/2019.
|
||||
*/
|
||||
public class ClientKycFilesInfo {
|
||||
|
||||
private String file_bank_info;
|
||||
|
||||
private String file_id_info;
|
||||
|
||||
private String utility_bill_info;
|
||||
|
||||
private int authStatus=0;
|
||||
|
||||
public JSONObject toJson(){
|
||||
return (JSONObject)JSONObject.toJSON(this);
|
||||
}
|
||||
|
||||
public String getFile_bank_info() {
|
||||
return file_bank_info;
|
||||
}
|
||||
|
||||
public void setFile_bank_info(String file_bank_info) {
|
||||
this.file_bank_info = file_bank_info;
|
||||
}
|
||||
|
||||
public String getFile_id_info() {
|
||||
return file_id_info;
|
||||
}
|
||||
|
||||
public void setFile_id_info(String file_id_info) {
|
||||
this.file_id_info = file_id_info;
|
||||
}
|
||||
|
||||
public String getUtility_bill_info() {
|
||||
return utility_bill_info;
|
||||
}
|
||||
|
||||
public void setUtility_bill_info(String utility_bill_info) {
|
||||
this.utility_bill_info = utility_bill_info;
|
||||
}
|
||||
|
||||
public int getAuthStatus() {
|
||||
return authStatus;
|
||||
}
|
||||
|
||||
public void setAuthStatus(int authStatus) {
|
||||
this.authStatus = authStatus;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,140 @@
|
||||
<section class="content-header">
|
||||
<h1>商户合规文件审核</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li>
|
||||
<i class="fa fa-sitemap"></i> Compliance Management
|
||||
</li>
|
||||
<li class="active">商户合规文件审核</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
|
||||
<div class="box box-warning" style="margin-top: 30px;">
|
||||
<div class="box-header">
|
||||
<div class="nav-tabs-custom">
|
||||
<ul class="nav nav-tabs">
|
||||
<li ui-sref-active-eq="active">
|
||||
<a ui-sref="partner_compliance_auth">合规文件审核</a>
|
||||
</li>
|
||||
<li ui-sref-active-eq="active">
|
||||
<a ui-sref="partner_kyc_files_auth">KYC文件审核</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="form-horizontal">
|
||||
<div class="form-group col-xs-12">
|
||||
<label class="col-xs-4 col-sm-2 control-label">Partner Code</label>
|
||||
<div class="col-sm-5 col-xs-8">
|
||||
<input class="form-control" placeholder="" ng-click="loadClientCompliance(1)"
|
||||
ng-model="params.client_moniker">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group col-xs-12">
|
||||
<label class="control-label col-xs-4 col-sm-2">审核状态:</label>
|
||||
<div class="col-sm-10 col-xs-8">
|
||||
<p class="form-control-static">
|
||||
<a role="button" ng-class="{'bg-primary':params.status==null}"
|
||||
ng-click="params.status=null;loadClientCompliance(1)">All</a> |
|
||||
|
||||
<a role="button" ng-class="{'bg-primary':statusSelected([0])}"
|
||||
ng-click="params.status=[0];loadClientCompliance(1)">待审核</a>|
|
||||
<a role="button" ng-class="{'bg-primary':statusSelected([1])}"
|
||||
ng-click="params.status=[1];loadClientCompliance(1)">通过</a>|
|
||||
<a role="button" ng-class="{'bg-primary':statusSelected([2])}"
|
||||
ng-click="params.status=[2];loadClientCompliance(1)">打回</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<button class="btn btn-success" type="button" ng-click="loadClientCompliance()">
|
||||
<i class="fa fa-search"></i> Search
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box box-danger">
|
||||
<div class="modal-body">
|
||||
<div class="box-body table-responsive">
|
||||
<table class="table table-bordered table-striped table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Client Moniker</th>
|
||||
<th>Short Name</th>
|
||||
<th>Compliance Status</th>
|
||||
<th>Register Time</th>
|
||||
<th>BD</th>
|
||||
<th>KYCFile Status</th>
|
||||
<th>Submit Time</th>
|
||||
<th>Source</th>
|
||||
<th>Operation</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr ng-repeat="compliance_company in compliances">
|
||||
<td ng-bind="compliance_company.client_moniker"></td>
|
||||
<td ng-bind="compliance_company.short_name"></td>
|
||||
<td ng-class="{'bg-green':(compliance_company.approve_result==2 && (compliance_company.client_source==1 || compliance_company.client_source==2)),'bg-red':((compliance_company.open_status==1||compliance_company.open_status==2||compliance_company.open_status==4) && compliance_company.approve_result!=3)||(compliance_company.approve_result==3 && (!compliance_company.open_status || compliance_company.open_status==1 || compliance_company.open_status == 4))||(compliance_company.approve_result==4 && !compliance_company.open_status)||(compliance_company.open_status==10)}">
|
||||
<span ng-if="compliance_company.approve_result==1 && compliance_company.approve_time">通过({{compliance_company.approve_time}})</span>
|
||||
<span ng-if="!compliance_company.open_status && !compliance_company.approve_result && compliance_company.approve_result!=5 && compliance_company.client_source!=4">资料完善中</span>
|
||||
<span ng-if="!compliance_company.open_status && !compliance_company.approve_result && compliance_company.approve_result!=5 && compliance_company.client_source==4">(自助开通)资料完善中</span>
|
||||
<span ng-if="!compliance_company.open_status && compliance_company.approve_result==2 && compliance_company.approve_time">自助开通试用中({{compliance_company.approve_time}}~{{compliance_company.expiry_time}})</span>
|
||||
<span ng-if="compliance_company.approve_result==0 && compliance_company.approve_time">不通过({{compliance_company.approve_time}})</span>
|
||||
<span ng-if="compliance_company.approve_result==5 && compliance_company.approve_time && compliance_company.refuse_remark">申请打回({{compliance_company.refuse_remark|limitTo:15}})</span>
|
||||
<span ng-if="(compliance_company.open_status==1||compliance_company.open_status==4) && compliance_company.approve_result!=3"><i
|
||||
ng-if="compliance_company.refuse_remark.length>0" class="fa fa-reply" aria-hidden="true"
|
||||
title="被打回重新提交"></i>等待合规</span>
|
||||
<span ng-if="compliance_company.approve_result==3 && (!compliance_company.open_status || compliance_company.open_status==4)">自助开通(等待合规)</span>
|
||||
<span ng-if="compliance_company.open_status==2">合同制作完成</span>
|
||||
<span ng-if="compliance_company.open_status==3 && compliance_company.approve_result!=5">等待BD上传材料审核</span>
|
||||
<span ng-if="compliance_company.open_status==10">绿色通道申请中</span>
|
||||
<span ng-if="compliance_company.approve_result==4 && !compliance_company.open_status"><i
|
||||
ng-if="compliance_company.refuse_remark.length>0" class="fa fa-reply" aria-hidden="true"
|
||||
title="被打回重新提交"></i>等待合规</span>
|
||||
</td>
|
||||
<td ng-bind="compliance_company.create_time|date:'dd/MMM/yyyy'"></td>
|
||||
<td ng-bind="compliance_company.bd_user_name"></td>
|
||||
<td>
|
||||
<span ng-if="compliance_company.status==0">待审核</span>
|
||||
<span ng-if="compliance_company.status==1">通过</span>
|
||||
<span ng-if="compliance_company.status==2">打回</span>
|
||||
</td>
|
||||
<td ng-bind="compliance_company.submit_time|date:'dd/MMM/yyyy'"></td>
|
||||
<td>
|
||||
<span ng-if="compliance_company.source==1">App</span>
|
||||
<span ng-if="compliance_company.source==2">Web</span>
|
||||
</td>
|
||||
<td><a class="text-primary" role="button" title="Detail"
|
||||
ui-sref="compliance_detail({client_moniker:compliance_company.client_moniker})">
|
||||
<i class="fa fa-search"></i> Detail
|
||||
</a>
|
||||
</td>
|
||||
<!--({client_id:compliance_company.client_id})-->
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<uib-pagination ng-if="compliances.length"
|
||||
class="pagination"
|
||||
total-items="pagination.totalCount"
|
||||
boundary-links="true"
|
||||
ng-model="pagination.page"
|
||||
items-per-page="pagination.limit"
|
||||
max-size="10"
|
||||
ng-change="loadClientCompliance()"
|
||||
previous-text="‹"
|
||||
next-text="›"
|
||||
first-text="«"
|
||||
last-text="»"></uib-pagination>
|
||||
<div class="col-xs-12">Total Records:{{pagination.totalCount}};Total Pages:{{pagination.totalPages}}</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
Loading…
Reference in new issue