From 67a0042c5f29e4bb0e0b82f6190f2bc51480b45c Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 28 二月 2023 13:25:09 +0800
Subject: [PATCH] 工资绩效改版

---
 zhengcaioa/Services/SysAttachmentService.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/zhengcaioa/Services/SysAttachmentService.cs b/zhengcaioa/Services/SysAttachmentService.cs
index 06a65d3..3548ad0 100644
--- a/zhengcaioa/Services/SysAttachmentService.cs
+++ b/zhengcaioa/Services/SysAttachmentService.cs
@@ -50,7 +50,7 @@
 
                 }
 
-                _context.SaveChanges();
+              var ii =  _context.SaveChanges();
                 resultEntity.ReturnID = model.Id;
                 resultEntity.Result = true;
             }
@@ -129,7 +129,7 @@
 
 
 
-            if (searchEntity.totalrows == 0)
+            //if (searchEntity.totalrows == 0)
                 searchEntity.totalrows = query.Count();
             var lianlist = query.Skip((searchEntity.page - 1) * searchEntity.rows).Take(searchEntity.rows).ToList();
             data.LoadData(searchEntity, lianlist);

--
Gitblit v1.9.1