/// <summary>
        ///  是否已扫
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        public bool isScan(AwardsInfoModel awardsInfo)
        {
            bool flag = false;
            View_AwardReceive_BLL bll = viewDi.getBll();
            var id = DESEncrypt.Decrypt(awardsInfo.id, _key);

            flag = bll.isExist(id);
            return(flag);
        }
        public View_AwardReceive_BLL getBll()
        {
            #region Ninject DI依赖注入

            //创建Ninject内核实例  前者为Ikernel接口 ,再用StandardKernel类作为接口的实例化
            IKernel ninjectKernel = new StandardKernel();

            //接口绑定实现接口的实例
            ninjectKernel.Bind <I_View_AwardReceive_DAL>().To <View_AwardReceive_DAL>();

            //获取接口实现
            I_View_AwardReceive_DAL idal = ninjectKernel.Get <I_View_AwardReceive_DAL>();

            //依赖注入-实现接口的实例传给构造函数
            View_AwardReceive_BLL bll = new View_AwardReceive_BLL(idal);

            return(bll);

            #endregion
        }