public static function nameTypeVerify($addNewNameType)
 {
     self::initDB();
     $reInfo = array();
     $sql = "select * from " . self::$table3 . " where typeName = '{$addNewNameType}'";
     $query = self::$dbConn->query($sql);
     if ($query) {
         $ret = self::$dbConn->fetch_array_all($query);
         if (empty($ret)) {
             $reInfo['reNum'] = "200";
             $reInfo['reStr'] = "此类型名称可以使用!";
         } else {
             if ($ret[0]['is_delete'] == 1) {
                 $reInfo['reNum'] = "400";
                 $reInfo['reStr'] = "此类型名称已存在,并已经被废弃,请重新启用!";
             } else {
                 $reInfo['reNum'] = "400";
                 $reInfo['reStr'] = "此类型名称已存在!请确认!";
             }
         }
         return $reInfo;
     } else {
         self::$errCode = "4444";
         self::$errMsg = "mysql:" . $sql . " error";
         return false;
     }
 }
 function act_enabledNameType()
 {
     $whereStr = "";
     $whereStr = " where id = " . trim($_POST['enabledId']);
     $listArr = NameTypeManageModel::enabledNameType($whereStr);
     if ($listArr['reNum'] == '200') {
         self::$errCode = $listArr['reNum'];
         self::$errMsg = $listArr['reStr'];
         return true;
     } else {
         self::$errCode = NameTypeManageModel::$errCode;
         self::$errMsg = NameTypeManageModel::$errMsg;
         return false;
     }
 }