时间:2021-07-01 10:21:17 帮助过:23人阅读
include("../config.inc.php");
//医生排班列表开始
$strDoctorTime = "";
if( isset($_REQUEST['Action']) && !empty($_REQUEST['Action']) && ($_REQUEST['Action'] == "setdoctortime") ){
$sqlDoctorTime = "select sid,doctorid,CONVERT(varchar(100), starttime, 20) as starttime,CONVERT(varchar(100), endtime, 120) as endtime,duration,createtime,type,operid,status,visits_counts,original_counts,istrue from gst_scheduling where doctorid = '".$_REQUEST['doctorid']."' ";
//if ( (isset($_REQUEST['starttime']) && !empty($_REQUEST['starttime'])) && (isset($_REQUEST['endtime']) && !empty($_REQUEST['endtime'])) ) {
// $sqlDoctorTime .= " ";
//}
$sqlDoctorTime .= " order by sid desc";
$resDoctorTime = $SqlDB->Query($sqlDoctorTime);
$arrDoctorTime = $SqlDB->getRows($resDoctorTime);
for($i=0; $i$strSelectStatus = ""; //初始号源下拉值
$strSelectStatus = "