yuanrf 1 месяц назад
Родитель
Сommit
5ea3ba45df
1 измененных файлов с 24 добавлено и 4 удалено
  1. 24 4
      OASystem/OASystem.Api/Controllers/PersonnelModuleController.cs

+ 24 - 4
OASystem/OASystem.Api/Controllers/PersonnelModuleController.cs

@@ -3115,6 +3115,15 @@ OPTION (MAXRECURSION 0); -- 允许无限递归      ";
 4、对接公务(团组出发前5日)",
                         TaskAssignmentCTId: 81
                     )
+                },
+                {
+                    GroupProcessType.FeeSettle,
+                    (
+                        TemplateId: 1474,
+                        ProcessName: "财务",
+                        Rules: @"",
+                        TaskAssignmentCTId: null
+                    )
                 }
             };
 
@@ -3848,7 +3857,7 @@ OPTION (MAXRECURSION 0); -- 允许无限递归      ";
         }
 
         /// <summary>
-        /// 财务部员工分析
+        /// 财务部员工分析(曾)
         /// </summary>
         /// <param name="userId"></param>
         /// <param name="start"></param>
@@ -3858,10 +3867,21 @@ OPTION (MAXRECURSION 0); -- 允许无限递归      ";
         [HttpGet]
         public async Task<IActionResult> AiPerformanceAnalysis_FinancialDepartmentAsync(int userId, DateTime start, DateTime end, int createUserId)
         {
-            return Ok(new
-            {
+            return await AiPerformanceAnalysisAsync(userId, start, end, createUserId, GroupProcessType.FeeSettle);
+        }
 
-            });
+        /// <summary>
+        /// 财务部员工分析(伏)
+        /// </summary>
+        /// <param name="userId"></param>
+        /// <param name="start"></param>
+        /// <param name="end"></param>
+        /// <param name="createUserId"></param>
+        /// <returns></returns>
+        [HttpGet]
+        public async Task<IActionResult> AiPerformanceAnalysis_Financial_Fu_DepartmentAsync(int userId, DateTime start, DateTime end, int createUserId)
+        {
+            return await AiPerformanceAnalysisAsync(userId, start, end, createUserId, GroupProcessType.FeeSettle);
         }
 
         /// <summary>