危险源管理模块接入真实数据库:新增危大/超危工程、风险控制清单、安全验收、安全巡检、临时用电管理(含前端页面、BLL/API服务、WebAPI控制器、Model项、SQL脚本与接口文档)
排除 CreateModel.bat(含明文sa密码与本地服务器名,未入库)
This commit is contained in:
@@ -115,7 +115,7 @@ namespace BLL
|
||||
return res.Replace('\\', '/');
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
@@ -140,7 +140,7 @@ namespace BLL
|
||||
return res.Replace('\\', '/');
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
@@ -277,7 +277,6 @@ namespace BLL
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -292,7 +291,6 @@ namespace BLL
|
||||
string res = "";
|
||||
foreach (var item in urls)
|
||||
{
|
||||
string size = "0";
|
||||
int strInt = item.LastIndexOf("~");
|
||||
if (strInt < 0)
|
||||
{
|
||||
@@ -317,7 +315,6 @@ namespace BLL
|
||||
/// <returns></returns>
|
||||
public static string getAttachSource(string url, string fileDir)
|
||||
{
|
||||
string res = "";
|
||||
string attachSource = string.Empty;
|
||||
if (!string.IsNullOrEmpty(url))
|
||||
{
|
||||
@@ -392,7 +389,7 @@ namespace BLL
|
||||
}
|
||||
return file;
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
return "";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user