Przeglądaj źródła

导出去掉协办单位

duhongyu 4 lat temu
rodzic
commit
bec5739e44

+ 7 - 7
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderController.cs

@@ -411,7 +411,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
411 411
                 //日期,工单号,诉求标题,诉求内容,承办单位,办理结果,是否满意,备注
412 412
                 var dtdc = DbHelperSQL.Query(" select  F_CreateTime 日期, F_WorkOrderId 工单号,F_ComTitle 诉求标题,F_ComContent 诉求内容,dbo.GetDictionaryName(F_Key) 主题词, "
413 413
                     + "  dbo.GetDeptNames(F_MainDeptId ) 主办单位, "
414
-                    + "  dbo.GetDeptNames(F_OtherDeptIds ) 协办单位, "
414
+                  
415 415
                     + " (select top 1 F_Result from T_Bus_Feedback WITH(NOLOCK) where F_State=1 and F_Type!=3 and F_IsDelete=0 and  F_WorkOrderId =a.F_WorkOrderId order by F_Id desc) 办理结果, "
416 416
                     + " (select top 1 (case F_IsSatisfie when 1 then'满意' when 0 then '不满意' else '未评价' end) F_Satisfie from T_Bus_VisitResult WITH(NOLOCK) where F_State = 1 and F_IsDelete = 0 and F_WorkOrderId = a.F_WorkOrderId order by F_Id desc) 是否满意 "
417 417
                     + " from T_Bus_WorkOrder a WITH(NOLOCK)"+ value + " where 1=1 " + sql+ orderby).Tables[0];
@@ -909,7 +909,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
909 909
                 //日期,工单号,诉求标题,诉求内容,承办单位,办理结果,是否满意,备注
910 910
                 var dtdc = DbHelperSQL.Query(" select  F_CreateTime 日期, F_WorkOrderId 工单号,F_ComTitle 诉求标题,F_ComContent 诉求内容,dbo.GetDictionaryName(F_Key) 主题词, "
911 911
                       + "  dbo.GetDeptNames(F_MainDeptId ) 主办单位, "
912
-                    + "  dbo.GetDeptNames(F_OtherDeptIds ) 协办单位, "
912
+                   
913 913
                     + " (select top 1 F_Result from T_Bus_Feedback WITH(NOLOCK) where F_State=1 and F_Type!=3 and F_IsDelete=0 and  F_WorkOrderId =wo.F_WorkOrderId order by F_Id desc) 办理结果, "
914 914
                     + " (select top 1 (case F_IsSatisfie when 1 then'满意' when 0 then '不满意' else '未评价' end) F_Satisfie from T_Bus_VisitResult WITH(NOLOCK) where F_State = 1 and F_IsDelete = 0 and F_WorkOrderId = wo.F_WorkOrderId order by F_Id desc) 是否满意 "
915 915
                     + " from T_Bus_WorkOrder wo WITH(NOLOCK)"+value  +" where 1=1 " + sql + orderby).Tables[0];
@@ -1639,7 +1639,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
1639 1639
                 //日期,工单号,诉求标题,诉求内容,承办单位,办理结果,是否满意,备注
1640 1640
                 var dtdc = DbHelperSQL.Query(" select " + top + " F_CreateTime 日期, F_WorkOrderId 工单号,F_ComTitle 诉求标题,F_ComContent 诉求内容,dbo.GetDictionaryName(F_Key) 主题词, "
1641 1641
                      + "  dbo.GetDeptNames(F_MainDeptId ) 主办单位, "
1642
-                    + "  dbo.GetDeptNames(F_OtherDeptIds ) 协办单位, "
1642
+                   
1643 1643
                     + " (select top 1 F_Result from T_Bus_Feedback WITH(NOLOCK) where F_State=1 and F_Type!=3 and F_IsDelete=0 and  F_WorkOrderId =wo.F_WorkOrderId order by F_Id desc) 办理结果, "
1644 1644
                     + " (select top 1 (case F_IsSatisfie when 1 then'满意' when 0 then '不满意' else '未评价' end) F_Satisfie from T_Bus_VisitResult WITH(NOLOCK) where F_State = 1 and F_IsDelete = 0 and F_WorkOrderId = wo.F_WorkOrderId order by F_Id desc) 是否满意 "
1645 1645
                     + " from T_Bus_WorkOrder wo WITH(NOLOCK)"+value  +" where 1=1 " + sql + orderby).Tables[0];
@@ -2376,7 +2376,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
2376 2376
                 //日期,工单号,诉求标题,诉求内容,承办单位,办理结果,是否满意,备注
2377 2377
                 var dtdc = DbHelperSQL.Query(" select  F_CreateTime 日期, F_WorkOrderId 工单号,F_ComTitle 诉求标题,F_ComContent 诉求内容,dbo.GetDictionaryName(F_Key) 主题词, "
2378 2378
                     + "  dbo.GetDeptNames(F_MainDeptId ) 主办单位, "
2379
-                    + "  dbo.GetDeptNames(F_OtherDeptIds ) 协办单位, "
2379
+                  
2380 2380
                     + " (select top 1 F_Result from T_Bus_Feedback WITH(NOLOCK) where F_State=1 and F_Type!=3 and F_IsDelete=0 and  F_WorkOrderId =wo.F_WorkOrderId order by F_Id desc) 办理结果, "
2381 2381
                     + " (select top 1 (case F_IsSatisfie when 1 then'满意' when 0 then '不满意' else '未评价' end) F_Satisfie from T_Bus_VisitResult WITH(NOLOCK) where F_State = 1 and F_IsDelete = 0 and F_WorkOrderId = wo.F_WorkOrderId order by F_Id desc) 是否满意 "
2382 2382
                     + " from T_Bus_WorkOrder wo WITH(NOLOCK)"+value  +" where 1=1 " + sql + orderby).Tables[0];
@@ -4483,7 +4483,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
4483 4483
                 //日期,工单号,诉求标题,诉求内容,承办单位,办理结果,是否满意,备注
4484 4484
                 var dtdc = DbHelperSQL.Query(" select " + top + " F_CreateTime 日期, F_WorkOrderId 工单号,F_ComTitle 诉求标题,F_ComContent 诉求内容,dbo.GetDictionaryName(F_Key) 主题词, "
4485 4485
                  + "  dbo.GetDeptNames(F_MainDeptId ) 主办单位, "
4486
-                    + "  dbo.GetDeptNames(F_OtherDeptIds ) 协办单位, "
4486
+                   
4487 4487
                     + " (select top 1 F_Result from T_Bus_Feedback WITH(NOLOCK) where F_State=1 and F_Type!=3 and F_IsDelete=0 and  F_WorkOrderId =wo.F_WorkOrderId order by F_Id desc) 办理结果, "
4488 4488
                     + " (select top 1 (case F_IsSatisfie when 1 then'满意' when 0 then '不满意' else '未评价' end) F_Satisfie from T_Bus_VisitResult WITH(NOLOCK) where F_State = 1 and F_IsDelete = 0 and F_WorkOrderId = wo.F_WorkOrderId order by F_Id desc) 是否满意 "
4489 4489
                     + " from T_Bus_WorkOrder wo WITH(NOLOCK) where 1=1 " + sql + orderby).Tables[0];
@@ -4906,7 +4906,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
4906 4906
                 }
4907 4907
                 var dtdc = DbHelperSQL.Query(" select  F_CreateTime 日期, F_WorkOrderId 工单号,F_ComTitle 诉求标题,F_ComContent 诉求内容,dbo.GetDictionaryName(F_Key) 主题词, "
4908 4908
    + "  dbo.GetDeptNames(F_MainDeptId ) 主办单位, "
4909
-                    + "  dbo.GetDeptNames(F_OtherDeptIds ) 协办单位, " + " (select top 1 F_Result from T_Bus_Feedback WITH(NOLOCK) where F_State=1 and F_Type!=3 and F_IsDelete=0 and  F_WorkOrderId =wo.F_WorkOrderId order by F_Id desc) 办理结果, "
4909
+                   + " (select top 1 F_Result from T_Bus_Feedback WITH(NOLOCK) where F_State=1 and F_Type!=3 and F_IsDelete=0 and  F_WorkOrderId =wo.F_WorkOrderId order by F_Id desc) 办理结果, "
4910 4910
                    + " (select top 1 (case F_IsSatisfie when 1 then'满意' when 0 then '不满意' else '未评价' end) F_Satisfie from T_Bus_VisitResult WITH(NOLOCK) where F_State = 1 and F_IsDelete = 0 and F_WorkOrderId = wo.F_WorkOrderId order by F_Id desc) 是否满意 "
4911 4911
                    + " from T_Bus_WorkOrder wo WITH(NOLOCK)"+value  +" where 1=1 " + sql + orderby).Tables[0];
4912 4912
 
@@ -6151,7 +6151,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
6151 6151
                 }
6152 6152
                 var dtdc = DbHelperSQL.Query(" select " + top + " F_CreateTime 日期, F_WorkOrderId 工单号,F_ComTitle 诉求标题,F_ComContent 诉求内容,dbo.GetDictionaryName(F_Key) 主题词, "
6153 6153
                    + "  dbo.GetDeptNames(F_MainDeptId ) 主办单位, "
6154
-                    + "  dbo.GetDeptNames(F_OtherDeptIds ) 协办单位, "
6154
+                 
6155 6155
                    + " (select top 1 F_Result from T_Bus_Feedback WITH(NOLOCK) where F_State=1 and F_Type!=3 and F_IsDelete=0 and  F_WorkOrderId =wo.F_WorkOrderId order by F_Id desc) 办理结果, "
6156 6156
                    + " (select top 1 (case F_IsSatisfie when 1 then'满意' when 0 then '不满意' else '未评价' end) F_Satisfie from T_Bus_VisitResult WITH(NOLOCK) where F_State = 1 and F_IsDelete = 0 and F_WorkOrderId = wo.F_WorkOrderId order by F_Id desc) 是否满意 "
6157 6157
                    + " from T_Bus_WorkOrder wo WITH(NOLOCK)"+ value + " where 1=1 " + sql + orderby).Tables[0];

+ 0 - 1
CallCenterCommon/CallCenter.Utility/word/ExportWord.cs

@@ -31,7 +31,6 @@ public class ExportWord
31 31
               WordApp.Selection.ParagraphFormat.Alignment = Microsoft.Office.Interop.Word.WdParagraphAlignment.wdAlignParagraphCenter;
32 32
               WordApp.Selection.TypeParagraph();//插入段落 
33 33
               WordApp.Selection.ParagraphFormat.Alignment = Microsoft.Office.Interop.Word.WdParagraphAlignment.wdAlignParagraphLeft;
34
-              WordApp.Selection.Font.Name = "小四";
35 34
               WordApp.Selection.Font.Size = 18f;
36 35
               object missing = System.Reflection.Missing.Value;
37 36
               object WdLine2 = Microsoft.Office.Interop.Word.WdUnits.wdLine;//换一行;