From 7958f1dddb8a7f4e70d232b07a7703955ecedae0 Mon Sep 17 00:00:00 2001
From: Your Name <you@example.com>
Date: 星期六, 26 八月 2023 12:45:33 +0800
Subject: [PATCH] 优化diamante
---
service-acct/src/main/java/com/java110/acct/api/AccountBondObjApi.java | 12 +++---------
1 files changed, 3 insertions(+), 9 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 5c1b475..6d25cff 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
@@ -5,8 +5,8 @@
import com.java110.acct.bmo.accountBondObj.IGetAccountBondObjBMO;
import com.java110.acct.bmo.accountBondObj.ISaveAccountBondObjBMO;
import com.java110.acct.bmo.accountBondObj.IUpdateAccountBondObjBMO;
-import com.java110.dto.accountBondObj.AccountBondObjDto;
-import com.java110.po.accountBondObj.AccountBondObjPo;
+import com.java110.dto.account.AccountBondObjDto;
+import com.java110.po.account.AccountBondObjPo;
import com.java110.utils.util.Assert;
import com.java110.utils.util.BeanConvertUtil;
import org.springframework.beans.factory.annotation.Autowired;
@@ -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);
--
Gitblit v1.8.0