Exemple #1
0
        public async Task <PagingResponseMessage <ChargeInfoResponse> > Search(UserInfo User, [FromBody] ChargeSearchRequest request, [FromQuery] string permissionId)
        {
            var r = new PagingResponseMessage <ChargeInfoResponse>();

            try
            {
                r = await _chargeManager.Search(User, request, permissionId);
            }
            catch (Exception e)
            {
                r.Code    = ResponseCodeDefines.ServiceError;
                r.Message = "服务器错误:" + e.Message;
                Logger.Error("查询报销单失败:\r\n{0}", e.ToString());
            }
            return(r);
        }