| | |
| | | private readonly IOrderBanciDtlService _orderBanciDtlService; |
| | | private readonly IOrderBanciOrderService _orderBanciOrderService; |
| | | private readonly IFiOrderrecievemoneyService _fiOrderrecievemoneyService; |
| | | private readonly ICooperOrderService _cooperOrderService; |
| | | |
| | | public OrderBanciOrderController(ILogger<OrderBanciOrderController> logger, ILiaotianService liaotianService, IOrderBanciService orderBanciService, IOrderBanciDtlService orderBanciDtlService |
| | | ,IOrderBanciOrderService orderBanciOrderService |
| | | , IFiOrderrecievemoneyService fiOrderrecievemoneyService) |
| | | , IFiOrderrecievemoneyService fiOrderrecievemoneyService |
| | | , ICooperOrderService cooperOrderService) |
| | | { |
| | | _logger = logger; |
| | | _liaotianService = liaotianService; |
| | |
| | | _orderBanciDtlService = orderBanciDtlService; |
| | | _fiOrderrecievemoneyService = fiOrderrecievemoneyService; |
| | | _orderBanciOrderService = orderBanciOrderService; |
| | | _cooperOrderService = cooperOrderService; |
| | | } |
| | | |
| | | [CheckLogin] |
| | |
| | | } |
| | | |
| | | [CheckLogin] |
| | | public IActionResult Printhetong(string id = null) |
| | | { |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | |
| | | //投诉书 |
| | | var orderBanciOrderDTO = _orderBanciOrderService.Get(id); |
| | | |
| | | |
| | | var frameworkUser = _cooperOrderService.GetFrameworkUsers(orderBanciOrderDTO.PersonId); |
| | | if (frameworkUser != null) |
| | | { |
| | | orderBanciOrderDTO.Xingming = frameworkUser.Name; |
| | | orderBanciOrderDTO.Lianxidianhua = frameworkUser.Itcode; |
| | | } |
| | | |
| | | |
| | | |
| | | ViewData.Model = orderBanciOrderDTO; |
| | | return View(); |
| | | } |
| | | |
| | | [CheckLogin] |
| | | public IActionResult print(OrderBanciOrderDTOSearch search) |
| | | { |
| | | //JsonResult jsonResult = new JsonResult(_liaotianService.SearchByPaging(search), new Newtonsoft.Json.Serialization.DefaultContractResolver()); |