| | |
| | | |
| | | EC_OrderBasicBLL _eC_OrderBasicBLL = null; |
| | | OA_StaffBLL bll_OA_StaffBLL = null; |
| | | OA_KaipiaoshenqingBLL bLL_OA_KaipiaoshenqingBLL = null; |
| | | |
| | | /// <summary> |
| | | /// 初始化构造 |
| | |
| | | { |
| | | _eC_OrderBasicBLL = new EC_OrderBasicBLL(); |
| | | bll_OA_StaffBLL = new OA_StaffBLL(); |
| | | bLL_OA_KaipiaoshenqingBLL = new OA_KaipiaoshenqingBLL(); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | PageIndex = UCPager1.AspNetPager.CurrentPageIndex |
| | | }; |
| | | IEnumerable<EC_OrderBasic> result = _eC_OrderBasicBLL.SelectModelPage_Financial(pagination, SearchParam); |
| | | foreach (var eC_OrderBasic in result) |
| | | { |
| | | if(eC_OrderBasic.KaipiaoshenqingId.HasValue ) |
| | | { |
| | | var oA_Kaipiaoshenqing = bLL_OA_KaipiaoshenqingBLL.GetModelByKeyid(eC_OrderBasic.KaipiaoshenqingId); |
| | | if (oA_Kaipiaoshenqing == null) |
| | | { |
| | | eC_OrderBasic.KaipiaoshenqingId = null; |
| | | } |
| | | else if (string.IsNullOrEmpty(oA_Kaipiaoshenqing.Fapiaohao)) |
| | | { |
| | | eC_OrderBasic.KaipiaoshenqingId = null; |
| | | } |
| | | } |
| | | } |
| | | |
| | | rptData.DataSource = result; |
| | | rptData.DataBind(); |
| | | |