|
|
@@ -7800,7 +7800,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
7800
|
7800
|
case 0:
|
|
7801
|
7801
|
#region 基本信息
|
|
7802
|
7802
|
string sql = "select *,dbo.GetUserName(F_CreateUser) as UserName,dbo.GetDictionaryName(F_InfoType) as TypeName1,"
|
|
7803
|
|
- + "dbo.GetAreaName(F_SourceArea) as AreaName,dbo.GetDictionaryName(F_InfoSource) as SourceName,dbo.GetDictionaryName(F_Key) as KeyName,dbo.GetDeptName(F_MainDeptId) deptname ," + "F_DeptIdIsSms = (select F_IsSms from T_Sys_Department where F_DeptId =a.F_MainDeptId)"
|
|
|
7803
|
+ + "dbo.GetAreaName(F_SourceArea) as AreaName,dbo.GetDictionaryName(F_InfoSource) as SourceName,dbo.GetDictionaryName(F_Key) as KeyName,dbo.GetDeptName(F_MainDeptId) deptname ," + "F_DeptIdIsSms = (select F_IsSms from T_Sys_Department WITH(NOLOCK) where F_DeptId =a.F_MainDeptId)"
|
|
7804
|
7804
|
+ " from T_Bus_WorkOrder a WITH(NOLOCK) where F_WorkOrderId ='" + strworkorderid + "'";
|
|
7805
|
7805
|
var dt = DbHelperSQL.Query(sql).Tables[0];
|
|
7806
|
7806
|
if (dt.Rows.Count > 0)
|
|
|
@@ -8047,7 +8047,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
8047
|
8047
|
#endregion
|
|
8048
|
8048
|
case 9:
|
|
8049
|
8049
|
#region 办理过程
|
|
8050
|
|
- string gcsql = "select o.*,u.F_UserName from T_Bus_Operation o left join T_Sys_UserAccount u on o.F_CreateUser=u.F_UserCode where o.F_IsDelete=0 and o.F_WorkOrderId ='" + strworkorderid + "' order by o.F_CreateTime ";
|
|
|
8050
|
+ string gcsql = "select o.*,u.F_UserName from T_Bus_Operation o WITH(NOLOCK) left join T_Sys_UserAccount u WITH(NOLOCK) on o.F_CreateUser=u.F_UserCode where o.F_IsDelete=0 and o.F_WorkOrderId ='" + strworkorderid + "' order by o.F_CreateTime ";
|
|
8051
|
8051
|
var gcdt = DbHelperSQL.Query(gcsql).Tables[0];
|
|
8052
|
8052
|
gcdt.Columns.Add("File", typeof(object));
|
|
8053
|
8053
|
gcdt.Columns.Add("FilePath", typeof(string));
|
|
|
@@ -12322,7 +12322,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
12322
|
12322
|
if (modelT_Bus_AssignedInfo.F_IsNext == 1 || modelT_Bus_AssignedInfo.F_IsNext == 2)
|
|
12323
|
12323
|
{
|
|
12324
|
12324
|
Model.T_Bus_AssignedInfo_Next modelT_Bus_AssignedInfo_Next = new BLL.T_Bus_AssignedInfo_Next().GetNewModelByWorkOrderID(workorderid);
|
|
12325
|
|
- var user = new BLL.T_Sys_UserAccount().GetModelList(" F_DeptId in (" + modelT_Bus_AssignedInfo_Next.F_MainDeptId + ") and F_DeleteFlag=0");
|
|
|
12325
|
+ var user = new BLL.T_Sys_UserAccount().GetModelList(" F_DeptId in (" + modelT_Bus_AssignedInfo_Next.F_MainDeptId??0 + ") and F_DeleteFlag=0");
|
|
12326
|
12326
|
if (user != null)
|
|
12327
|
12327
|
{
|
|
12328
|
12328
|
foreach (var iv in user)
|
|
|
@@ -12341,7 +12341,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
12341
|
12341
|
}
|
|
12342
|
12342
|
else
|
|
12343
|
12343
|
{
|
|
12344
|
|
- var user = new BLL.T_Sys_UserAccount().GetModelList(" F_DeptId in (" + modelT_Bus_WorkOrder.F_MainDeptId + ") and F_DeleteFlag=0");
|
|
|
12344
|
+ var user = new BLL.T_Sys_UserAccount().GetModelList(" F_DeptId in (" + modelT_Bus_WorkOrder.F_MainDeptId ?? 0 + ") and F_DeleteFlag=0");
|
|
12345
|
12345
|
if (user != null)
|
|
12346
|
12346
|
{
|
|
12347
|
12347
|
foreach (var iv in user)
|