Explorar o código

ApiFeeVo对象未实现序列化

wuxw %!s(int64=7) %!d(string=hai) anos
pai
achega
b28005984c

+ 1 - 1
Api/src/main/java/com/java110/api/listener/fee/QueryFeeListener.java

@@ -159,7 +159,7 @@ public class QueryFeeListener extends AbstractServiceApiDataFlowListener {
         apiFeeVo.setOwnerName(ownerDto.getName());
         apiFeeVo.setLink(ownerDto.getLink());
 
-        responseEntity = new ResponseEntity<String>(apiFeeVo.toString(), HttpStatus.OK);
+        responseEntity = new ResponseEntity<String>(JSONObject.toJSONString(apiFeeVo), HttpStatus.OK);
 
 
         dataFlowContext.setResponseEntity(responseEntity);

+ 1 - 0
WebService/src/main/resources/components/property-pay/propertyPay.js

@@ -31,6 +31,7 @@
 
                 $('#propertyPayModel').modal('show');
                 vc.component.propertyPayInfo.feeId = _params.feeId;
+                vc.component.propertyPayInfo.builtUpArea = _params.builtUpArea;
                 vc.component.addRoomInfo.communityId = vc.getCurrentCommunity().communityId;
             });
         },

+ 2 - 1
WebService/src/main/resources/components/view-main-fee/viewMainFee.js

@@ -41,7 +41,8 @@
             },
             openPayModel:function(){
                 vc.emit($props.payName,'openPayModel',{
-                    feeId:vc.component.mainFeeInfo.feeId
+                    feeId:vc.component.mainFeeInfo.feeId,
+                    builtUpArea:vc.component.mainFeeInfo.builtUpArea
                 });
             },
             loadMainFeeInfo:function(_room){

+ 3 - 1
java110-bean/src/main/java/com/java110/vo/api/ApiFeeVo.java

@@ -1,5 +1,7 @@
 package com.java110.vo.api;
 
+import com.java110.vo.Vo;
+
 /**
  * @ClassName ApiFeeVo
  * @Description TODO
@@ -8,7 +10,7 @@ package com.java110.vo.api;
  * @Version 1.0
  * add by wuxw 2019/6/2
  **/
-public class ApiFeeVo {
+public class ApiFeeVo extends Vo {
 
 
    private String feeId;