Ejemplo n.º 1
0
 public function getIusNameForIdentifierAll(array $identifier)
 {
     $this->setWhere(array('identifier' => $identifier));
     $this->setFieldS('iusname,identifier');
     $this->setStype(4);
     $this->setKeyS('identifier');
     $this->setSotherKey('iusname');
     $ret = parent::show();
     $rets = array();
     foreach ($identifier as $v) {
         if (isset($ret[$v])) {
             $rets[$v] = $ret[$v] . "({$v})";
         } else {
             $rets[$v] = "系统未定义({$v})";
         }
     }
     return $rets;
 }
Ejemplo n.º 2
0
 public static function unWith()
 {
     self::$membersql = self::$oldWith['membersql'];
 }
Ejemplo n.º 3
0
 public function count($condition = '')
 {
     parent::getSql()->where($condition);
     parent::getSql()->setTable('member_count');
     return parent::getSql()->count();
 }