本文整理汇总了C#中HyoaClass.Hyoa_global.MoveOneString_dh方法的典型用法代码示例。如果您正苦于以下问题:C# HyoaClass.Hyoa_global.MoveOneString_dh方法的具体用法?C# HyoaClass.Hyoa_global.MoveOneString_dh怎么用?C# HyoaClass.Hyoa_global.MoveOneString_dh使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类HyoaClass.Hyoa_global
的用法示例。
在下文中一共展示了HyoaClass.Hyoa_global.MoveOneString_dh方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Button_Save_Click
//.........这里部分代码省略.........
string[] lv_dbrname = this.txtnextclrname.Value.Split(new Char[] { ',' });
for (var i = 0; i < lv_dbrid.Length; i++)
{
if (lv_dbrid[i].ToString() != "")
{
//得到接收人手机号
string cb_jsrsjh = Hyoa_user.GetMobilebyuserid(lv_dbrid[i].ToString());
HyoaClass.Hyoa_global Hyoa_global2 = new HyoaClass.Hyoa_global();
//给退回到的处理人发送一个新的待办事宜(提醒)
Hyoa_global2.Senddbsy_global(this.txtdocid.Value, lv_dbrid[i].ToString(), lv_dbrname[i].ToString(), this.Session["hyuid"].ToString(), this.Session["hyuname"].ToString(), "main.aspx?op=modify&mid=" + this.hy_mudelid.Text + "&tableid=" + this.hy_tableid.Text + "&docid=" + this.txtdocid.Value + "&pop=1", "待办", this.hy_mudelid.Text, "待办箱", "一般", this.hy_bt.Text, "请办理", 0, this.hy_flowid.Text, this.txtnexttacheid.Value, this.hy_tableid.Text);
//给退回到的处理人发送即时消息(提醒)
if (this.txtisSendjstx.Value == "1")
{
Hyoa_global.Sendjstx_global(this.txtdocid.Value, this.Session["hyuid"].ToString(), this.Session["hyuname"].ToString(), lv_dbrid[i].ToString(), lv_dbrname[i].ToString(), this.hy_mudelid.Text, this.hy_bt.Text, 0, this.hy_tableid.Text);
}
//给退回到的处理人发送短信(提醒)
if (this.txtisSendsms.Value == "1")
{
Hyoa_global.Sendsms_global(this.txtdocid.Value, this.Session["hyuid"].ToString(), this.Session["hyuname"].ToString(), cb_fsrsjh, lv_dbrid[i].ToString(), lv_dbrname[i].ToString(), cb_jsrsjh, this.hy_mudelid.Text, this.hy_bt.Text, 1, "", "", 0, this.hy_tableid.Text);
}
}
}
ls_tip = "已成功退回到[" + this.txtnexttachename.Value + "]环节";
sql += hylcthtscl();//特殊处理
}
#endregion
#region 多人处理
if (this.txtwhichoperation.Value == "5")
{
//更新主文档
string ls_newclrid = Hyoa_global.MoveOneString_dh(this.hy_curclrid.Text, this.Session["hyuid"].ToString());
string ls_newclrname = Hyoa_global.MoveOneString_dh(this.hy_curclrname.Text, this.Session["hyuname"].ToString());
sql += ",hy_curclrid='" + ls_newclrid + "'";
sql += ",hy_curclrname='" + ls_newclrname + "'";
//处理当前记录
HyoaClass.Hyoa_flowhistoryinfo_cl Hyoa_flowhistoryinfo_cl = new HyoaClass.Hyoa_flowhistoryinfo_cl();
DataTable dt_clinfo = new DataTable();
dt_clinfo = Hyoa_flowhistoryinfo_cl.Getflowhistoryinfo_clsbydocid(this.txtdocid.Value);
if (dt_clinfo.Rows.Count > 0)
{
string ls_curcldoc = dt_clinfo.Rows[0]["ID"].ToString(); //当前处理的记录ID
string ls_clsj = ""; //当前处理的记录处理时间
if (dt_clinfo.Rows[0]["hy_clsj"].ToString() == "")
ls_clsj = System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
else
ls_clsj = dt_clinfo.Rows[0]["hy_clsj"].ToString() + "," + System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
dt_clinfo.Clear();
Hyoa_flowhistoryinfo_cl.ID = ls_curcldoc;
Hyoa_flowhistoryinfo_cl.hy_clsj = ls_clsj;
Hyoa_flowhistoryinfo_cl.Update();
}
//处理待办事宜
//转已办-当前处理人的待办事宜
HyoaClass.Hyoa_dbsy Hyoa_dbsy = new HyoaClass.Hyoa_dbsy();
Hyoa_dbsy.Dbsytoybbydociduserid(this.txtdocid.Value, this.Session["hyuid"].ToString());
ls_tip = "提交成功,当前环节还需要[" + ls_newclrname + "]进行办理";
sql += hylcdrcltscl();//特殊处理
}
#endregion
#region 催办
if (this.txtwhichoperation.Value == "6")
示例2: Button_Save_Click
//.........这里部分代码省略.........
for (var i = 0; i < lv_dbrid.Length; i++)
{
if (lv_dbrid[i].ToString() != "")
{
//得到接收人手机号
string cb_jsrsjh = Hyoa_user.GetMobilebyuserid(lv_dbrid[i].ToString());
HyoaClass.Hyoa_global Hyoa_global2 = new HyoaClass.Hyoa_global();
//给退回到的处理人发送一个新的待办事宜(提醒)
Hyoa_global2.Senddbsy_global(this.txtdocid.Value, lv_dbrid[i].ToString(), lv_dbrname[i].ToString(), this.Session["hyuid"].ToString(), this.Session["hyuname"].ToString(), "/main.aspx?op=modify&mid=" + this.hy_mudelid.Text + "&tableid=" + this.hy_tableid.Text + "&docid=" + this.txtdocid.Value + "&pop=1", "待办", this.hy_mudelid.Text, "待办箱", "一般", this.hy_bt.Text, "请办理", 0, this.hy_flowid.Text, this.txtnexttacheid.Value);
//给退回到的处理人发送即时消息(提醒)
if (this.txtisSendjstx.Value == "1")
{
Hyoa_global.Sendjstx_global(this.txtdocid.Value, this.Session["hyuid"].ToString(), this.Session["hyuname"].ToString(), lv_dbrid[i].ToString(), lv_dbrname[i].ToString(), this.hy_mudelid.Text, this.hy_bt.Text, 0);
}
//给退回到的处理人发送短信(提醒)
if (this.txtisSendsms.Value == "1")
{
Hyoa_global.Sendsms_global(this.txtdocid.Value, this.Session["hyuid"].ToString(), this.Session["hyuname"].ToString(), cb_fsrsjh, lv_dbrid[i].ToString(), lv_dbrname[i].ToString(), cb_jsrsjh, this.hy_mudelid.Text, this.hy_bt.Text, 1, "", "", 0);
}
}
}
//绩效考核写日志 add by wjs at 20150603
hyXnxtFlowLogs("从" + this.hy_curtachename.Text + "环节退回到" + this.txtnexttachename.Value + "", "退回");
ls_tip = "已成功退回到[" + this.txtnexttachename.Value + "]环节";
hylcthtscl(Hyoa_flowmain);//特殊处理
}
//多人处理
if (this.txtwhichoperation.Value == "5")
{
//更新主文档
HyoaClass.Hyoa_global Hyoa_global = new HyoaClass.Hyoa_global();
string ls_newclrid = Hyoa_global.MoveOneString_dh(this.hy_curclrid.Text, this.Session["hyuid"].ToString());
string ls_newclrname = Hyoa_global.MoveOneString_dh(this.hy_curclrname.Text, this.Session["hyuname"].ToString());
Hyoa_flowmain.hy_curclrid = ls_newclrid;
Hyoa_flowmain.hy_curclrname = ls_newclrname;
//处理处理记录
HyoaClass.Hyoa_flowhistoryinfo_cl Hyoa_flowhistoryinfo_cl = new HyoaClass.Hyoa_flowhistoryinfo_cl();
DataTable dt_clinfo = Hyoa_flowhistoryinfo_cl.Getflowhistoryinfo_clsbydocid(this.txtdocid.Value);
if (dt_clinfo.Rows.Count > 0)
{
string ls_curcldoc = dt_clinfo.Rows[0]["ID"].ToString(); //当前处理的记录ID
string ls_clsj = ""; //当前处理的记录处理时间
if (dt_clinfo.Rows[0]["hy_clsj"].ToString() == "")
ls_clsj = System.DateTime.Now.ToString();
else
ls_clsj = dt_clinfo.Rows[0]["hy_clsj"].ToString() + "," + System.DateTime.Now.ToString();
dt_clinfo.Clear();
Hyoa_flowhistoryinfo_cl.ID = ls_curcldoc;
Hyoa_flowhistoryinfo_cl.hy_clsj = ls_clsj;
Hyoa_flowhistoryinfo_cl.Update();
//办公效率智能分析添加 add by wjs at 20150603
hyXnxtFlowLogs("从" + this.hy_curtachename.Text + "环节提交到" + this.txtnexttachename.Value + "环节", "提交");
}
//处理待办事宜
//转已办-当前处理人的待办事宜
HyoaClass.Hyoa_dbsy Hyoa_dbsy = new HyoaClass.Hyoa_dbsy();
Hyoa_dbsy.Dbsytoybbydociduserid(this.txtdocid.Value, this.Session["hyuid"].ToString());
ls_tip = "提交成功,当前环节还需要[" + ls_newclrname + "]进行办理";
hylcdrcltscl(Hyoa_flowmain);//特殊处理
}
//催办
示例3: Button_Save_Click
//.........这里部分代码省略.........
string[] lv_dbrid = this.txtnextclrid.Value.Split(new Char[] { ',' });
string[] lv_dbrname = this.txtnextclrname.Value.Split(new Char[] { ',' });
for (var i = 0; i < lv_dbrid.Length; i++)
{
if (lv_dbrid[i].ToString() != "")
{
//得到接收人手机号
string cb_jsrsjh = Hyoa_user.GetMobilebyuserid(lv_dbrid[i].ToString());
HyoaClass.Hyoa_global Hyoa_global2 = new HyoaClass.Hyoa_global();
//给退回到的处理人发送一个新的待办事宜(提醒)
Hyoa_global2.Senddbsy_global(this.txtdocid.Value, lv_dbrid[i].ToString(), lv_dbrname[i].ToString(), this.Session["hyuid"].ToString(), this.Session["hyuname"].ToString(), "main.aspx?op=modify&mid=" + this.hy_mudelid.Text + "&tableid=" + this.hy_tableid.Text + "&docid=" + this.txtdocid.Value + "&pop=1", "待办", this.hy_mudelid.Text, "待办箱", "一般", this.hy_bt.Text, "请办理", 0, this.hy_flowid.Text, this.txtnexttacheid.Value, this.hy_tableid.Text);
//给退回到的处理人发送即时消息(提醒)
if (this.txtisSendjstx.Value == "1")
{
Hyoa_global.Sendjstx_global(this.txtdocid.Value, this.Session["hyuid"].ToString(), this.Session["hyuname"].ToString(), lv_dbrid[i].ToString(), lv_dbrname[i].ToString(), this.hy_mudelid.Text, this.hy_bt.Text, 0, this.hy_tableid.Text);
}
//给退回到的处理人发送短信(提醒)
if (this.txtisSendsms.Value == "1")
{
Hyoa_global.Sendsms_global(this.txtdocid.Value, this.Session["hyuid"].ToString(), this.Session["hyuname"].ToString(), cb_fsrsjh, lv_dbrid[i].ToString(), lv_dbrname[i].ToString(), cb_jsrsjh, this.hy_mudelid.Text, this.hy_bt.Text, 1, "", "", 0, this.hy_tableid.Text);
}
}
}
ls_tip = "已成功退回到[" + this.txtnexttachename.Value + "]环节";
hylcthtscl(sql);//特殊处理
}
//多人处理
if (this.txtwhichoperation.Value == "5")
{
//更新主文档
string ls_newclrid = Hyoa_global.MoveOneString_dh(this.hy_curclrid.Text, this.Session["hyuid"].ToString());
string ls_newclrname = Hyoa_global.MoveOneString_dh(this.hy_curclrname.Text, this.Session["hyuname"].ToString());
sql += ",hy_curclrid='" + ls_newclrid + "'";
sql += ",hy_curclrname='" + ls_newclrname + "'";
//处理处理记录
HyoaClass.Hyoa_flowhistoryinfo_cl Hyoa_flowhistoryinfo_cl = new HyoaClass.Hyoa_flowhistoryinfo_cl();
DataTable dt_clinfo = Hyoa_flowhistoryinfo_cl.Getflowhistoryinfo_clsbydocid(this.txtdocid.Value);
if (dt_clinfo.Rows.Count > 0)
{
string ls_curcldoc = dt_clinfo.Rows[0]["ID"].ToString(); //当前处理的记录ID
string ls_clsj = ""; //当前处理的记录处理时间
if (dt_clinfo.Rows[0]["hy_clsj"].ToString() == "")
ls_clsj = System.DateTime.Now.ToString();
else
ls_clsj = dt_clinfo.Rows[0]["hy_clsj"].ToString() + "," + System.DateTime.Now.ToString();
dt_clinfo.Clear();
Hyoa_flowhistoryinfo_cl.ID = ls_curcldoc;
Hyoa_flowhistoryinfo_cl.hy_clsj = ls_clsj;
Hyoa_flowhistoryinfo_cl.Update();
}
//处理待办事宜
//转已办-当前处理人的待办事宜
HyoaClass.Hyoa_dbsy Hyoa_dbsy = new HyoaClass.Hyoa_dbsy();
Hyoa_dbsy.Dbsytoybbydociduserid(this.txtdocid.Value, this.Session["hyuid"].ToString());
ls_tip = "提交成功,当前环节还需要[" + ls_newclrname + "]进行办理";
hylcdrcltscl(sql);//特殊处理
}
//催办
if (this.txtwhichoperation.Value == "6")
{
示例4: Button_Save_Click
//.........这里部分代码省略.........
string[] lv_dbrid = this.txtnextclrid.Value.Split(new Char[] { ',' });
string[] lv_dbrname = this.txtnextclrname.Value.Split(new Char[] { ',' });
for (var i = 0; i < lv_dbrid.Length; i++)
{
if (lv_dbrid[i].ToString() != "")
{
//得到接收人手机号
string cb_jsrsjh = Hyoa_user.GetMobilebyuserid(lv_dbrid[i].ToString());
HyoaClass.Hyoa_global Hyoa_global2 = new HyoaClass.Hyoa_global();
//给退回到的处理人发送一个新的待办事宜(提醒)
Hyoa_global2.Senddbsy_global(this.txtdocid.Value, lv_dbrid[i].ToString(), lv_dbrname[i].ToString(), this.Session["hyuid"].ToString(), this.Session["hyuname"].ToString(), "zwdc/main.aspx?op=modify&mid=" + this.hy_mudelid.Text + "&tableid=" + this.hy_tableid.Text + "&docid=" + this.txtdocid.Value + "&pop=1", "待办", this.hy_mudelid.Text, "待办箱", "一般", this.hy_bt.Text, "请办理", 0, this.hy_flowid.Text, this.txtnexttacheid.Value, this.hy_tableid.Text);
//给退回到的处理人发送即时消息(提醒)
if (this.txtisSendjstx.Value == "1")
{
Hyoa_global.Sendjstx_global(this.txtdocid.Value, this.Session["hyuid"].ToString(), this.Session["hyuname"].ToString(), lv_dbrid[i].ToString(), lv_dbrname[i].ToString(), this.hy_mudelid.Text, ls_sendbt, 0, this.hy_tableid.Text);
}
//给退回到的处理人发送短信(提醒)
if (this.txtisSendsms.Value == "1")
{
Hyoa_global.Sendsms_global(this.txtdocid.Value, this.Session["hyuid"].ToString(), this.Session["hyuname"].ToString(), cb_fsrsjh, lv_dbrid[i].ToString(), lv_dbrname[i].ToString(), cb_jsrsjh, this.hy_mudelid.Text, ls_sendbt, 1, "", "", 0, this.hy_tableid.Text);
}
}
}
ls_tip = "已成功退回到[" + this.txtnexttachename.Value + "]环节";
hylcthtscl();//特殊处理
}
//多人处理
if (this.txtwhichoperation.Value == "5")
{
//更新主文档
//HyoaClass.Hyoa_global Hyoa_global = new HyoaClass.Hyoa_global();
string ls_newclrid = Hyoa_global.MoveOneString_dh(this.hy_curclrid.Text, this.Session["hyuid"].ToString());
string ls_newclrname = Hyoa_global.MoveOneString_dh(this.hy_curclrname.Text, this.Session["hyuname"].ToString());
lssqlupdate1 = "update hyc_" + this.hy_tableid.Text + " set hy_curclrid='" + ls_newclrid + "'";
lssqlupdate1 += ",hy_curclrname='" + ls_newclrname + "'";
lssqlupdate1 += " where DOCID='" + this.txtdocid.Value + "'";
Hyoa_global.ExcuteSQL(lssqlupdate1);
//Hyoa_flowmain.hy_curclrid = ls_newclrid;
//Hyoa_flowmain.hy_curclrname = ls_newclrname;
//处理处理记录
HyoaClass.Hyoa_flowhistoryinfo_cl Hyoa_flowhistoryinfo_cl = new HyoaClass.Hyoa_flowhistoryinfo_cl();
DataTable dt_clinfo = Hyoa_flowhistoryinfo_cl.Getflowhistoryinfo_clsbydocid(this.txtdocid.Value);
if (dt_clinfo.Rows.Count > 0)
{
string ls_curcldoc = dt_clinfo.Rows[0]["ID"].ToString(); //当前处理的记录ID
string ls_clsj = ""; //当前处理的记录处理时间
if (dt_clinfo.Rows[0]["hy_clsj"].ToString() == "")
ls_clsj = System.DateTime.Now.ToString();
else
ls_clsj = dt_clinfo.Rows[0]["hy_clsj"].ToString() + "," + System.DateTime.Now.ToString();
dt_clinfo.Clear();
Hyoa_flowhistoryinfo_cl.ID = ls_curcldoc;
Hyoa_flowhistoryinfo_cl.hy_clsj = ls_clsj;
Hyoa_flowhistoryinfo_cl.Update();
}
//处理待办事宜
//转已办-当前处理人的待办事宜
HyoaClass.Hyoa_dbsy Hyoa_dbsy = new HyoaClass.Hyoa_dbsy();
Hyoa_dbsy.Dbsytoybbydociduserid(this.txtdocid.Value, this.Session["hyuid"].ToString());
ls_tip = "提交成功,当前环节还需要[" + ls_newclrname + "]进行办理";
hylcdrcltscl();//特殊处理
示例5: DataPlay
//.........这里部分代码省略.........
string[] lv_dbrid = Request.Form["txtnextclrid"].ToString().Split(new Char[] { ',' });
string[] lv_dbrname = Request.Form["txtnextclrname"].ToString().Split(new Char[] { ',' });
for (var i = 0; i < lv_dbrid.Length; i++)
{
if (lv_dbrid[i].ToString() != "")
{
//得到接收人手机号
string cb_jsrsjh = Hyoa_user.GetMobilebyuserid(lv_dbrid[i].ToString());
HyoaClass.Hyoa_global Hyoa_global2 = new HyoaClass.Hyoa_global();
//给退回到的处理人发送一个新的待办事宜(提醒)
Hyoa_global2.Senddbsy_global(Request.Form["txtdocid"].ToString(), lv_dbrid[i].ToString(), lv_dbrname[i].ToString(), this.Session["hyuid"].ToString(), this.Session["hyuname"].ToString(), "main.aspx?op=modify&mid=" + Request.Form["hy_mudelid"].ToString() + "&tableid=" + Request.Form["hy_tableid"].ToString() + "&docid=" + Request.Form["txtdocid"].ToString() + "&pop=1", "待办", Request.Form["hy_mudelid"].ToString(), "待办箱", "一般", Request.Form["hy_bt"].ToString(), "请办理", 0, Request.Form["hy_flowid"].ToString(), Request.Form["txtnexttacheid"].ToString(), Request.Form["hy_tableid"].ToString());
//给退回到的处理人发送即时消息(提醒)
if (Request.Form["txtisSendjstx"].ToString() == "1")
{
Hyoa_global.Sendjstx_global(Request.Form["txtdocid"].ToString(), this.Session["hyuid"].ToString(), this.Session["hyuname"].ToString(), lv_dbrid[i].ToString(), lv_dbrname[i].ToString(), Request.Form["hy_mudelid"].ToString(), Request.Form["hy_bt"].ToString(), 0, Request.Form["hy_tableid"].ToString());
}
//给退回到的处理人发送短信(提醒)
if (Request.Form["txtisSendsms"].ToString() == "1")
{
Hyoa_global.Sendsms_global(Request.Form["txtdocid"].ToString(), this.Session["hyuid"].ToString(), this.Session["hyuname"].ToString(), cb_fsrsjh, lv_dbrid[i].ToString(), lv_dbrname[i].ToString(), cb_jsrsjh, Request.Form["hy_mudelid"].ToString(), Request.Form["hy_bt"].ToString(), 1, "", "", 0, Request.Form["hy_tableid"].ToString());
}
}
}
ls_tip = "已成功退回到[" + Request.Form["txtnexttachename"].ToString() + "]环节";
hylcthtscl(sql);//特殊处理
}
//多人处理
if (Request.Form["txtwhichoperation"].ToString() == "5")
{
//更新主文档
string ls_newclrid = Hyoa_global.MoveOneString_dh(Request.Form["hy_curclrid"].ToString(), this.Session["hyuid"].ToString());
string ls_newclrname = Hyoa_global.MoveOneString_dh(Request.Form["hy_curclrname"].ToString(), this.Session["hyuname"].ToString());
sql += ",hy_curclrid='" + ls_newclrid + "'";
sql += ",hy_curclrname='" + ls_newclrname + "'";
//处理处理记录
HyoaClass.Hyoa_flowhistoryinfo_cl Hyoa_flowhistoryinfo_cl = new HyoaClass.Hyoa_flowhistoryinfo_cl();
DataTable dt_clinfo = Hyoa_flowhistoryinfo_cl.Getflowhistoryinfo_clsbydocid(Request.Form["txtdocid"].ToString());
if (dt_clinfo.Rows.Count > 0)
{
string ls_curcldoc = dt_clinfo.Rows[0]["ID"].ToString(); //当前处理的记录ID
string ls_clsj = ""; //当前处理的记录处理时间
if (dt_clinfo.Rows[0]["hy_clsj"].ToString() == "")
ls_clsj = System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
else
ls_clsj = dt_clinfo.Rows[0]["hy_clsj"].ToString() + "," + System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
dt_clinfo.Clear();
Hyoa_flowhistoryinfo_cl.ID = ls_curcldoc;
Hyoa_flowhistoryinfo_cl.hy_clsj = ls_clsj;
Hyoa_flowhistoryinfo_cl.Update();
}
//处理待办事宜
//转已办-当前处理人的待办事宜
HyoaClass.Hyoa_dbsy Hyoa_dbsy = new HyoaClass.Hyoa_dbsy();
Hyoa_dbsy.Dbsytoybbydociduserid(Request.Form["txtdocid"].ToString(), this.Session["hyuid"].ToString());
ls_tip = "提交成功,当前环节还需要[" + ls_newclrname + "]进行办理";
hylcdrcltscl(sql);//特殊处理
}
//催办
if (Request.Form["txtwhichoperation"].ToString() == "6")
{