| | |
| | | str1 = str1 + "<td>" + bean.GivingNum + "</td>"; |
| | | str1 = str1 + string.Format("<td>{0}元/条</td>", (object)(Convert.ToDecimal(bean.Price) / new Decimal(1000))); |
| | | str1 = str1 + "<td>" + bean.OrderNumTotal + "</td>"; |
| | | str1 = str1 + string.Format("<td>{0}元</td>", (object)(Convert.ToDecimal(bean.OrderAmountTotal) / new Decimal(1000)));; |
| | | str1 = str1 + string.Format("<td>{0}元</td>", (object)(Convert.ToDecimal(bean.OrderAmountTotal) / new Decimal(1000))); |
| | | str1 = str1 + string.Format("<td>{0}元</td>", (object)(Convert.ToDecimal(bean.PayAmount) / new Decimal(1000))); |
| | | str1 = str1 + "<td>" + bean.BeforeBalanceNum + "</td>"; |
| | | str1 = str1 + "<td>" + bean.Creator + "</td>"; |
| | | str1 = str1 + "<td>" + bean.CreateTime + "</td>"; |
| | |
| | | str1 = str1 + "<td>" + bean.GivingNum + "</td>"; |
| | | str1 = str1 + string.Format("<td>{0}元/条</td>", (object)(Convert.ToDecimal(bean.Price) / new Decimal(1000))); |
| | | str1 = str1 + "<td>" + bean.OrderNumTotal + "</td>"; |
| | | str1 = str1 + string.Format("<td>{0}元</td>", (object)(Convert.ToDecimal(bean.OrderAmountTotal) / new Decimal(1000)));; |
| | | str1 = str1 + string.Format("<td>{0}元</td>", (object)(Convert.ToDecimal(bean.OrderAmountTotal) / new Decimal(1000))); |
| | | str1 = str1 + string.Format("<td>{0}元</td>", (object)(Convert.ToDecimal(bean.PayAmount) / new Decimal(1000))); |
| | | str1 = str1 + "<td>" + bean.BeforeBalanceNum + "</td>"; |
| | | str1 = str1 + "<td>" + bean.Creator + "</td>"; |
| | | str1 = str1 + "<td>" + bean.CreateTime + "</td>"; |
| | |
| | | string clientId = context.GetString("clientId"); |
| | | string clientName = context.GetString("clientName"); |
| | | int flag = context.GetInt("flag"); |
| | | //string startDate = context.GetString("startDate"); |
| | | //string endDate = context.GetString("endDate"); |
| | | DateTime startDate = context.GetDateTime("startDate"); |
| | | DateTime endDate = context.GetDateTime("endDate"); |
| | | |
| | |
| | | int pageSize = context.GetInt("pageSize", 50); |
| | | int pageIndex = context.GetInt("pageIndex", 1); |
| | | |
| | | List<GwOrder> list = _Dao.LoadInfoList(spId, clientId, clientName, flag, startDate, endDate, pageSize, pageIndex, out recordCount); |
| | | //List<GwOrder> list = _Dao.LoadInfoList(spId, clientId, clientName, flag, Convert.ToDateTime(startDate), Convert.ToDateTime(endDate).AddDays(1.0), pageSize, pageIndex, out recordCount); |
| | | List<GwOrder> list = _Dao.LoadInfoList(spId, clientId, clientName, flag, startDate, endDate.AddDays(1.0), pageSize, pageIndex, out recordCount); |
| | | |
| | | string str1 = ""; |
| | | if (list != null && list.Count > 0) |
| | |
| | | str1 = str1 + "<td>" + bean.GivingNum + "</td>"; |
| | | str1 = str1 + string.Format("<td>{0}元/条</td>", (object)(Convert.ToDecimal(bean.Price) / new Decimal(1000))); |
| | | str1 = str1 + "<td>" + bean.OrderNumTotal + "</td>"; |
| | | str1 = str1 + string.Format("<td>{0}元</td>", (object)(Convert.ToDecimal(bean.OrderAmountTotal) / new Decimal(1000)));; |
| | | str1 = str1 + string.Format("<td>{0}元</td>", (object)(Convert.ToDecimal(bean.OrderAmountTotal) / new Decimal(1000))); |
| | | str1 = str1 + string.Format("<td>{0}元</td>", (object)(Convert.ToDecimal(bean.PayAmount) / new Decimal(1000))); |
| | | str1 = str1 + "<td>" + bean.BeforeBalanceNum + "</td>"; |
| | | str1 = str1 + "<td>" + bean.Creator + "</td>"; |
| | | str1 = str1 + "<td>" + bean.CreateTime + "</td>"; |
| | |
| | | DateTime createTime = DateTime.Now; |
| | | string creator = context.OperatorID; |
| | | |
| | | int tmpPayAmount = Math.Max((int) (context.GetDecimal("payAmount", new Decimal(4, 0, 0, false, (byte) 2)) * new Decimal(1000)), 1); |
| | | int tmpPayAmount = Math.Max((int) (context.GetDecimal("payAmount", new Decimal(4, 0, 0, false, (byte) 2)) * new Decimal(1000)), 0); |
| | | payAmount = tmpPayAmount; |
| | | int num = Math.Max((int) (context.GetDecimal("price", new Decimal(4, 0, 0, false, (byte) 2)) * new Decimal(1000)), 1); |
| | | int num = Math.Max((int) (context.GetDecimal("price", new Decimal(4, 0, 0, false, (byte) 2)) * new Decimal(1000)), 0); |
| | | price = num; |
| | | |
| | | //校验 |
| | |
| | | DateTime createTime = DateTime.Now; |
| | | string creator = context.OperatorID; |
| | | |
| | | int tmpPayAmount = Math.Max((int) (context.GetDecimal("payAmount", new Decimal(4, 0, 0, false, (byte) 2)) * new Decimal(1000)), 1); |
| | | int tmpPayAmount = Math.Max((int) (context.GetDecimal("payAmount", new Decimal(4, 0, 0, false, (byte) 2)) * new Decimal(1000)), 0); |
| | | payAmount = tmpPayAmount; |
| | | |
| | | int num = Math.Max((int) (context.GetDecimal("price", new Decimal(4, 0, 0, false, (byte) 2)) * new Decimal(1000)), 1); |
| | | int num = Math.Max((int) (context.GetDecimal("price", new Decimal(4, 0, 0, false, (byte) 2)) * new Decimal(1000)), 0); |
| | | price = num; |
| | | |
| | | //校验 |