From 69a1b7107ca42ef46a42e98f7aadd3ea70fb35ed Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 20 十一月 2025 09:19:32 +0800
Subject: [PATCH] 不用再增加一个专门的序号,就按照这个编号,不是列表都有个编号嘛,好,那个送货单就显示就显示那个编号,比如说雷波中学,你在左送货单的左上角2是1或者。或者有三果十一都可以。
---
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