2023-11-11
This commit is contained in:
@@ -1,13 +1,9 @@
|
||||
using Aspose.Words;
|
||||
using BLL;
|
||||
using Org.BouncyCastle.Asn1.Ocsp;
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace FineUIPro.Web.DataShow
|
||||
{
|
||||
@@ -64,7 +60,7 @@ namespace FineUIPro.Web.DataShow
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
string strSql = "SELECT * FROM View_Hazard_HazardRegister WHERE ProblemTypes in ('1' ,'2') ";
|
||||
string strSql = "SELECT * FROM View_Hazard_HazardRegister WHERE ProblemTypes ='1' and CheckTime > '2023-01-01' ";
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
strSql += " AND ProjectId = @ProjectId";
|
||||
listStr.Add(new SqlParameter("@ProjectId", Request.Params["projectId"]));
|
||||
@@ -168,7 +164,7 @@ namespace FineUIPro.Web.DataShow
|
||||
var registration = BLL.HSSE_Hazard_HazardRegisterService.GetHazardRegisterByHazardRegisterId(registrationId.ToString());
|
||||
if (registration != null)
|
||||
{
|
||||
url = BLL.UploadAttachmentService.ShowImage("../", registration.ImageUrl);
|
||||
url = BLL.UploadAttachmentService.ShowImage(httpUrl, registration.ImageUrl);
|
||||
}
|
||||
}
|
||||
return url;
|
||||
@@ -194,7 +190,7 @@ namespace FineUIPro.Web.DataShow
|
||||
var registration = BLL.HSSE_Hazard_HazardRegisterService.GetHazardRegisterByHazardRegisterId(registrationId.ToString());
|
||||
if (registration != null)
|
||||
{
|
||||
url = BLL.UploadAttachmentService.ShowImage("../", registration.RectificationImageUrl);
|
||||
url = BLL.UploadAttachmentService.ShowImage(httpUrl, registration.RectificationImageUrl);
|
||||
}
|
||||
}
|
||||
return url;
|
||||
|
||||
Reference in New Issue
Block a user