java110
2023-02-16 4617a8abcf4a278ea182720aa8c6121a5236e829
service-acct/src/main/java/com/java110/acct/cmd/couponRule/DeleteCouponRuleFeeCmd.java
@@ -21,16 +21,16 @@
import com.java110.core.context.ICmdDataFlowContext;
import com.java110.core.event.cmd.Cmd;
import com.java110.core.event.cmd.CmdEvent;
import com.java110.core.factory.GenerateCodeFactory;
import com.java110.intf.acct.ICouponRuleFeeV1InnerServiceSMO;
import com.java110.po.couponRuleFee.CouponRuleFeePo;
import com.java110.utils.exception.CmdException;
import com.java110.utils.util.Assert;
import com.java110.utils.util.BeanConvertUtil;
import com.java110.vo.ResultVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
/**
 * 类表述:删除
 * 服务编码:couponRuleFee.deleteCouponRuleFee
@@ -43,7 +43,7 @@
 */
@Java110Cmd(serviceCode = "couponRule.deleteCouponRuleFee")
public class DeleteCouponRuleFeeCmd extends Cmd {
  private static Logger logger = LoggerFactory.getLogger(DeleteCouponRuleFeeCmd.class);
    private static Logger logger = LoggerFactory.getLogger(DeleteCouponRuleFeeCmd.class);
    @Autowired
    private ICouponRuleFeeV1InnerServiceSMO couponRuleFeeV1InnerServiceSMOImpl;
@@ -51,7 +51,7 @@
    @Override
    public void validate(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) {
        Assert.hasKeyAndValue(reqJson, "crfId", "crfId不能为空");
Assert.hasKeyAndValue(reqJson, "communityId", "communityId不能为空");
        Assert.hasKeyAndValue(reqJson, "communityId", "communityId不能为空");
    }
@@ -59,7 +59,7 @@
    @Java110Transactional
    public void doCmd(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) throws CmdException {
       CouponRuleFeePo couponRuleFeePo = BeanConvertUtil.covertBean(reqJson, CouponRuleFeePo.class);
        CouponRuleFeePo couponRuleFeePo = BeanConvertUtil.covertBean(reqJson, CouponRuleFeePo.class);
        int flag = couponRuleFeeV1InnerServiceSMOImpl.deleteCouponRuleFee(couponRuleFeePo);
        if (flag < 1) {