live check optmise

master
yixian 4 years ago
parent ae3359dcc4
commit 466cf2f4b3

@ -5,7 +5,7 @@
<parent> <parent>
<groupId>au.com.royalpay.payment</groupId> <groupId>au.com.royalpay.payment</groupId>
<artifactId>payment-parent</artifactId> <artifactId>payment-parent</artifactId>
<version>2.2.7</version> <version>2.2.9</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>manage</artifactId> <artifactId>manage</artifactId>

@ -259,7 +259,7 @@ public class ATOReportServiceImpl implements ATOReportService {
} }
public static class Progress { public static class Progress {
private static final Logger logger = LoggerFactory.getLogger(ATOReportService.class); private static final Logger logger = LoggerFactory.getLogger(Progress.class);
private String brand; private String brand;
private String currentMonth; private String currentMonth;
private Map<Integer, Boolean> clientsStatus; private Map<Integer, Boolean> clientsStatus;
@ -271,7 +271,7 @@ public class ATOReportServiceImpl implements ATOReportService {
public Progress() { public Progress() {
status = "Init"; status = "Init";
server = PlatformEnvironment.getEnv().appName(); server = PlatformEnvironment.getEnv().appName(true);
} }
public String getBrand() { public String getBrand() {

@ -7067,11 +7067,11 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
info.put("annual_rate", cardAnnualRate);//年费率 info.put("annual_rate", cardAnnualRate);//年费率
info.put("cost_per_transaction", clientRate.getString("transaction_fee"));//每次交易成本 info.put("cost_per_transaction", clientRate.getString("transaction_fee"));//每次交易成本
String domesticRateValue = cardRate.getString("domestic_rate_value"); String domesticRateValue = cardRate.getString("domestic_rate_value");
info.put("domestic_fee", domesticRateValue.indexOf("rate") != -1 ? JSONObject.parseObject(domesticRateValue).getString("rate") : cardRate.getString("domestic_rate_value"));//国内服务费 info.put("domestic_fee", domesticRateValue.contains("rate") ? JSON.parseObject(domesticRateValue).getString("rate") : domesticRateValue);//国内服务费
String overseasRateValue = cardRate.getString("overseas_rate_value"); String overseasRateValue = cardRate.getString("overseas_rate_value");
info.put("international_fee", upayProfileInfo.getBoolean("enable_international_card") ? info.put("international_fee", upayProfileInfo.getBooleanValue("enable_international_card") ?
overseasRateValue.indexOf("rate") != -1 ? JSONObject.parseObject(overseasRateValue).getString("rate") : cardRate.getString("overseas_rate_value") : "-");//国际服务费 overseasRateValue.contains("rate") ? JSON.parseObject(overseasRateValue).getString("rate") : overseasRateValue : "-");//国际服务费
BigDecimal reserve = (upayProfileInfo.getBigDecimal("expected_card_revenue").multiply(new BigDecimal(0.005)).setScale(0, RoundingMode.HALF_UP)); BigDecimal reserve = (upayProfileInfo.getBigDecimal("expected_card_revenue").multiply(new BigDecimal("0.005")).setScale(0, RoundingMode.HALF_UP));
info.put("account_reserve", reserve.compareTo(new BigDecimal(200)) <= 0 ? new BigDecimal(200).toPlainString() : reserve.toPlainString());//账户储备金 info.put("account_reserve", reserve.compareTo(new BigDecimal(200)) <= 0 ? new BigDecimal(200).toPlainString() : reserve.toPlainString());//账户储备金
//银行账号信息 //银行账号信息
info.put("account_name", bankAccountInfo.getString("account_name"));// info.put("account_name", bankAccountInfo.getString("account_name"));//

@ -2,7 +2,7 @@
Yesterday Transaction Analysis Yesterday Transaction Analysis
</div> </div>
<div class="modal-body"> <div class="modal-body">
<table class="table-bordered table-striped table-hover"> <table class="table table-bordered table-striped table-hover">
<thead> <thead>
<tr> <tr>
<th>Channel</th> <th>Channel</th>
@ -20,5 +20,5 @@
</table> </table>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button type="button" class="btn btn-danger"><i class="fa fa-close"></i> Close</button> <button type="button" class="btn btn-danger" ng-click="$dismiss()"><i class="fa fa-close"></i> Close</button>
</div> </div>
Loading…
Cancel
Save