ADD and EDIT RollCall - EmployeeUploadPicture Bug Fixed - RollCallHistory Fast Searching

This commit is contained in:
SamSys
2024-11-04 03:10:44 +03:30
parent 456025251c
commit 05c2fcbc10
377 changed files with 3623 additions and 1255 deletions

View File

@@ -1,5 +1,6 @@
using _0_Framework.Application;
using System.Collections.Generic;
using System.Linq;
namespace CompanyManagment.App.Contracts.RollCallEmployee;
@@ -8,7 +9,7 @@ public interface IRollCallEmployeeApplication
OperationResult Create(CreateRollCallEmployee command);
OperationResult Active(long id);
OperationResult DeActive(long id);
OperationResult UploadedImage(long Employeeid,long WorkshopId);
OperationResult UploadedImage(long Employeeid, long WorkshopId);
List<RollCallEmployeeViewModel> GetByWorkshopId(long workshopId);
EditRollCallEmployee GetDetails(long id);
RollCallEmployeeViewModel GetByEmployeeIdAndWorkshopId(long employeeId, long workshopId);
@@ -16,12 +17,25 @@ public interface IRollCallEmployeeApplication
List<RollCallEmployeeViewModel> GetActivePersonnelByWorkshopId(long workshopId);
bool IsEmployeeRollCallActive(long employeeId, long workshopId);
int activedPerson(long workshopId);
#region pooya
/// <summary>
/// دریافت لیست پرسنل کارگاه برای حضور غیاب دستی
/// </summary>
List<RollCallEmployeeViewModel> GetRollCallEmployeesByWorkshopId(long workshopId);
List<RollCallEmployeeViewModel> GetEmployeeRollCalls(long workshopId);
List<RollCallEmployeeViewModel> GetPersonnelRollCallListAll(long workshopId);
//List<RollCallEmployeeViewModel> GetPersonnelRollCallListAll(long workshopId);
OperationResult ChangeEmployeeRollCallName(long rollCallEmployeeId, string fName, string lName);
#endregion
#region Farpkhi&Mahan
(int activeEmployees, int deActiveEmployees) GetActiveAndDeActiveRollCallEmployees(long workshopId);
bool HasEmployees(long workshopId);
#endregion
}