| | |
| | | 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); |
| | | } |