From f1ea0af02ffcd2295d6d51f34a4681a33277e570 Mon Sep 17 00:00:00 2001 From: wangning <164851225@qq.com> Date: Wed, 2 May 2018 20:05:05 +0800 Subject: [PATCH] update --- .../payment/manage/risk/core/impl/RiskMerchantServiceImpl.java | 2 ++ .../au/com/royalpay/payment/manage/risk/web/RiskController.java | 2 +- src/main/ui/static/risk/templates/risk_remark.html | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/risk/core/impl/RiskMerchantServiceImpl.java b/src/main/java/au/com/royalpay/payment/manage/risk/core/impl/RiskMerchantServiceImpl.java index d62762e94..bceee32d1 100644 --- a/src/main/java/au/com/royalpay/payment/manage/risk/core/impl/RiskMerchantServiceImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/risk/core/impl/RiskMerchantServiceImpl.java @@ -53,6 +53,8 @@ public class RiskMerchantServiceImpl implements RiskMerchantService { detail.put("auditor_id", account.getString("manager_id")); detail.put("create_time", new Date()); riskMerchantDetailLogMapper.save(detail); + record.put("status",2); + riskMerchantRecordMapper.update(record); } @Override diff --git a/src/main/java/au/com/royalpay/payment/manage/risk/web/RiskController.java b/src/main/java/au/com/royalpay/payment/manage/risk/web/RiskController.java index 9fd4be497..7c8441fdc 100644 --- a/src/main/java/au/com/royalpay/payment/manage/risk/web/RiskController.java +++ b/src/main/java/au/com/royalpay/payment/manage/risk/web/RiskController.java @@ -78,7 +78,7 @@ public class RiskController { @RequestMapping(value = "/records/uploadFiles", method = RequestMethod.POST) public void addRecordLog(@ModelAttribute(CommonConsts.MANAGER_STATUS) JSONObject manager,@RequestBody AddRiskDetailLog addRiskDetailLog) { - riskMerchantService.addDetailLog(addRiskDetailLog,manager); +// riskMerchantService.addDetailLog(addRiskDetailLog,manager); } @RequestMapping(value = "/details", method = RequestMethod.GET) diff --git a/src/main/ui/static/risk/templates/risk_remark.html b/src/main/ui/static/risk/templates/risk_remark.html index 8a994ca79..45f44e11d 100644 --- a/src/main/ui/static/risk/templates/risk_remark.html +++ b/src/main/ui/static/risk/templates/risk_remark.html @@ -1,5 +1,5 @@
-

Phone Top Up

+

Add Remark