public string GetPayList(request <Entity.SRequest.getPayList> getPayList)
        {
            if (getPayList == null)
            {
                return(RsXmlHelper.ResXml(-1, "XML格式错误"));
            }

            var para = CodeConvertUtils.GetCardTypeByType(Convert.ToInt32(getPayList.model.patCardType));

            var ptInfo   = feeinfoBLL.GetFee_Infos(para, getPayList.model.patCardNo);
            var itemList = feeinfoBLL.GetPayItems(ptInfo.pid);

            if (itemList != null && itemList.Count > 0)
            {
                return(XMLHelper.XmlSerialize(new response <Entity.SResponse.getPayList>()
                {
                    model = new Entity.SResponse.getPayList()
                    {
                        resultCode = 0,
                        item = itemList
                    }
                }));
            }
            else
            {
                return(XMLHelper.XmlSerialize(new response <Entity.SResponse.getPayList>()
                {
                    model = new Entity.SResponse.getPayList()
                    {
                        resultCode = 1,
                        resultMessage = "暂无数据"
                    }
                }));
            }
        }
Example #2
0
        public List <Entity.SResponse.MZFeeList> GetMZFeeLists(int cardType, string cardNo, string beginDate, string endDate)
        {
            var para = CodeConvertUtils.GetCardTypeByType(cardType);

            para += " = '" + cardNo + "'";

            return(iOrderinfo.GetMZFeeLists(para));
        }