/// <summary>
        /// 下载已申报报关数据
        /// </summary>
        /// <param name="idList">任务编号列表</param>
        /// <returns>报关数据列表</returns>
        public IEnumerable <CusDeclDataMsg> GetDeclCusData(IEnumerable <string> idList)
        {
            IMessageDataHelper    helper = DataHelperFactory.GetMessageDataHelper();
            List <CusDeclDataMsg> list   = new List <CusDeclDataMsg>();

            foreach (var id in idList)
            {
                list.Add(helper.GetMessageSavedById(id));
            }
            return(list);
        }
        /// <summary>
        /// 下载已申报报关数据
        /// </summary>
        /// <param name="id">任务编号</param>
        /// <returns>报关数据</returns>
        public CusDeclDataMsg GetDeclCusData(string id)
        {
            IMessageDataHelper helper = DataHelperFactory.GetMessageDataHelper();

            return(helper.GetMessageSavedById(id));
        }