From d3205f4627ceb7af1344ce77715def28fee5545b Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 17 十二月 2025 08:56:19 +0800
Subject: [PATCH] 在“编号”和“片区”直接增加一列“送货时间”,该送货时间显示进行了“送货安排”操作的学校的时间,没有安排送货的学校就是空白 完成
---
CY_ECommercePlatform/CY.SQLDAL/OA/OA_FirmAccountRecordDAL.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/CY_ECommercePlatform/CY.SQLDAL/OA/OA_FirmAccountRecordDAL.cs b/CY_ECommercePlatform/CY.SQLDAL/OA/OA_FirmAccountRecordDAL.cs
index 8d311c9..a5f9632 100644
--- a/CY_ECommercePlatform/CY.SQLDAL/OA/OA_FirmAccountRecordDAL.cs
+++ b/CY_ECommercePlatform/CY.SQLDAL/OA/OA_FirmAccountRecordDAL.cs
@@ -195,7 +195,7 @@
fromSource += string.Format(" and a.PaymentUnit like '%{0}%'", PaymentUnit);
}
- return _dataBase.SelectModelPage<Model.OA_FirmAccountRecord>(pa, target, fromSource, "a.LastUpdateTime DESC");
+ return _dataBase.SelectModelPage<Model.OA_FirmAccountRecord>(pa, target, fromSource, "a.Keyid DESC");
}
catch (Exception ex)
{
@@ -254,7 +254,7 @@
}
if (!string.IsNullOrEmpty(PaymentUnit))
{
- fromSource += string.Format(" and a.PaymentUnit='{0}'", PaymentUnit);
+ fromSource += string.Format(" and a.PaymentUnit like '%{0}%'", PaymentUnit);
}
IList<Model.OA_FirmAccountRecord> m_OA_FirmAccountRecordList = _dataBase.SelectModel<Model.OA_FirmAccountRecord>(target, fromSource + " group by RecordTypeId");
--
Gitblit v1.9.1