コード例 #1
0
        //获取属性(明细)集合
        private IList <JIT.CPOS.BS.Entity.PropInfo> GetPropList(string parent_id, string domin)
        {
            var propService = new JIT.CPOS.BS.BLL.PropService(CurrentUserInfo);

            try
            {
                return(propService.GetPropListByParentId(domin, parent_id));
            }
            catch (Exception ex)
            {
                PageLog.Current.Write(ex);
                return(null);
            }
        }
コード例 #2
0
        private IList <JIT.CPOS.BS.Entity.PropInfo> GetPropGroupList(string domin)
        {
            var propService = new JIT.CPOS.BS.BLL.PropService(CurrentUserInfo);
            var grouplist   = new List <JIT.CPOS.BS.Entity.PropInfo>();

            try
            {
                return(propService.GetPropListFirstByDomain(domin));
            }
            catch (Exception ex)
            {
                PageLog.Current.Write(ex);
                return(grouplist);
            }
        }