From 636b46b0da8220ff4560ca5328509f4c701462c9 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期四, 19 五月 2022 15:36:51 +0800
Subject: [PATCH] 优化 微信支付bug

---
 service-acct/src/main/java/com/java110/acct/api/AccountBondObjApi.java |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/service-acct/src/main/java/com/java110/acct/api/AccountBondObjApi.java b/service-acct/src/main/java/com/java110/acct/api/AccountBondObjApi.java
index 5aff035..684efcf 100644
--- a/service-acct/src/main/java/com/java110/acct/api/AccountBondObjApi.java
+++ b/service-acct/src/main/java/com/java110/acct/api/AccountBondObjApi.java
@@ -61,15 +61,9 @@
     @RequestMapping(value = "/updateAccountBondObj", method = RequestMethod.POST)
     public ResponseEntity<String> updateAccountBondObj(@RequestBody JSONObject reqJson) {
 
-        Assert.hasKeyAndValue(reqJson, "bondId", "璇锋眰鎶ユ枃涓湭鍖呭惈bondId");
-        Assert.hasKeyAndValue(reqJson, "objId", "璇锋眰鎶ユ枃涓湭鍖呭惈objId");
-        Assert.hasKeyAndValue(reqJson, "bondType", "璇锋眰鎶ユ枃涓湭鍖呭惈bondType");
-        Assert.hasKeyAndValue(reqJson, "receivableAmount", "璇锋眰鎶ユ枃涓湭鍖呭惈receivableAmount");
+        Assert.hasKeyAndValue(reqJson, "bobjId", "bobjId涓嶈兘涓虹┖");
         Assert.hasKeyAndValue(reqJson, "receivedAmount", "璇锋眰鎶ユ枃涓湭鍖呭惈receivedAmount");
         Assert.hasKeyAndValue(reqJson, "state", "璇锋眰鎶ユ枃涓湭鍖呭惈state");
-        Assert.hasKeyAndValue(reqJson, "startTime", "璇锋眰鎶ユ枃涓湭鍖呭惈startTime");
-        Assert.hasKeyAndValue(reqJson, "endTime", "璇锋眰鎶ユ枃涓湭鍖呭惈endTime");
-        Assert.hasKeyAndValue(reqJson, "bobjId", "bobjId涓嶈兘涓虹┖");
 
 
         AccountBondObjPo accountBondObjPo = BeanConvertUtil.covertBean(reqJson, AccountBondObjPo.class);
@@ -103,7 +97,7 @@
     @RequestMapping(value = "/queryAccountBondObj", method = RequestMethod.GET)
     public ResponseEntity<String> queryAccountBondObj(@RequestParam(value = "bobjId",required = false) String bobjId,
                                                       @RequestParam(value = "state",required = false) String state,
-                                                      @RequestParam(value = " ",required = false) String objId,
+                                                      @RequestParam(value = "objId",required = false) String objId,
                                                       @RequestParam(value = "page") int page,
                                                       @RequestParam(value = "row") int row) {
         AccountBondObjDto accountBondObjDto = new AccountBondObjDto();

--
Gitblit v1.8.0