修改移交功能

master
孙亮 7 months ago
parent ca4ad4c2d2
commit b6a5f7b22c

@ -277,7 +277,7 @@ namespace BP.WF.HttpHandler
DataTable dtt = DBAccess.RunSQLReturnTable(sql); DataTable dtt = DBAccess.RunSQLReturnTable(sql);
bool isCanShowUnSend = true; bool isCanShowUnSend = true;
foreach (DataRow item in dtt.Rows) { foreach (DataRow item in dtt.Rows) {
if (item["IsPass"].ToString() == "0") { if (item["IsPass"].ToString() == "1") {
isCanShowUnSend = false; isCanShowUnSend = false;
break; break;
} }

@ -387,6 +387,7 @@ namespace BP.WF.HttpHandler
//在线WebOffice打开 //在线WebOffice打开
if (func.PrintOpenModel == PrintOpenModel.WebOffice) if (func.PrintOpenModel == PrintOpenModel.WebOffice)
return "err@【/WF/WebOffice/PrintOffice.htm】该文件没有重构好,您可以找到旧版本解决,或者自己开发。"; return "err@【/WF/WebOffice/PrintOffice.htm】该文件没有重构好,您可以找到旧版本解决,或者自己开发。";
//Thread.Sleep(3000);
return billUrl; return billUrl;
} }
catch (Exception ex) catch (Exception ex)
@ -613,6 +614,7 @@ namespace BP.WF.HttpHandler
//在线WebOffice打开 //在线WebOffice打开
if (func.PrintOpenModel == PrintOpenModel.WebOffice) if (func.PrintOpenModel == PrintOpenModel.WebOffice)
return "err@【/WF/WebOffice/PrintOffice.htm】该文件没有重构好,您可以找到旧版本解决,或者自己开发。"; return "err@【/WF/WebOffice/PrintOffice.htm】该文件没有重构好,您可以找到旧版本解决,或者自己开发。";
//Thread.Sleep(3000);
return billUrl; return billUrl;
} }
catch (Exception ex) catch (Exception ex)
@ -850,6 +852,7 @@ namespace BP.WF.HttpHandler
//在线WebOffice打开 //在线WebOffice打开
if (func.PrintOpenModel == PrintOpenModel.WebOffice) if (func.PrintOpenModel == PrintOpenModel.WebOffice)
return "err@【/WF/WebOffice/PrintOffice.htm】该文件没有重构好,您可以找到旧版本解决,或者自己开发。"; return "err@【/WF/WebOffice/PrintOffice.htm】该文件没有重构好,您可以找到旧版本解决,或者自己开发。";
//Thread.Sleep(3000);
return billUrl; return billUrl;
} }
catch (Exception ex) catch (Exception ex)

@ -204,11 +204,25 @@ namespace BP.WF.Template
{ {
get get
{ {
return this.GetValIntByKey(PushMsgAttr.FK_Node); return this.GetValIntByKey(PushMsgAttr.NodeID);
} }
set set
{ {
this.SetValByKey(PushMsgAttr.FK_Node, value); this.SetValByKey(PushMsgAttr.NodeID, value);
}
}
/// <summary>
///节点
/// </summary>
public string EventNo
{
get
{
return this.GetValStringByKey(PushMsgAttr.EventNo);
}
set
{
this.SetValByKey(PushMsgAttr.EventNo, value);
} }
} }
public string PushDoc public string PushDoc
@ -699,7 +713,10 @@ namespace BP.WF.Template
map.AddTBString(PushMsgAttr.FK_Flow, null, "流程", true, false, 0, 5, 10); map.AddTBString(PushMsgAttr.FK_Flow, null, "流程", true, false, 0, 5, 10);
map.AddTBInt(PushMsgAttr.FK_Node, 0, "节点", true, false); map.AddTBInt(PushMsgAttr.FK_Node, 0, "节点", true, false);
map.AddTBInt(PushMsgAttr.NodeID, 0, "节点", true, false);
map.AddTBString(PushMsgAttr.FK_Event, null, "事件类型", true, false, 0, 20, 10); map.AddTBString(PushMsgAttr.FK_Event, null, "事件类型", true, false, 0, 20, 10);
map.AddTBString(PushMsgAttr.EventNo, null, "事件类型", true, false, 0, 20, 10);
#region 将要删除. #region 将要删除.
map.AddDDLSysEnum(PushMsgAttr.PushWay, 0, "推送方式", true, false, PushMsgAttr.PushWay, map.AddDDLSysEnum(PushMsgAttr.PushWay, 0, "推送方式", true, false, PushMsgAttr.PushWay,

Loading…
Cancel
Save