yangle
2022-08-19 345adbb14b9a33d444e9c0e84b0c82ba8137d767
DAL/¹¤×ʹÜÀí/ClsPay_PayMentBill.cs
@@ -247,17 +247,17 @@
                    oSub.HPayRemark = DBUtility.ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HPayRemark"]);
                    oSub.HUnPayRemark = DBUtility.ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HUnPayRemark"]);
                    //====自定义列 æ˜¾ç¤º  å¹»
                    oSub.oSelfValue.Clear();
                    foreach (Model.ClsGy_SelfEntry oEntry in omodel.oSelf)
                    {
                        Model.ClsGy_SelfEntryValue oSubValue = new Model.ClsGy_SelfEntryValue();
                        oSubValue.HInterID = oSub.HInterID;
                        oSubValue.HEntryID = oSub.HEntryID;
                        oSubValue.HSQLColumnName = oEntry.HSQLColumnName;
                        oSubValue.HCaption = oEntry.HCaption;
                        oSubValue.HValue =  DsSub.Tables[0].Rows[i][oEntry.HSQLColumnName];
                        oSub.oSelfValue.Add(oSubValue);
                    }
                    //oSub.oSelfValue.Clear();
                    //foreach (Model.ClsGy_SelfEntry oEntry in omodel.oSelf)
                    //{
                    //    Model.ClsGy_SelfEntryValue oSubValue = new Model.ClsGy_SelfEntryValue();
                    //    oSubValue.HInterID = oSub.HInterID;
                    //    oSubValue.HEntryID = oSub.HEntryID;
                    //    oSubValue.HSQLColumnName = oEntry.HSQLColumnName;
                    //    oSubValue.HCaption = oEntry.HCaption;
                    //    oSubValue.HValue =  DsSub.Tables[0].Rows[i][oEntry.HSQLColumnName];
                    //    oSub.oSelfValue.Add(oSubValue);
                    //}
                    //==============
                    DetailColl.Add(oSub);
                }