This commit is contained in:
杨家亮 2025-06-18 10:01:30 +08:00
parent 22df00fd57
commit fd3c9827a9
1 changed files with 2 additions and 1 deletions

View File

@ -179,7 +179,8 @@ namespace WebAPI.Controllers
if(string.IsNullOrEmpty(projectId))
{
responeData.data = APIHazardRegisterService.getHazardRegisterByProjectIdStates(checkDate);
projectId = ""; // 明确使用默认值
responeData.data = APIHazardRegisterService.getHazardRegisterByProjectIdStates(projectId,checkDate);
}
else
{