1098226878@qq.com před 4 roky
rodič
revize
4e2f4d7b25

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

@@ -47,7 +47,6 @@ public class GetTempCarFeeOrderCmd extends AbstractServiceCmdListener {
 
         Assert.hasKeyAndValue(reqJson, "paId", "paId不能为空");
         Assert.hasKeyAndValue(reqJson, "carNum", "carNum不能为空");
-        Assert.hasKeyAndValue(reqJson, "couponIds", "couponIds不能为空");
 
     }
 
@@ -82,9 +81,9 @@ public class GetTempCarFeeOrderCmd 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);
-        ResponseEntity<String> responseEntitys = new ResponseEntity<>(fee.toJSONString(), HttpStatus.OK);
         cmdDataFlowContext.setResponseEntity(responseEntitys);
     }