From 3e154206139f2fc8aeeab61c12c38717e55b3fc6 Mon Sep 17 00:00:00 2001
From: qianxj2004 <qianxj15@sina.com>
Date: 星期二, 10 六月 2025 11:44:09 +0800
Subject: [PATCH] update

---
 jrj/project/business/AP/maint.ap.cpp |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/jrj/project/business/AP/maint.ap.cpp b/jrj/project/business/AP/maint.ap.cpp
index b5723e2..2c3462a 100644
--- a/jrj/project/business/AP/maint.ap.cpp
+++ b/jrj/project/business/AP/maint.ap.cpp
@@ -96,13 +96,12 @@
 				}
 			}
 
-			
+			x.Reset();
 			dw_base.AcceptText();
 			dw_base.DwUpdateAllTo(x);
 			xaserverarg arg;
 			
 			arg.AddArg(L"content", x.xml());
-
 			if (xurl::get(L"/sale/data/AP/update", arg.GetString(), x) != 1)
 			{
 				xstring error = x.text();
@@ -293,7 +292,7 @@
 			{
 				xstring col = dw_base.GetColumnName(m);
 				if (col == L"OrgName" || col == L"APNo")
-					dw_base.SetColumnProp(col, L"cellprotect", L"1");
+					dw_base.SetColumnProp(col.c_str(), L"cellprotect", L"1");
 			}
 			return 1;
 		}

--
Gitblit v1.9.3