瀏覽代碼

增加查询条件

shiyj1101 5 年之前
父節點
當前提交
b0d1357eaf
共有 1 個文件被更改,包括 2 次插入4 次删除
  1. 2 4
      service-acct/src/main/java/com/java110/acct/api/AccountBondObjApi.java

+ 2 - 4
service-acct/src/main/java/com/java110/acct/api/AccountBondObjApi.java

@@ -61,15 +61,13 @@ public class AccountBondObjApi {
     @RequestMapping(value = "/updateAccountBondObj", method = RequestMethod.POST)
     @RequestMapping(value = "/updateAccountBondObj", method = RequestMethod.POST)
     public ResponseEntity<String> updateAccountBondObj(@RequestBody JSONObject reqJson) {
     public ResponseEntity<String> updateAccountBondObj(@RequestBody JSONObject reqJson) {
 
 
-        Assert.hasKeyAndValue(reqJson, "bondId", "请求报文中未包含bondId");
+        Assert.hasKeyAndValue(reqJson, "bobjId", "bobjId不能为空");
         Assert.hasKeyAndValue(reqJson, "objId", "请求报文中未包含objId");
         Assert.hasKeyAndValue(reqJson, "objId", "请求报文中未包含objId");
-        Assert.hasKeyAndValue(reqJson, "bondType", "请求报文中未包含bondType");
-        Assert.hasKeyAndValue(reqJson, "receivableAmount", "请求报文中未包含receivableAmount");
         Assert.hasKeyAndValue(reqJson, "receivedAmount", "请求报文中未包含receivedAmount");
         Assert.hasKeyAndValue(reqJson, "receivedAmount", "请求报文中未包含receivedAmount");
         Assert.hasKeyAndValue(reqJson, "state", "请求报文中未包含state");
         Assert.hasKeyAndValue(reqJson, "state", "请求报文中未包含state");
         Assert.hasKeyAndValue(reqJson, "startTime", "请求报文中未包含startTime");
         Assert.hasKeyAndValue(reqJson, "startTime", "请求报文中未包含startTime");
         Assert.hasKeyAndValue(reqJson, "endTime", "请求报文中未包含endTime");
         Assert.hasKeyAndValue(reqJson, "endTime", "请求报文中未包含endTime");
-        Assert.hasKeyAndValue(reqJson, "bobjId", "bobjId不能为空");
+
 
 
 
 
         AccountBondObjPo accountBondObjPo = BeanConvertUtil.covertBean(reqJson, AccountBondObjPo.class);
         AccountBondObjPo accountBondObjPo = BeanConvertUtil.covertBean(reqJson, AccountBondObjPo.class);