From 681ae7fa226f620e3c4855ae1a806e942347b84e Mon Sep 17 00:00:00 2001 From: SeedList Date: Wed, 7 May 2025 19:50:35 +0800 Subject: [PATCH] vault backup: 2025-05-07 19:50:35 --- SanPinPLM/相关操作/4.0-other/999.Delphi脚本记录.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SanPinPLM/相关操作/4.0-other/999.Delphi脚本记录.md b/SanPinPLM/相关操作/4.0-other/999.Delphi脚本记录.md index b22abf97..c35d32af 100644 --- a/SanPinPLM/相关操作/4.0-other/999.Delphi脚本记录.md +++ b/SanPinPLM/相关操作/4.0-other/999.Delphi脚本记录.md @@ -125,7 +125,7 @@ end. ## 执行SQL语句获取查询结果 -主要内容为通过 `chiGetFieldValueBySql方法去执行 ` SQL ` 语句 +主要内容为通过 `chiGetFieldValueBySql` 方法去执行 ` SQL ` 语句,通过物料代码去获取指定属性的值,要求是这个物料得先被创建出来,才能正常执行脚本,否则会提示找不到这个物料 ```Delphi uses MyClass,Variables,BaseUtil,CommonFunc,DataConst,CFFrm,CFSimplePropFrm,Forms,StdCtrls,Variants,SysUtils,Classes,Controls,Dialogs, @@ -160,5 +160,4 @@ begin ShowMessage('操作失败: ' + E.Message); end; end. - ``` \ No newline at end of file