From 05327a1e8a3448b96ffad5c14163b16d5a6c184a Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期二, 09 七月 2024 13:31:04 +0800
Subject: [PATCH] update

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

diff --git a/jrj/project/business/AP/maint.ap.cpp b/jrj/project/business/AP/maint.ap.cpp
index b5723e2..ff6ba9e 100644
--- a/jrj/project/business/AP/maint.ap.cpp
+++ b/jrj/project/business/AP/maint.ap.cpp
@@ -293,7 +293,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