当前位置: 首页>>代码示例>>PHP>>正文


PHP Common::Start方法代码示例

本文整理汇总了PHP中Common::Start方法的典型用法代码示例。如果您正苦于以下问题:PHP Common::Start方法的具体用法?PHP Common::Start怎么用?PHP Common::Start使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Common的用法示例。


在下文中一共展示了Common::Start方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: K22Pr

 function K22Pr($iResult, $iKey)
 {
     $_OBJECT =& $this->APPObj;
     $_IMPORT =& $this->IMPORT;
     $mDMac = $iResult->GetField("f_wire_1411121421_P01", $iKey);
     //设备MAC
     $mVlan = $iResult->GetField("f_wire_1411121421_010", $iKey);
     //接入vlan
     $mUsrID = $this->MakeUsrID();
     //接入用户ID
     $mUsrNA = $mUsrID;
     //接入用户名称
     $mUsrPS = "123456";
     //接入用户密码
     //创建用户
     $uIf_AA = "{~}f_wire_1506031750_003{_}%%{_}" . $mDMac . "|" . $mVlan;
     $uDBase = Vic_Dir_Search("150603193303.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
     $uRs_AA = $_OBJECT["DB"]->GetSource(Common::$_UsrInf->Getvar("UsrWK"), 2, $uDBase, "*", $uIf_AA, "", null, 1);
     if ($_OBJECT["DB"]->RowsCT($uRs_AA->Resval) > 0) {
         $mUsrID = $uRs_AA->GetField("f_wire_1506031750_P01");
         $mUsrNA = $uRs_AA->GetField("f_wire_1506031750_011");
         $mUsrPS = $uRs_AA->GetField("f_wire_1506031750_002");
     } else {
         //查询区域信息
         $qIf_AA = "{~}f_wire_1411241716_P01{_}=={_}" . $iResult->GetField("f_wire_1411121421_013", $iKey);
         $qDBase = Vic_Dir_Search("141124085601.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
         $qRs_AA = $_OBJECT["DB"]->GetSource(Common::$_UsrInf->Getvar("UsrWK"), 2, $qDBase, "*", $qIf_AA, "", null, 1);
         if ($_OBJECT["DB"]->RowsCT($qRs_AA->Resval) > 0) {
             $uPrsVAL["f_wire_1506031750_P01"] = $mUsrID;
             //接入用户ID
             $uPrsVAL["f_wire_1506031750_E01"] = $qRs_AA->GetField("f_wire_1411241716_025");
             //用户分组
             $uPrsVAL["f_wire_1506031750_002"] = $mUsrPS;
             //登录密码
             $uPrsVAL["f_wire_1506031750_003"] = $mDMac . "|" . $mVlan;
             //设备MAC
             $uPrsVAL["f_wire_1506031750_004"] = 0;
             //启用状态
             $uPrsVAL["f_wire_1506031750_011"] = $mUsrNA;
             //接入用户名称
             $uPrsVAL["AreID"] = $iResult->GetField("f_wire_1411121421_013", $iKey);
             //区域编号
             $uPrsVAL["IM_PST"] = "1";
             $uPrsVAL["IM_HND"] = "20";
             $uPrsVAL["IM_Range"] = "f_wire_1506031750_000||0";
             Common::Start("150604142704", "", $uPrsVAL);
         } else {
             trigger_error("ER@验证出错!", NOTIC);
         }
     }
     //资料补全后操作
     $iResult->SetField("f_wire_1411121421_002", $mUsrID, $iKey);
     //用户编号
     $iResult->SetField("f_wire_1411121421_003", $mUsrNA, $iKey);
     //用户名称
     $iResult->SetField("f_wire_1411121421_008", "", $iKey);
     //清空唯一码
     $iResult->SetField("f_wire_1411121421_011", "2", $iKey);
     //认证模式
 }
开发者ID:tiantuikeji,项目名称:fy,代码行数:60,代码来源:150303103208.PHP

示例2: K20Pr

 function K20Pr($iResult, $iKey)
 {
     $_OBJECT =& $this->APPObj;
     $_IMPORT =& $this->IMPORT;
     $_RESULT =& $this->Result;
     $cRange = array();
     $cTouser = "";
     $sqlziduan = "";
     $content = $_RESULT->GetField('f_wxin_1412311123_006', $iKey);
     //发送的文本内容
     //按组发送
     if (isset($_IMPORT["IM_Range"]) && trim($_IMPORT["IM_Range"]) != "") {
         $mWhere = trim($_IMPORT["IM_Range"]);
         $cRange = explode("||", $mWhere);
         $mWhere = str_replace($cRange[1] . "&", "", $mWhere);
         $cRange = explode("&", $mWhere);
         $cField = "*";
         $cWhere = "{~}f_wxin_1501070920_E01{_}=={_}" . $cRange[2];
         $cUSafe = "4";
         $cUSort = "f_wxin_1501070920_002 asc";
         $cDWxin_V10C_150513 = Vic_Dir_Search("141231094201.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
         $cUsrWK = Common::$_UsrInf->Getvar("UsrWK");
         $_RESULT = $_OBJECT["DB"]->GetSource($cUsrWK, $cUSafe, $cDWxin_V10C_150513, $cField, $cWhere, $cUSort, NULL, -1);
         for ($i = 0; $i < $_OBJECT["DB"]->RowsCT($_RESULT->Resval); $i++) {
             $cTouser = "\"" . $_RESULT->GetField("f_wxin_1501070920_P01", $i) . "\"" . ($i == $_OBJECT["DB"]->RowsCT($_RESULT->Resval) - 1 ? "" : ",") . "";
             $sqlziduan .= $cTouser;
             //消息插入数据库
             $cPrsVAL["f_wxin_1412311123_002"] = $_IMPORT['APars'];
             //发送者
             $cPrsVAL["f_wxin_1412311123_003"] = $_RESULT->GetField("f_wxin_1501070920_P01", $i);
             //接收者
             $cPrsVAL["f_wxin_1412311123_005"] = "text";
             //消息类型
             $cPrsVAL["f_wxin_1412311123_004"] = date('Y-m-d H:i:s', time());
             //发送时间
             $cPrsVAL["f_wxin_1412311123_018"] = 1;
             //对话类型
             $cPrsVAL["f_wxin_1412311123_006"] = $content;
             //文本内容
             $cPrsVAL["f_wxin_1412311123_020"] = $_IMPORT['APars'];
             //公众号
             $cPrsVAL["f_wxin_1412311123_021"] = 0;
             //群发消息
             $cPrsVAL["f_wxin_1412311123_022"] = 1;
             //组消息
             $cPrsVAL["f_wxin_1412311123_023"] = $cRange[2];
             //归属组
             $cPrsVAL["f_wxin_1412311123_019"] = $_RESULT->GetField("f_wxin_1501070920_P01", $i);
             //消息归属人
             $cPrsVAL["IM_HND"] = "20";
             $cPrsVAL["IM_PST"] = "1";
             $cPrsVAL["IM_Range"] = "f_wxin_1412311123_000||0";
             Common::Start("141231094301", "", $cPrsVAL);
         }
     }
     $data = "{\n\t\t\t\t  \"touser\":[" . $sqlziduan . "],\n\t\t\t\t  \"msgtype\":\"text\",\n\t\t\t\t  \"text\":\n\t\t\t\t  {\n\t\t\t\t\t   \"content\":\"" . $content . "\"   \n\t\t\t\t  }\n\t\t\t\t}";
     $access_token = $this->getAccess_token($_IMPORT['APars']);
     $url = "https://api.weixin.qq.com/cgi-bin/message/mass/send?access_token=" . $access_token;
     $this->PostData($url, $data);
 }
开发者ID:tiantuikeji,项目名称:fy,代码行数:60,代码来源:141231094304.PHP

示例3: uploadnews

 function uploadnews($media_id, $APars, $cMange)
 {
     $_OBJECT =& $this->APPObj;
     //查询消息信息
     $cField = "*";
     $cWhere = "{~}f_wxin_1501211035_000{_}=={_}" . $cMange;
     $cUSafe = "4";
     $cUSort = "";
     $cDWxin_V10C_150513 = Vic_Dir_Search("150121114801.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
     $cUsrWK = Common::$_UsrInf->Getvar("UsrWK");
     $_RESULT = $_OBJECT["DB"]->GetSource($cUsrWK, $cUSafe, $cDWxin_V10C_150513, $cField, $cWhere, $cUSort, NULL, -1);
     if ($_OBJECT["DB"]->RowsCT($_RESULT->Resval) > 0) {
         $data = "{\"articles\": [\n\t\t {\n            \"thumb_media_id\":\"" . $media_id . "\",\n            \"author\":\"" . $_RESULT->GetField("f_wxin_1501211035_007", 0) . "\",\n\t\t\t \"title\":\"" . $_RESULT->GetField("f_wxin_1501211035_008", 0) . "\",\n\t\t\t \"content_source_url\":\"" . $_RESULT->GetField("f_wxin_1501211035_009", 0) . "\",\n\t\t\t \"content\":\"" . $_RESULT->GetField("f_wxin_1501211035_010", 0) . "\",\n\t\t\t\"digest\":\"" . $_RESULT->GetField("f_wxin_1501211035_011", 0) . "\",\n             \"show_cover_pic\":\"" . $_RESULT->GetField("f_wxin_1501211035_012", 0) . "\"\n\t\t }\n   ]\n}";
         $access_token = $this->getAccess_token($APars);
         $url = "https://api.weixin.qq.com/cgi-bin/media/uploadnews?access_token=" . $access_token;
         $result = $this->PostData($url, $data);
         $BackAy = json_decode($result, true);
         $cPrsVAL["f_wxin_1501211035_004"] = $BackAy["type"];
         //素材类型
         $cPrsVAL["f_wxin_1501211035_005"] = date('Y-m-d H:i:s', time());
         //上传时间
         $cPrsVAL["f_wxin_1501211035_006"] = $BackAy["media_id"];
         //图文标识
         $cPrsVAL["IM_HND"] = "22";
         $cPrsVAL["IM_PST"] = "1";
         $cPrsVAL["IM_Range"] = "f_wxin_1501211035_000||" . $cMange;
         Common::Start("150121114802", "", $cPrsVAL);
         exit;
     }
 }
开发者ID:tiantuikeji,项目名称:fy,代码行数:30,代码来源:150121114803.PHP

示例4: C12Pr

 function C12Pr()
 {
     $_OBJECT =& $this->APPObj;
     $_IMPORT =& $this->IMPORT;
     $_RESULT =& $this->Result;
     $iKey = 0;
     $cRange = parent::Begin();
     while ($iKey < sizeof($cRange)) {
         if ($_RESULT->GetField("f_wire_1506031750_000", $iKey) != 0) {
             //信号导入表主键
             $cPrsVAL["f_wire_1506031751_P01"] = $_RESULT->GetField("f_wire_1506031750_P01", $iKey);
             //用户编号
             $cPrsVAL["f_wire_1506031751_E01"] = $_RESULT->GetField("f_wire_1506031750_E01", $iKey);
             //从属组织
             $cPrsVAL["f_wire_1506031751_E02"] = $_RESULT->GetField("f_wire_1506031750_E02", $iKey);
             //组织路径
             $cPrsVAL["f_wire_1506031751_C01"] = $_RESULT->GetField("f_wire_1506031750_C01", $iKey);
             //名称路径
             $cPrsVAL["f_wire_1506031751_002"] = $_RESULT->GetField("f_wire_1506031750_002", $iKey);
             //用户密码
             $cPrsVAL["f_wire_1506031751_003"] = $_RESULT->GetField("f_wire_1506031750_011", $iKey);
             //用户名称
             $cPrsVAL["f_wire_1506031751_004"] = $_IMPORT["APars"];
             //区域编号
             $cPrsVAL["f_wire_1506031751_005"] = date('Y-m-d H:i:s', time());
             //导入时间
             $cPrsVAL["IM_HND"] = 20;
             $cPrsVAL["IM_PST"] = 1;
             $cPrsVAL["IM_Range"] = "f_wire_1506031751_000||0";
             Common::Start("150723110801", "", $cPrsVAL);
             $iKey++;
         }
     }
 }
开发者ID:tiantuikeji,项目名称:fy,代码行数:34,代码来源:150723110803.PHP

示例5: C20Pr

 function C20Pr()
 {
     $_IMPORT =& $this->IMPORT;
     //创建微信号系统自动创建接待大厅和取消关注组
     if ($_IMPORT['f_wxin_1412311029_010'] != "") {
         $cPrsVAL["f_wxin_1501071059_001"] = "接待大厅";
         //组名
         $cPrsVAL["f_wxin_1501071059_002"] = 0;
         //用户数量
         $cPrsVAL["f_wxin_1501071059_003"] = 1;
         //系统组
         $cPrsVAL["f_wxin_1501071059_E01"] = $_IMPORT['f_wxin_1412311029_010'];
         //公众号
         $cPrsVAL["IM_HND"] = "20";
         $cPrsVAL["IM_PST"] = "1";
         $cPrsVAL["IM_Range"] = "f_wxin_1501071059_000||0";
         $mPrsVAL["f_wxin_1501071059_001"] = "取消关注";
         //组名
         $mPrsVAL["f_wxin_1501071059_002"] = 0;
         //用户数量
         $mPrsVAL["f_wxin_1501071059_003"] = 1;
         //系统组
         $mPrsVAL["f_wxin_1501071059_E01"] = $_IMPORT['f_wxin_1412311029_010'];
         //公众号
         $mPrsVAL["IM_HND"] = "20";
         $mPrsVAL["IM_PST"] = "1";
         $mPrsVAL["IM_Range"] = "f_wxin_1501071059_000||0";
         Common::Start("141231094102", "", $cPrsVAL);
         Common::Start("141231094102", "", $mPrsVAL);
     }
     parent::C20Pr();
 }
开发者ID:tiantuikeji,项目名称:fy,代码行数:32,代码来源:141231094502.PHP

示例6: C12Pr

 function C12Pr()
 {
     $_OBJECT =& $this->APPObj;
     $_IMPORT =& $this->IMPORT;
     $_RESULT =& $this->Result;
     $iKey = 0;
     $cRange = parent::Begin();
     while ($iKey < sizeof($cRange)) {
         if ($_RESULT->GetField("f_wire_1507080936_000", $iKey) != 0) {
             //信号导入表主键
             $cPrsVAL["f_wire_1507151720_P01"] = $_RESULT->GetField("f_wire_1507080936_P01", $iKey);
             //广播编号
             $cPrsVAL["f_wire_1507151720_E02"] = $_RESULT->GetField("f_wire_1507080936_E02", $iKey);
             //设备编号
             $cPrsVAL["f_wire_1507151720_003"] = $_RESULT->GetField("f_wire_1507080936_003", $iKey);
             //广播名称
             $cPrsVAL["f_wire_1507151720_P01"] = $_RESULT->GetField("f_wire_1507080936_P01", $iKey);
             //广播编号
             $cPrsVAL["f_wire_1507151720_004"] = $_RESULT->GetField("f_wire_1507080936_004", $iKey);
             //广播vlan
             $cPrsVAL["f_wire_1507151720_006"] = $_IMPORT["APars"];
             //区域编号
             $cPrsVAL["f_wire_1507151720_007"] = date('Y-m-d H:i:s', time());
             //导入时间
             $cPrsVAL["IM_HND"] = 20;
             $cPrsVAL["IM_PST"] = 1;
             $cPrsVAL["IM_Range"] = "f_wire_1507151720_000||0";
             Common::Start("141124085701", "", $cPrsVAL);
             $iKey++;
         }
     }
 }
开发者ID:tiantuikeji,项目名称:fy,代码行数:32,代码来源:141124085703.PHP

示例7: K24Pr

 function K24Pr($iResult, $iKey)
 {
     $_OBJECT =& $this->APPObj;
     $_IMPORT =& $this->IMPORT;
     $_RESULT =& $this->Result;
     $cRange = array();
     $cString = array();
     if (isset($_IMPORT["IM_Range"]) && trim($_IMPORT["IM_Range"]) != "") {
         $mWhere = trim($_IMPORT["IM_Range"]);
         $cRange = explode("||", $mWhere);
         $mWhere = str_replace($cRange[0] . "&||", "", $mWhere);
         $cRange = explode("||", $mWhere);
         //查询系统默认组--接待大厅编号
         $cField = "*";
         $cWhere = "{~}f_wxin_1501071059_E01{_}=={_}" . $_IMPORT["APars"] . "{~}f_wxin_1501071059_001{_}=={_}接待大厅" . "{~}f_wxin_1501071059_003{_}=={_}1";
         $cUSafe = "4";
         $cUSort = "f_wxin_1501071059_000 asc";
         $cDWxin_V10C_150513 = Vic_Dir_Search("141231094101.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
         $cUsrWK = Common::$_UsrInf->Getvar("UsrWK");
         $_RESULT = $_OBJECT["DB"]->GetSource($cUsrWK, $cUSafe, $cDWxin_V10C_150513, $cField, $cWhere, $cUSort, NULL, -1);
         $cGroup = $_RESULT->GetField("f_wxin_1501071059_P01");
         for ($i = 1; $i < sizeof($cRange); $i++) {
             //查用户组
             $cField = "*";
             $cWhere = "{~}f_wxin_1501071059_P01{_}=={_}" . $cRange[$i];
             $cUSafe = "4";
             $cUSort = "";
             $cDWxin_V10C_150513 = Vic_Dir_Search("141231094101.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
             $cUsrWK = Common::$_UsrInf->Getvar("UsrWK");
             $_RESULT = $_OBJECT["DB"]->GetSource($cUsrWK, $cUSafe, $cDWxin_V10C_150513, $cField, $cWhere, $cUSort, NULL, -1);
             for ($Ci = 0; $Ci < sizeof($_RESULT->Resgrd); $Ci++) {
                 //查用户
                 $cField = "*";
                 $cWhere = "{~}f_wxin_1501070920_E01{_}=={_}" . $cRange[$i];
                 $cUSafe = "4";
                 $cUSort = "";
                 $cDWxin_V10C_150513 = Vic_Dir_Search("141231094201.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
                 $cUsrWK = Common::$_UsrInf->Getvar("UsrWK");
                 $_RESULT = $_OBJECT["DB"]->GetSource($cUsrWK, $cUSafe, $cDWxin_V10C_150513, $cField, $cWhere, $cUSort, NULL, -1);
                 for ($cI = 0; $cI < sizeof($_RESULT->Resgrd); $cI++) {
                     $cBianhao = $_RESULT->GetField("f_wxin_1501070920_000", $cI);
                     $cParent = $_RESULT->GetField("f_wxin_1501070920_E01", $cI);
                     $cPrsVAL["f_wxin_1501070920_E01"] = $cGroup;
                     //组别
                     $cPrsVAL["IM_HND"] = "22";
                     $cPrsVAL["IM_PST"] = "1";
                     $cPrsVAL["IM_Range"] = "f_wxin_1501070920_000||" . $cBianhao;
                     Common::Start("141231094202", "", $cPrsVAL);
                 }
                 $cGroup = $_RESULT->GetField("f_wxin_1501071059_000", $Ci);
                 $cPrsVAL["IM_HND"] = "24";
                 $cPrsVAL["IM_PST"] = "1";
                 $cPrsVAL["IM_Range"] = "f_wxin_1501071059_000||" . $cGroup;
                 Common::Start("141231094101", "", $cPrsVAL);
             }
         }
     }
 }
开发者ID:tiantuikeji,项目名称:fy,代码行数:58,代码来源:141231094102.PHP

示例8: K24Pr

 function K24Pr($iResult, $iKey)
 {
     $_OBJECT =& $this->APPObj;
     $_IMPORT =& $this->IMPORT;
     $cPrsVAL["IM_HND"] = 24;
     $cPrsVAL["IM_PST"] = 1;
     $cPrsVAL["IM_Range"] = "f_wire_1411241715_E15||" . $iResult->GetField("f_wire_1411241716_000", $iKey);
     Common::Start("141124085701", "", $cPrsVAL);
 }
开发者ID:tiantuikeji,项目名称:fy,代码行数:9,代码来源:141124085601.PHP

示例9: K24Pr

 function K24Pr($iResult, $iKey)
 {
     $_OBJECT =& $this->APPObj;
     $_IMPORT =& $this->IMPORT;
     //同步删除导入表
     $cPrsVAL["IM_HND"] = 24;
     $cPrsVAL["IM_PST"] = 1;
     $cPrsVAL["IM_Range"] = "f_wire_1507151720_P01||" . $iResult->GetField("f_wire_1507080936_P01");
     Common::Start("141124085701", "", $cPrsVAL);
 }
开发者ID:tiantuikeji,项目名称:fy,代码行数:10,代码来源:150605064303.PHP

示例10: K24Pr

 function K24Pr($iResult, $iKey)
 {
     $_OBJECT =& $this->APPObj;
     $_IMPORT =& $this->IMPORT;
     //同步删除导入表
     $cPrsVAL["IM_HND"] = 24;
     $cPrsVAL["IM_PST"] = 1;
     $cPrsVAL["IM_Range"] = "f_wire_1506031751_P01||" . $iResult->GetField("f_wire_1506031750_P01");
     $cPrsVAL["IM_Where"] = "{~}f_wire_1506031751_E01{_}=={_}" . $iResult->GetField("f_wire_1506031750_E01");
     Common::Start("150723110801", "", $cPrsVAL);
 }
开发者ID:tiantuikeji,项目名称:fy,代码行数:11,代码来源:150604142704.PHP

示例11: K24Pr

 function K24Pr($iResult, $iKey)
 {
     $_OBJECT =& $this->APPObj;
     $_IMPORT =& $this->IMPORT;
     $uPrsVAL["f_wire_1506031750_003"] = "";
     $uPrsVAL["IM_PST"] = "1";
     $uPrsVAL["IM_HND"] = "22";
     $uPrsVAL["IM_Range"] = "f_wire_1506031750_P01||" . $iResult->GetField("f_wire_1411121421_002", $iKey);
     $uPrsVAL["UserMac"] = $iResult->GetField("f_wire_1411121421_P01", $iKey) . "|" . $iResult->GetField("f_wire_1411121421_010", $iKey);
     Common::Start("150605101704", "", $uPrsVAL);
 }
开发者ID:tiantuikeji,项目名称:fy,代码行数:11,代码来源:150303103207.PHP

示例12: alipay_status_up

function alipay_status_up($appid)
{
    if (!empty($appid)) {
        $_OBJECT =& $this->APPObj;
        $_IMPORT =& $this->IMPORT;
        $_RESULT =& $this->Result;
        $cPrsVAL["f_alipay_1510161710_002"] = "1";
        $cPrsVAL["IM_HND"] = "22";
        $cPrsVAL["IM_PST"] = "1";
        $cPrsVAL["IM_Range"] = "f_alipay_1510161710_004||" . $appid;
        Common::Start("151028165001", "", $cPrsVAL);
    }
}
开发者ID:tiantuikeji,项目名称:fy,代码行数:13,代码来源:common.php

示例13: C28Pr

 function C28Pr()
 {
     $_OBJECT =& $this->APPObj;
     $_IMPORT =& $this->IMPORT;
     $eList = array();
     $nList = array();
     //去掉头元素
     $iList = explode("||", $_IMPORT["APars"]);
     array_shift($iList);
     //检查数据是否存在
     $rWhere = "{~}f_wire_1507080936_004{_}=={_}" . $_IMPORT["f_wire_1507080936_004"] . "{~}f_wire_1507080936_E02{_}=={_}" . implode("||", $iList);
     $rDBase = Vic_Dir_Search("150605064303.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
     $rUsrWK = Common::$_UsrInf->Getvar("UsrWK");
     $rRs_AA = $_OBJECT["DB"]->GetSource($rUsrWK, 4, $rDBase, "*", $rWhere, NULL, NULL, -1);
     if ($_OBJECT["DB"]->RowsCT($rRs_AA->Resval) > 0) {
         foreach ($rRs_AA->Resgrd as $key => $val) {
             $eList[] = $val["f_wire_1507080936_E02"];
         }
     }
     $nList = array_diff($iList, $eList);
     //广播信息批量增加
     if ($_IMPORT["BPars"] == "I") {
         foreach ($nList as $key => $val) {
             $rPrsVAL["f_wire_1507080936_E02"] = $val;
             $rPrsVAL["f_wire_1507080936_003"] = $_IMPORT["f_wire_1507080936_003"];
             $rPrsVAL["f_wire_1507080936_004"] = $_IMPORT["f_wire_1507080936_004"];
             $rPrsVAL["IM_PST"] = "1";
             $rPrsVAL["IM_HND"] = 20;
             $rPrsVAL["IM_Range"] = "f_wire_1507080936_000||0";
             Common::Start("150605064304", "", $rPrsVAL);
         }
     }
     //广播信息批量编辑
     if ($_IMPORT["BPars"] == "U" && count($eList) > 0) {
         $rPrsVAL["f_wire_1507080936_003"] = $_IMPORT["f_wire_1507080936_003_NEW"];
         $rPrsVAL["f_wire_1507080936_004"] = $_IMPORT["f_wire_1507080936_004_NEW"];
         $rPrsVAL["IM_PST"] = "1";
         $rPrsVAL["IM_HND"] = 22;
         $rPrsVAL["IM_Range"] = "f_wire_1507080936_E02||" . implode("||", $eList);
         $rPrsVAL["IM_Where"] = "{~}f_wire_1507080936_004{_}=={_}" . $_IMPORT["f_wire_1507080936_004"];
         Common::Start("150605064304", "", $rPrsVAL);
     }
     //广播信息批量删除
     if ($_IMPORT["BPars"] == "D" && count($eList) > 0) {
         $rPrsVAL["IM_PST"] = "1";
         $rPrsVAL["IM_HND"] = 24;
         $rPrsVAL["IM_Range"] = "f_wire_1507080936_E02||" . implode("||", $eList);
         $rPrsVAL["IM_Where"] = "{~}f_wire_1507080936_004{_}=={_}" . $_IMPORT["f_wire_1507080936_004"];
         Common::Start("150605064303", "", $rPrsVAL);
     }
 }
开发者ID:tiantuikeji,项目名称:fy,代码行数:51,代码来源:150714150105.PHP

示例14: K20Pr

 function K20Pr($iResult, $iKey)
 {
     $_OBJECT =& $this->APPObj;
     $_IMPORT =& $this->IMPORT;
     //查询分组信息
     $cIf_AA = "{~}f_wire_1507142038_P01{_}=={_}" . $_IMPORT["f_wire_1506031750_E01"];
     $cDBase = Vic_Dir_Search("150715094602.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
     $cRs_AA = $_OBJECT["DB"]->GetSource(Common::$_UsrInf->Getvar("UsrWK"), 4, $cDBase, "*", $cIf_AA, null, null, 1);
     if ($_OBJECT["DB"]->RowsCT($cRs_AA->Resval) > 0) {
         $iResult->SetField("f_wire_1506031750_E01", $cRs_AA->GetField("f_wire_1507142038_P01"), $iKey);
         $iResult->SetField("f_wire_1506031750_E02", $cRs_AA->GetField("f_wire_1507142038_002"), $iKey);
         $iResult->SetField("f_wire_1506031750_C01", $cRs_AA->GetField("f_wire_1507142038_004"), $iKey);
         //用户导入相应区域:Begin//
         if (isset($_IMPORT["AreID"]) && $_IMPORT["AreID"]) {
             $cPrsVAL["f_wire_1506031751_P01"] = $_IMPORT["f_wire_1506031750_P01"];
             //用户编号
             $cPrsVAL["f_wire_1506031751_E01"] = $cRs_AA->GetField("f_wire_1507142038_P01");
             //从属组织
             $cPrsVAL["f_wire_1506031751_E02"] = $cRs_AA->GetField("f_wire_1507142038_002");
             //组织路径
             $cPrsVAL["f_wire_1506031751_C01"] = $cRs_AA->GetField("f_wire_1507142038_004");
             //名称路径
             $cPrsVAL["f_wire_1506031751_002"] = $_IMPORT["f_wire_1506031750_002"];
             //用户密码
             $cPrsVAL["f_wire_1506031751_003"] = $_IMPORT["f_wire_1506031750_011"];
             //用户名称
             $cPrsVAL["f_wire_1506031751_004"] = $_IMPORT["AreID"];
             //区域编号
             $cPrsVAL["f_wire_1506031751_005"] = date('Y-m-d H:i:s', time());
             //导入时间
             $cPrsVAL["IM_HND"] = 20;
             $cPrsVAL["IM_PST"] = 1;
             $cPrsVAL["IM_Range"] = "f_wire_1506031751_000||0";
             Common::Start("150802150705", "", $cPrsVAL);
         }
         //用户导入相应区域:End/
         //分组属性分拆
         if ($cRs_AA->GetField("f_wire_1507142038_007")) {
             $GouPro = explode(",", $cRs_AA->GetField("f_wire_1507142038_007"));
             foreach ($GouPro as $Key => $Val) {
                 $SendPrams[Common::FindFL("=", 0, $Val)] = Common::FindFL("=", 1, $Val);
             }
         }
     }
     $SendPrams["revealUsername"] = $_IMPORT["f_wire_1506031750_P01"];
     //登录帐号
     $SendPrams["password"] = $_IMPORT["f_wire_1506031750_002"];
     //登录密码
     $_OBJECT["SP"]->Sureface('INC-141127-004_0004/Add', $BackJSN, $SendPrams);
     //联动AP增加用户
 }
开发者ID:tiantuikeji,项目名称:fy,代码行数:51,代码来源:150605101704.PHP

示例15: C20Pr

 function C20Pr()
 {
     $_OBJECT =& $this->APPObj;
     $_IMPORT =& $this->IMPORT;
     $_RESULT =& $this->Result;
     $cRange = array();
     if (isset($_IMPORT["IM_Range"]) && trim($_IMPORT["IM_Range"]) != "") {
         $mWhere = trim($_IMPORT["IM_Range"]);
         $cRange = explode("&", $mWhere);
         $zRange = explode("=", $cRange[0]);
         $bRange = explode("=", $cRange[1]);
     }
     $cPrsVAL["f_wxin_1501070920_E01"] = $zRange[1];
     //组别
     $cPrsVAL["IM_HND"] = "22";
     $cPrsVAL["IM_PST"] = "1";
     $cPrsVAL["IM_Range"] = "f_wxin_1501070920_000||" . $bRange[1];
     Common::Start("141231094202", "", $cPrsVAL);
 }
开发者ID:tiantuikeji,项目名称:fy,代码行数:19,代码来源:141231094204.PHP


注:本文中的Common::Start方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。