1
This commit is contained in:
@@ -36,6 +36,10 @@ namespace FineUIPro.Web.HSSE.Solution
|
||||
{
|
||||
string strSql = @"SELECT LargerHazard.HazardId,LargerHazard.ProjectId,CodeRecords.Code AS HazardCode,LargerHazard.Address,Users.PersonName,LargerHazard.ExpectedTime,LargerHazard.RecordTime "
|
||||
+ @" ,(CASE WHEN LargerHazard.States = " + BLL.Const.State_0 + " OR LargerHazard.States IS NULL THEN '待['+OperateUser.PersonName+']提交' WHEN LargerHazard.States = " + BLL.Const.State_2 + " THEN '审核/审批完成' ELSE '待['+OperateUser.PersonName+']办理' END) AS FlowOperateName"
|
||||
+ @" ,case LargerHazard.ApprovalState when '0' then '待审核'
|
||||
when '1' then '审核中'
|
||||
when '2' then '已完成'
|
||||
else '' end as ApprovalStateStr"
|
||||
+ @", case when LargerHazard.IsArgument=1 then '是' else '否' end as IsArgumentStr,Const.ConstText as TypeName"
|
||||
+ @" FROM Solution_LargerHazard AS LargerHazard "
|
||||
+ @" LEFT JOIN Sys_FlowOperate AS FlowOperate ON LargerHazard.HazardId=FlowOperate.DataId AND FlowOperate.IsClosed <> 1"
|
||||
|
||||
Reference in New Issue
Block a user