def MD0202_ENTRY(__REQ__,__RSP__):
    AFALoggerInfor("开始交易 D0202:水费代扣文件校验");

    __SND__ = {};
    __RCV__ = {};

    __REQ__["__TRADENAME__"] = "水费代扣文件校验";

    ACMP_Builtin_TradeInitialize(__REQ__,__RSP__,"KOP_SSK");

    _Result_ = None;
    _Method_ = TD0202_STEP1_IMPL;
    while(type(_Method_) is FunctionType):
        AFALoggerInfor(("Step "+getattr(_Method_,"__name__")));
        _Result_ = _Method_(__REQ__,__RSP__,__SND__,__RCV__);
        _Method_ = _Result_;

    __SND__.clear();
    __RCV__.clear();
    del __SND__;
    del __RCV__;

    ACMP_Builtin_CheckResponse(__REQ__,__RSP__);
    AFALoggerInfor("结束交易 D0202");

    return True;
Example #2
0
def MP0101_ENTRY(__REQ__,__RSP__):
    AFALoggerInfor("开始交易 P0101:校园卡签约");

    __SND__ = {};
    __RCV__ = {};

    __REQ__["__TRADENAME__"] = "校园卡签约";

    ACMP_Builtin_TradeInitialize(__REQ__,__RSP__,"KAS_SSK");

    _Result_ = None;
    _Method_ = TP0101_STEP7_IMPL;
    while(type(_Method_) is FunctionType):
        AFALoggerInfor(("Step "+getattr(_Method_,"__name__")));
        _Result_ = _Method_(__REQ__,__RSP__,__SND__,__RCV__);
        _Method_ = _Result_;

    __SND__.clear();
    __RCV__.clear();
    del __SND__;
    del __RCV__;

    ACMP_Builtin_CheckResponse(__REQ__,__RSP__);
    AFALoggerInfor("结束交易 P0101");

    return True;