From d4f1d60996bcec152e100b231c37589270c5fae6 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 21 九月 2022 09:07:10 +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