提交所有文件3

This commit is contained in:
2026-09-21 11:37:39 +08:00
parent 5222c98e0e
commit f216ceb835
33 changed files with 944 additions and 177 deletions
+2 -2
View File
@@ -433,7 +433,7 @@ namespace GThinking.N_XLXSBJ
{
string num = item.Substring(2, 2); // 取出两位编号,如 "01"
int index;
if (int.TryParse(num, out index) && index >= 1 && index <= 10)
if (int.TryParse(num, out index) && index >= 1 && index <= 20)
{
string id = "JZ" + num; // 构造 pYZID 的值,如 "JZ01"
sql.ParamByName("pYZID").Value = id;
@@ -543,7 +543,7 @@ namespace GThinking.N_XLXSBJ
private int GetXSWS(string sYZID)
{
int iXSWS = 2;
int iXSWS = 5;
TDatabase dberp = TContextDatabases.GetDatabase("DBERP");
TSQL SQL = new TSQL(dberp);
SQL.Clear();