IPC-610
2024-10-16 c9259bb264b7ca591a326f0297020c3b07b5076b
Admin.NET/WCS.Application/Service/WcsAlarmInfo/WcsAlarmInfoService.cs
@@ -32,7 +32,7 @@
        input.SearchKey = input.SearchKey?.Trim();
        var query = _wcsAlarmInfoRep.AsQueryable()
            .WhereIF(!string.IsNullOrEmpty(input.SearchKey), u =>
                u.PlcIP.Contains(input.SearchKey)
                u.StationNum.Contains(input.SearchKey)
            )
            .WhereIF(!string.IsNullOrWhiteSpace(input.PlcIP), u => u.PlcIP.Contains(input.PlcIP.Trim()))
            .WhereIF(input.Status.HasValue, u => u.Status == input.Status)