This commit is contained in:
qianhao.xu
2025-03-19 13:48:02 +08:00
parent a0ec3319b2
commit 203babdf07
4 changed files with 17 additions and 17 deletions

View File

@@ -160,16 +160,16 @@ namespace DOAN.Admin.WebApi.Controllers
/// <summary>
/// //TODO 查询班组绑定的人员
/// </summary>
/// <param name="group_schedule_id">班组id</param>
/// <param name="group_code">班组id</param>
/// <returns></returns>
[HttpGet("list_person_bind")]
public IActionResult SearchPerson_group_bind(string group_schedule_id)
public IActionResult SearchPerson_group_bind(string group_code)
{
if (string.IsNullOrEmpty(group_schedule_id))
if (string.IsNullOrEmpty(group_code))
{
return SUCCESS(null);
}
var response = _GroupScheduleService.SearchPerson_group_bind(group_schedule_id);
var response = _GroupScheduleService.SearchPerson_group_bind(group_code);
return SUCCESS(response);
}
@@ -178,12 +178,12 @@ namespace DOAN.Admin.WebApi.Controllers
/// <summary>
/// TODO 查询排班未绑定的人员
/// </summary>
/// <param name="group_schedule_id">班id</param>
/// <param name="group_code">班id</param>
/// <returns></returns>
[HttpPost("list_person_bind_no")]
public IActionResult SearchPerson_group_bind_No([FromBody] GroupScheduleQueryDto3 parm)
{
if (string.IsNullOrEmpty(parm.group_schedule_id))
if (string.IsNullOrEmpty(parm.group_code))
{
return SUCCESS(null);
}