Ejemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
     role::check('card_system_manage');
     $this->cardDao = MyCard_Core::instance();
     $this->cardLogDao = MyCardLog_Core::instance();
     $this->selectMap = array();
     $this->selectMap['mgrNum'] = '卡号';
     $this->selectMap['serialCode'] = '卡系列编号';
     $this->selectMap['issueId'] = '发行批次号';
     $this->selectMap['openId'] = '开卡批次号';
     $this->selectMap['flag'] = '状态';
 }
Ejemplo n.º 2
0
 public function __construct()
 {
     parent::__construct();
     role::check('card_system_manage');
     $this->cardDao = MyCard_Core::instance();
     $this->openBillDao = MyOpenBill_Core::instance();
     $this->openBillDtlDao = MyOpenBillDtl_Core::instance();
     $this->cardOpenSerialDao = MyCardOpenSerial_Core::instance();
     $this->cardIssueSerialDao = MyCardIssueSerial_Core::instance();
     $this->cardLogDao = MyCardLog_Core::instance();
     $this->selectMap = array();
     $this->selectMap['mgrNum'] = '卡号';
     $this->selectMap['serialCode'] = '卡系列编号';
     $this->selectMap['issueId'] = '卡发行号';
 }
Ejemplo n.º 3
0
 public function __construct()
 {
     parent::__construct();
     role::check('card_system_manage');
     $this->cardDao = MyCard_Core::instance();
     $this->cardTypeDao = MyCardType_Core::instance();
     $this->cardSerialDao = MyCardSerial_Core::instance();
     $this->cardLogDao = MyCardLog_Core::instance();
     $orderby_arr = array(0 => array('id' => 'DESC'), 1 => array('id' => 'ASC'), 2 => array('order' => 'ASC'), 3 => array('order' => 'DESC'));
     $orderby = controller_tool::orderby($orderby_arr);
     $query_struct = array('where' => array(), 'orderby' => $orderby);
     $tempList = $this->cardTypeDao->lists($query_struct);
     $this->cardTypeMap = array();
     $this->cardTypeMap[0] = '无';
     foreach ($tempList as $aCardType) {
         $this->cardTypeMap[$aCardType['id']] = $aCardType['name'];
     }
 }
Ejemplo n.º 4
0
 public function __construct()
 {
     parent::__construct();
     role::check('card_system_manage');
     $this->cardIssueSerialDao = MyCardIssueSerial_Core::instance();
     $this->salesChannelDao = MySalesChannel_Core::instance();
     $this->cardDao = MyCard_Core::instance();
     $this->issueBillDao = MyIssueBill_Core::instance();
     $this->issueBillDtlDao = MyIssueBillDtl_Core::instance();
     $this->cardLogDao = MyCardLog_Core::instance();
     $orderby_arr = array(0 => array('id' => 'DESC'), 1 => array('id' => 'ASC'), 2 => array('order' => 'ASC'), 3 => array('order' => 'DESC'));
     $orderby = controller_tool::orderby($orderby_arr);
     $query_struct = array('where' => array(), 'orderby' => $orderby);
     $query_struct['where']['flag'] = 2;
     $this->salesChanenlList = $this->salesChannelDao->lists($query_struct);
     $this->salesChannelMap = array();
     foreach ($this->salesChanenlList as $aChannel) {
         $this->salesChannelMap[$aChannel['id']] = $aChannel;
     }
 }