java110
2022-05-24 3721d9e4c1f79b7b38d89db3a73c62135640be64
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();