1
duhe
2025-06-03 6c3699a36a64ad2ef236e9a58f485409d324f3c5
DAL/系统公用/ClsXt_DefineBillMainSet.cs
@@ -63,7 +63,7 @@
                foreach (Model.ClsXt_DefineBillMainSetSub oSub in DetailColl)
                {
                    string subSql = "Insert into Xt_DefineBillMainSetSub " +
                      " (HInterID,HEntryID,HArrangeOrder,HArrangeOrderSub,HIsHide,HIsDisabled,HIsMust,HParentElementID,HElementID" +
                      " (HInterID,HEntryID,HArrangeOrder,HArrangeOrderSub,HIsHide,HIsDisabled,HIsMust,HParentElementID,HElementID,HElementIDAdditionalName" +
                      ",HElementLabel,HElementType,HFieldMaxLength,HDefaultValue,HFieldName,HFieldDataType,HRelateUrl,HSubWindowBackData" +
                      ",HSubWindowBackDataMethodName,HSelectContent" +
                      ") values(" +
@@ -76,6 +76,7 @@
                        ",'" + (oSub.HIsMust ? 1 : 0) + "'" +
                        ",'" + oSub.HParentElementID + "'" +
                        ",'" + oSub.HElementID + "'" +
                        ",'" + oSub.HElementIDAdditionalName + "'" +
                        ",'" + oSub.HElementLabel + "'" +
                        ",'" + oSub.HElementType + "'" +
                        ",'" + oSub.HFieldMaxLength + "'" +
@@ -143,7 +144,7 @@
                foreach (Model.ClsXt_DefineBillMainSetSub oSub in DetailColl)
                {
                    string subSql = "Insert into Xt_DefineBillMainSetSub " +
                      " (HInterID,HEntryID,HArrangeOrder,HArrangeOrderSub,HIsHide,HIsDisabled,HIsMust,HParentElementID,HElementID" +
                      " (HInterID,HEntryID,HArrangeOrder,HArrangeOrderSub,HIsHide,HIsDisabled,HIsMust,HParentElementID,HElementID,HElementIDAdditionalName" +
                      ",HElementLabel,HElementType,HFieldMaxLength,HDefaultValue,HFieldName,HFieldDataType,HRelateUrl,HSubWindowBackData" +
                      ",HSubWindowBackDataMethodName,HSelectContent" +
                      ") values(" +
@@ -156,6 +157,7 @@
                        ",'" + (oSub.HIsMust?1:0) + "'" +
                        ",'" + oSub.HParentElementID + "'" +
                        ",'" + oSub.HElementID + "'" +
                        ",'" + oSub.HElementIDAdditionalName + "'" +
                        ",'" + oSub.HElementLabel + "'" +
                        ",'" + oSub.HElementType + "'" +
                        ",'" + oSub.HFieldMaxLength + "'" +
@@ -226,6 +228,7 @@
                    oSub.HIsMust = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HIsMust"]) == 1 ? true : false;
                    oSub.HParentElementID = DBUtility.ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HParentElementID"]);
                    oSub.HElementID = DBUtility.ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HElementID"]);
                    oSub.HElementIDAdditionalName = DBUtility.ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HElementIDAdditionalName"]);
                    oSub.HElementLabel = DBUtility.ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HElementLabel"]);
                    oSub.HElementType = DBUtility.ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HElementType"]);
                    oSub.HFieldMaxLength = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HFieldMaxLength"]);