班组修改

This commit is contained in:
qianhao.xu
2025-03-12 15:32:38 +08:00
parent 2ca013bcb5
commit d09cb93aa7
35 changed files with 3408 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
using System;
using DOAN.Model;
using DOAN.Model.Dto;
using DOAN.Model.MES.group;
using DOAN.Model.MES.group.Dto;
using System.Collections.Generic;
using DOAN.Model.MES.base_;
namespace DOAN.Service.group.IService
{
/// <summary>
/// 人员service接口
/// </summary>
public interface IGroupPersonService : IBaseService<GroupPerson>
{
PagedInfo<GroupPersonDto> GetList(GroupPersonQueryDto parm);
GroupPerson GetInfo(string Id);
GroupPerson AddGroupPerson(GroupPerson parm);
int UpdateGroupPerson(GroupPerson parm);
}
}

View File

@@ -0,0 +1,54 @@
using System;
using DOAN.Model;
using DOAN.Model.Dto;
using DOAN.Model.MES.group;
using DOAN.Model.MES.group.Dto;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using MimeKit.Tnef;
using DOAN.Model.MES.base_.Dto;
using DOAN.Model.MES.base_;
namespace DOAN.Service.group.IService
{
/// <summary>
/// 人员技能service接口
/// </summary>
public interface IGroupPersonSkillService : IBaseService<GroupPersonSkill>
{
PagedInfo<GroupPersonSkillDto> GetList(GroupPersonSkillQueryDto parm);
GroupPersonSkill GetInfo(string Id);
GroupPersonSkill AddGroupPersonSkill(GroupPersonSkill parm);
int UpdateGroupPersonSkill(GroupPersonSkill parm);
int PersonskillAssessment(GroupRelPersonSkill relPersonSkill);
List<GroupPersonSkillDto2> GetPersonSkills(string person_id);
PagedInfo<GroupPersonSkillDto> GetPersonUnownSkills(GroupPersonSkillQueryDto2 parm);
int CancalPersonSkillBind(string person_id, string skill_id);
List<BaseWorkRoute> GetWorkRouteList([FromBody] BaseWorkRouteQueryDto query);
PagedInfo<BaseWorkStation> GetWorkstationbyRoute(BaseWorkStationQueryDto2 query);
List<RouteANDprocess> RouteProcessParentSon(BaseWorkRouteQueryDto query);
List<BaseWorkStation> GetWorkstationList_byProccess(int workProcess_id);
List<GroupPersonSkill> GetWorkstationBindSkillList(int workstation_id);
PagedInfo<GroupPersonSkillDto> GetWorkstationunBindSkillList(GroupPersonSkillQueryDto3 parm);
int HandleWorkstationbindSkill(int workstation_id, string skill_id);
int LiftedWorkstationbindSkill(int workstation_id, string skill_id);
}
}

View File

@@ -0,0 +1,26 @@
using System;
using DOAN.Model;
using DOAN.Model.Dto;
using DOAN.Model.MES.group;
using DOAN.Model.MES.group.Dto;
using System.Collections.Generic;
namespace DOAN.Service.group.IService
{
/// <summary>
/// 岗位service接口
/// </summary>
public interface IGroupPostService : IBaseService<GroupPost>
{
PagedInfo<GroupPostDto> GetList(GroupPostQueryDto parm);
GroupPost GetInfo(string Id);
GroupPost AddGroupPost(GroupPost parm);
int UpdateGroupPost(GroupPost parm);
int RemoveGroupPost(string[] ids);
}
}

View File

@@ -0,0 +1,43 @@
using System;
using DOAN.Model;
using DOAN.Model.MES.group;
using DOAN.Model.MES.group.Dto;
using System.Collections.Generic;
using DOAN.Model.MES.base_;
namespace DOAN.Service.group.IService
{
/// <summary>
/// 排班service接口
/// </summary>
public interface
IGroupScheduleService : IBaseService<GroupSchedule>
{
PagedInfo<GroupScheduleDto> GetList(GroupScheduleQueryDto parm);
GroupSchedule GetInfo(string Id);
GroupSchedule AddGroupSchedule(GroupSchedule parm);
int UpdateGroupSchedule(GroupSchedule parm);
PagedInfo<GroupScheduleDto> ListGroupByDate(GroupScheduleQueryDto2 query);
List<GroupPersonDto> SearchPerson_group_bind(string group_schedule_id);
PagedInfo<GroupPersonDto> SearchPerson_group_bind_No(GroupScheduleQueryDto3 parm);
List<BaseGroup> GetALLGroup(string group_code,string group_name);
int GroupAddPerson(string group_schedule_id, string person_id, string CreatedBy);
int GroupRemovePerson(string group_schedule_id, string person_id);
List<SchedulingSituation> GetMonthScheduleResult(int year,int HandleMonth);
int CopyPreDaySchedule(DateTime date, string CreatedBy);
List<BaseWorkRoute> GetAllRoutes();
List<GroupPersonOfSkillDto> GetSkillsOFperson(string person_id, int route_id);
}
}

View File

@@ -0,0 +1,24 @@
using System;
using DOAN.Model;
using DOAN.Model.Dto;
using DOAN.Model.MES.group;
using DOAN.Model.MES.group.Dto;
using System.Collections.Generic;
namespace DOAN.Service.group.IService
{
/// <summary>
/// 班次service接口
/// </summary>
public interface IGroupShiftService : IBaseService<GroupShift>
{
PagedInfo<GroupShiftDto2> GetList(GroupShiftQueryDto parm);
GroupShift GetInfo(int Id);
GroupShift AddGroupShift(GroupShift parm);
int UpdateGroupShift(GroupShift parm);
}
}

View File

@@ -0,0 +1,23 @@
using System;
using DOAN.Model;
using DOAN.Model.Dto;
using DOAN.Model.MES.group;
using DOAN.Model.MES.group.Dto;
using System.Collections.Generic;
using DOAN.Model.MES.base_;
using Microsoft.AspNetCore.Mvc;
namespace DOAN.Service.MES.group.IService
{
public interface ISkillMatrixService
{
List<GroupSchedule> GetAllGroups(DateTime date);
List<BaseWorkRoute> GetAllRoutes();
List<GroupPerson> GetPersonsList(string group_schedule_id);
HandleSkillInfoDto GetSkillsDetailofPepole(HandleSkillQueryDto parm);
}
}