From 1a1c8e71fcd14858f595029f089b2d4a00202b32 Mon Sep 17 00:00:00 2001
From: ogi <Administrator@S-OGI-PC>
Date: Fri, 05 Dec 2025 09:24:16 +0900
Subject: [PATCH] プロジェクトファイルを追加。
---
HotelPms.Data.Server/ProtosExpan/Master/Output.Expan.cs | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/HotelPms.Data.Server/ProtosExpan/Master/Output.Expan.cs b/HotelPms.Data.Server/ProtosExpan/Master/Output.Expan.cs
new file mode 100644
index 0000000..c603415
--- /dev/null
+++ b/HotelPms.Data.Server/ProtosExpan/Master/Output.Expan.cs
@@ -0,0 +1,15 @@
+namespace HotelPms.Data.Master
+{
+ public partial class Output
+ {
+ public string MaxIDSql()
+ {
+ return $@"SELECT ISNULL(MAX(ID),0) FROM M_Output WHERE MachineName = N'{MachineName}' AND UserName = N'{UserName}' AND ReportID = {ReportID};";
+ }
+
+ public string ClearDetailSql()
+ {
+ return $@"DELETE FROM M_OutputItem WHERE MachineName = N'{MachineName}' AND UserName = N'{UserName}' AND ReportID = {ReportID} AND OutputID = {ID};";
+ }
+ }
+}
--
Gitblit v1.10.0