From ba5210dc8c6c537cacc59c18d58baa9744cd2b9d Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期二, 10 五月 2022 11:14:39 +0800
Subject: [PATCH] 优化报修单推送bug
---
service-acct/src/main/java/com/java110/acct/api/AccountBondObjApi.java | 10 +++-------
1 files changed, 3 insertions(+), 7 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 66752d3..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,6 +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 = "objId",required = false) String objId,
@RequestParam(value = "page") int page,
@RequestParam(value = "row") int row) {
AccountBondObjDto accountBondObjDto = new AccountBondObjDto();
@@ -110,6 +105,7 @@
accountBondObjDto.setRow(row);
accountBondObjDto.setBobjId(bobjId);
accountBondObjDto.setState(state);
+ accountBondObjDto.setObjId( objId );
return getAccountBondObjBMOImpl.get(accountBondObjDto);
}
}
--
Gitblit v1.8.0