master
xiaochanghai 4 months ago
parent cb117fd047
commit 34d22fc32a
  1. 5943
      Model/Tiobon.Web.pdm
  2. 2
      Tiobon.Core.Api/Controllers/Ghre/Ghre_RequestController.cs

File diff suppressed because it is too large Load Diff

@ -23,7 +23,7 @@ public class Ghre_RequestController : BaseController<IGhre_RequestServices, Ghre
public async Task<ServicePageResult<Ghre_RequestDto>> QueryByStatus([FromBody] QueryBody body, string status)
{
if (status == "Active")
return await _service.QueryFilterPage(body, $"(Status ='{status}' OR (WorkID IS NOT NULL AND WorkState IN (0,1)))");
return await _service.QueryFilterPage(body, $"(Status ='Active' OR Status ='Wait' OR (WorkID IS NOT NULL AND WorkState IN (0,1)))");
else if (status == "Disable")
return await _service.QueryFilterPage(body, null, false);
else

Loading…
Cancel
Save