| | |
| | | { |
| | | where = where.And(p => p.isdelete == false); |
| | | } |
| | | OtherData otherData = new OtherData(); |
| | | //获取数据 |
| | | var list = await _CoreCmsPlanOrderServices.QueryPageAsync(where, orderEx, orderBy, pageCurrent, pageSize, true); |
| | | var list = await _CoreCmsPlanOrderServices.QueryPageAsync(where, orderEx, orderBy, otherData, pageCurrent, pageSize, true); |
| | | |
| | | if (list != null && list.Count > 0) |
| | | { |
| | |
| | | jm.code = 0; |
| | | jm.count = list.TotalCount; |
| | | jm.msg = "数据调用成功!"; |
| | | |
| | | otherData.heji1 = list.Sum(x => x.oldOrderAmount); |
| | | otherData.heji2 = list.Sum(x => x.orderAmount); |
| | | otherData.heji3 = list.Sum(x => x.keYongAmount); |
| | | jm.otherData = otherData; |
| | | |
| | | return jm; |
| | | } |
| | | #endregion |