yuanrf hace 3 horas
padre
commit
d39af18269
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      OASystem/OASystem.Api/Controllers/FinancialController.cs

+ 1 - 1
OASystem/OASystem.Api/Controllers/FinancialController.cs

@@ -4375,7 +4375,7 @@ namespace OASystem.API.Controllers
                 return Ok(JsonView(false, "查询失败"));
             }
 
-            if (detailView.Remark != null)
+            if (!string.IsNullOrEmpty(detailView.Remark))
             {
                 detailView.Remark = detailView.Remark.Replace("[TuT]", string.Empty);
             }