班组绑人

This commit is contained in:
qianhao.xu
2025-03-19 15:18:44 +08:00
parent 203babdf07
commit db0e285a05
5 changed files with 13 additions and 4 deletions

View File

@@ -194,12 +194,12 @@ namespace DOAN.Admin.WebApi.Controllers
//TODO 班组添加人员
[HttpGet("add_person")]
public IActionResult GroupAddPerson(string group_code, string person_id)
public IActionResult GroupAddPerson(string group_code, string person_id,DateTime schedule_date)
{
if (string.IsNullOrEmpty(group_code)) { return SUCCESS(null); }
if (string.IsNullOrEmpty(person_id)) { return SUCCESS(null); }
var response = _GroupScheduleService
.GroupAddPerson(group_code, person_id, HttpContext.GetName());
.GroupAddPerson(group_code, person_id, schedule_date, HttpContext.GetName());
return SUCCESS(response);
}