java110
2023-06-13 ae42d2da37fe9d161e7058b51367b95f24c3d97a
service-common/src/main/java/com/java110/common/cmd/chargeCard/SaveChargeMonthCardCmd.java
@@ -55,10 +55,10 @@
    @Override
    public void validate(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) {
        Assert.hasKeyAndValue(reqJson, "cardName", "请求报文中未包含cardName");
Assert.hasKeyAndValue(reqJson, "cardMonth", "请求报文中未包含cardMonth");
Assert.hasKeyAndValue(reqJson, "cardPrice", "请求报文中未包含cardPrice");
Assert.hasKeyAndValue(reqJson, "dayHours", "请求报文中未包含dayHours");
Assert.hasKeyAndValue(reqJson, "communityId", "请求报文中未包含communityId");
        Assert.hasKeyAndValue(reqJson, "cardMonth", "请求报文中未包含cardMonth");
        Assert.hasKeyAndValue(reqJson, "cardPrice", "请求报文中未包含cardPrice");
        Assert.hasKeyAndValue(reqJson, "dayHours", "请求报文中未包含dayHours");
        Assert.hasKeyAndValue(reqJson, "communityId", "请求报文中未包含communityId");
    }
@@ -66,7 +66,7 @@
    @Java110Transactional
    public void doCmd(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) throws CmdException {
       ChargeMonthCardPo chargeMonthCardPo = BeanConvertUtil.covertBean(reqJson, ChargeMonthCardPo.class);
        ChargeMonthCardPo chargeMonthCardPo = BeanConvertUtil.covertBean(reqJson, ChargeMonthCardPo.class);
        chargeMonthCardPo.setCardId(GenerateCodeFactory.getGeneratorId(CODE_PREFIX_ID));
        int flag = chargeMonthCardV1InnerServiceSMOImpl.saveChargeMonthCard(chargeMonthCardPo);