修复点击图片附件直接下载图片问题

master
孙亮 4 months ago
parent 3a8ae68770
commit 2468bc9302

@ -5707,7 +5707,7 @@ namespace BP.WF.HttpHandler
{ {
//表单类别区别打印@BKGY //表单类别区别打印@BKGY
MapData mp = new MapData(downDB.FrmID); MapData mp = new MapData(downDB.FrmID);
string[] flowAttr = { "37f23552-7", "a25d959b-7", "b12f75b4-b" }; string[] flowAttr = { "37f23552-7", "a25d959b-7", "b12f75b4-b", "1b19f983-6", "d81875ba-9", "749dae21-0", "713089ef-8", "713b4ca5-5", "b618e9ce-c" };
if (Array.IndexOf(flowAttr, mp.FormTreeNo) >= 0) if (Array.IndexOf(flowAttr, mp.FormTreeNo) >= 0)
{ {
int splitStartIndex = filepath.IndexOf("DataUser/"); int splitStartIndex = filepath.IndexOf("DataUser/");

@ -5566,7 +5566,7 @@ namespace BP.WF
aths.Retrieve(AuthAttr.AutherToEmpNo, WebUser.No); aths.Retrieve(AuthAttr.AutherToEmpNo, WebUser.No);
string whereSQL = " "; string whereSQL = " ";
string sql = " "; string sql = " ";
string userNo = " "; string userNo = "";
if (aths.Count !=0 ) { if (aths.Count !=0 ) {
@ -5617,7 +5617,7 @@ namespace BP.WF
} }
if ((userNo == null && userNo == "" )&& (gwl.EmpNo.Equals(WebUser.No) == false)) if (DataType.IsNullOrEmpty(userNo) && (gwl.EmpNo.Equals(WebUser.No) == false))
continue; continue;
//设置当前不可以用. //设置当前不可以用.

Loading…
Cancel
Save