Пример #1
0
        /// <summary>
        /// 获取产品财产所在地
        /// </summary>
        static public Object GetProductPropertyArea()
        {
            string result = string.Empty;

            try
            {
                #region 获取列表

                BaoxianDataBLL         baoxianDataBLL = new BaoxianDataBLL();
                ProductPropertyAreaReq model          = new ProductPropertyAreaReq();
                model.transNo  = DNTRequest.GetString("transNo");
                model.caseCode = DNTRequest.GetString("caseCode");
                model.areaCode = DNTRequest.GetString("areaCode");
                ProductPropertyAreaResp res = baoxianDataBLL.GetProductPropertyArea(model);

                object obj = new
                {
                    result = true,
                    msg    = "",
                    data   = res.areas,
                };
                result = Newtonsoft.Json.JsonConvert.SerializeObject(obj);

                #endregion
            }
            catch (Exception ex)
            {
                result = DNTRequest.GetResultJson(false, "操作异常,请稍候再试", null);
                Log.WriteLog(" " + ex);
            }
            return(result);
        }
Пример #2
0
        public void ProductPropertyArea()
        {
            BaoxianDataBLL         baoxianDataBLL = new BaoxianDataBLL();
            ProductPropertyAreaReq model          = new ProductPropertyAreaReq();

            model.transNo = UtilityHelper.CommonHelper.OrderNoOne();
            //model.costomKey = "bowangjishi"; //costomKey!=Customkey ?
            model.caseCode = "0001075211202628";
            model.areaCode = "110000";
            var res = baoxianDataBLL.GetProductPropertyArea(model);
        }