| | |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | var tbBillList = |
| | | new XJService().getBoardItem(lineNo); |
| | | // 按 itemNo 去重 |
| | | tbBillList = tbBillList.GroupBy(x => x.ItemNo).Select(g => g.First()).ToList(); |
| | | resultInfos.tbBillList = tbBillList; |
| | | return new ResponseResult |
| | | { |
| | |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | var tbBillList = |
| | | new XJService().getPage(queryObj); |
| | | resultInfos.tbBillList = tbBillList; |
| | | var (item, totalCount) = new XJService().getPage(queryObj); |
| | | resultInfos.tbBillList = item; |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = resultInfos |
| | | data = resultInfos, |
| | | TotalCount = totalCount |
| | | }; |
| | | } |
| | | catch (Exception ex) |