com.hiunicom.acm.online
类 MercAccCancel

java.lang.Object
  继承者 com.hiunicom.acm.online.MercAccCancel
所有已实现的接口:
IAccCancel, IAccTrsaction

public class MercAccCancel
extends java.lang.Object
implements IAccCancel, IAccTrsaction


构造函数摘要
MercAccCancel()
           
 
方法摘要
 boolean checkCancelRule(com.hisun.message.HiETF GWA, com.hisun.message.HiMessageContext ctx, java.lang.String cancelFlg, java.lang.String acDt, com.hisun.message.HiETF mercAcEtf)
          检查是否符合冲正规则
 boolean isExistTxnRecord(com.hisun.message.HiETF mercAcEtf, CCrDrDetail cddtObj, HiACMDataBaseUtil dbUtil, com.hisun.message.HiMessageContext ctx, com.hisun.message.HiETF GWA, java.lang.String addOrSub)
          检查原交易是否存在
 int updateAccBal(com.hisun.message.HiETF mercAcEtf, CAccBal mercBalObj, com.hisun.message.HiMessageContext ctx, HiACMDataBaseUtil dbUtil, com.hisun.message.HiETF GWA, java.lang.String ordSeq, java.lang.String addOrSub)
          更新账户余额
 int writeAccDrCrDetail(com.hisun.message.HiETF mercAcEtf, CAccBal mercBalObj, com.hisun.message.HiMessageContext ctx, HiACMDataBaseUtil dbUtil, com.hisun.message.HiETF GWA, CCrDrDetail cdDetail, java.lang.String ordSeq, java.lang.String dCFlg)
          记录账户收支明细
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造函数详细信息

MercAccCancel

public MercAccCancel()
方法详细信息

isExistTxnRecord

public boolean isExistTxnRecord(com.hisun.message.HiETF mercAcEtf,
                                CCrDrDetail cddtObj,
                                HiACMDataBaseUtil dbUtil,
                                com.hisun.message.HiMessageContext ctx,
                                com.hisun.message.HiETF GWA,
                                java.lang.String addOrSub)
                         throws com.hisun.exception.HiException
从接口 IAccCancel 复制的描述
检查原交易是否存在

指定者:
接口 IAccCancel 中的 isExistTxnRecord
参数:
mercAcEtf - ETF
cddtObj - 收支明细对象
返回:
true :成功; false :失败
抛出:
com.hisun.exception.HiException

checkCancelRule

public boolean checkCancelRule(com.hisun.message.HiETF GWA,
                               com.hisun.message.HiMessageContext ctx,
                               java.lang.String cancelFlg,
                               java.lang.String acDt,
                               com.hisun.message.HiETF mercAcEtf)
                        throws com.hisun.exception.HiException
从接口 IAccCancel 复制的描述
检查是否符合冲正规则

指定者:
接口 IAccCancel 中的 checkCancelRule
cancelFlg - 是否当日冲正标志 Y:是 N:不是 默认Y
acDt - 会计日期
mercAcEtf - ETF
返回:
true :成功; false :失败
抛出:
com.hisun.exception.HiException

updateAccBal

public int updateAccBal(com.hisun.message.HiETF mercAcEtf,
                        CAccBal mercBalObj,
                        com.hisun.message.HiMessageContext ctx,
                        HiACMDataBaseUtil dbUtil,
                        com.hisun.message.HiETF GWA,
                        java.lang.String ordSeq,
                        java.lang.String addOrSub)
                 throws com.hisun.exception.HiException
从接口 IAccTrsaction 复制的描述
更新账户余额

指定者:
接口 IAccTrsaction 中的 updateAccBal
参数:
mercAcEtf - ETF
mercBalObj - 电子现金余额
ordSeq - 订单序号
返回:
0 :成功; -1 :失败.
抛出:
com.hisun.exception.HiException

writeAccDrCrDetail

public int writeAccDrCrDetail(com.hisun.message.HiETF mercAcEtf,
                              CAccBal mercBalObj,
                              com.hisun.message.HiMessageContext ctx,
                              HiACMDataBaseUtil dbUtil,
                              com.hisun.message.HiETF GWA,
                              CCrDrDetail cdDetail,
                              java.lang.String ordSeq,
                              java.lang.String dCFlg)
                       throws com.hisun.exception.HiException
从接口 IAccTrsaction 复制的描述
记录账户收支明细

指定者:
接口 IAccTrsaction 中的 writeAccDrCrDetail
参数:
mercAcEtf - ETF
mercBalObj - 电子现金余额
cdDetail - 收支记录对象类
ordSeq - 订单序号
dCFlg - 借贷标志
返回:
0 :成功; -1 :失败.
抛出:
com.hisun.exception.HiException