浏览代码

优化代码

1098226878@qq.com 4 年之前
父节点
当前提交
b1b9ae11fc

+ 1 - 2
service-fee/src/main/java/com/java110/fee/cmd/tempCarFee/QueryTempCarFeeOrderCmd.java

@@ -80,10 +80,9 @@ public class QueryTempCarFeeOrderCmd extends AbstractServiceCmdListener {
         }
         fee.put("receivedAmount", receivedAmount);
         fee.put("oId", GenerateCodeFactory.getGeneratorId(GenerateCodeFactory.CODE_PREFIX_oId));
-        ResponseEntity<String> responseEntitys = new ResponseEntity<>(fee.toJSONString(), HttpStatus.OK);
         fee.putAll(reqJson);
         CommonCache.setValue("getTempCarFeeOrder" + fee.getString("oId"), fee.toJSONString(), 24 * 60 * 60);
-        cmdDataFlowContext.setResponseEntity(responseEntitys);
+        cmdDataFlowContext.setResponseEntity(responseEntity);
     }
 
     private double checkCouponUser(JSONObject paramObj) {