restore.php

来自「通达OA2007SE源代码 非常好的」· PHP 代码 · 共 20 行

PHP
20
字号
<?
  include_once 'inc/auth.php';
  include_once 'inc/utility_all.php';
  include_once '../prcs_role.php';
  if (!run_role ($RUN_ID, 1))
  {
    continue;
  }
  $query = ((''.'SELECT MAX(PRCS_ID) from FLOW_RUN_PRCS WHERE RUN_ID=').$RUN_ID);
  $PRCS_MAX = 0;
  $cursor = exequery ($connection, $query);
  if ($ROW = mysql_fetch_array ($cursor))
  {
    $PRCS_MAX = $ROW[0];
  }
  $query = (((((''.'update FLOW_RUN_PRCS set PRCS_FLAG=\'2\' where RUN_ID=').$RUN_ID).' and PRCS_ID=').$PRCS_MAX).' and OP_FLAG=\'1\'');
  exequery ($connection, $query);
  header (((''.'location: query.php?FLOW_ID=').$FLOW_ID));
?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?