コード例 #1
0
  private void addAfterRule(CompareAroundProcesser<AggExchangeMainHVO> processer) {
    IRule<AggExchangeMainHVO> rule = null;
    rule = new nc.bs.pubapp.pub.rule.BillCodeCheckRule();
    ((nc.bs.pubapp.pub.rule.BillCodeCheckRule) rule).setCbilltype("HDZD");
    ((nc.bs.pubapp.pub.rule.BillCodeCheckRule) rule).setCodeItem("billno");
    ((nc.bs.pubapp.pub.rule.BillCodeCheckRule) rule).setGroupItem("pk_group");
    ((nc.bs.pubapp.pub.rule.BillCodeCheckRule) rule).setOrgItem("pk_org");

    processer.addAfterRule(rule);
  }
コード例 #2
0
  private void addAfterRule(CompareAroundProcesser<AggVerificationCosts> processer) {
    IRule<AggVerificationCosts> rule = null;
    rule = new nc.bs.pubapp.pub.rule.BillCodeCheckRule();
    ((nc.bs.pubapp.pub.rule.BillCodeCheckRule) rule).setCbilltype("HXYF");
    ((nc.bs.pubapp.pub.rule.BillCodeCheckRule) rule).setCodeItem("billno");
    ((nc.bs.pubapp.pub.rule.BillCodeCheckRule) rule).setGroupItem("pk_group");
    ((nc.bs.pubapp.pub.rule.BillCodeCheckRule) rule).setOrgItem("pk_org");

    processer.addAfterRule(rule);
  }