Merge branch 'develop' of https://git.royalpay.com.au/git/royalv2.manage into develop
commit
d188406122
@ -0,0 +1,19 @@
|
||||
package au.com.royalpay.payment.manage.mappers.log;
|
||||
|
||||
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;
|
||||
|
||||
@AutoMapper(tablename = "log_client_sub_merchant_id", pkName = "id")
|
||||
public interface LogClientSubMerchantIdMapper {
|
||||
|
||||
@AutoSql(type = SqlType.INSERT)
|
||||
void save(JSONObject log);
|
||||
|
||||
@AutoSql(type = SqlType.SELECT)
|
||||
List<JSONObject> listLogsByClientId(@Param("client_id") int client_id);
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
<section class="content-header">
|
||||
<h1>Sub Merchant Id Logs</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li>
|
||||
<i class="fa fa-users"></i> Configuration
|
||||
</li>
|
||||
<li class="active">logs</li>
|
||||
</ol>
|
||||
</section>
|
||||
<section class="content">
|
||||
<div class="box-solid">
|
||||
<div class="box box-warning">
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="col-sm-12 table-responsive">
|
||||
<table class="table table-striped table-bordered table-hover" ng-if="logs.length>0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Sub Merchant Id Before</th>
|
||||
<th>Sub Merchant Id After</th>
|
||||
<th>Operator</th>
|
||||
<th>Create Time</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr ng-repeat="log in logs">
|
||||
<td ng-bind="log.sub_merchant_id_before"></td>
|
||||
<td ng-bind="log.sub_merchant_id_after"></td>
|
||||
<td ng-bind="log.operator"></td>
|
||||
<td ng-bind="log.create_time"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
Loading…
Reference in new issue