| | |
| | | |
| | | string permissionsSQL = new GwClientDao().GetClientPermissions(_userId, _userType, "GWC"); |
| | | |
| | | List<GwOrder> list = _Dao.LoadInfoList(spId, clientId, compay, flag, startDate, endDate, pageSize, pageIndex, permissionsSQL, out recordCount); |
| | | List<GwOrder> list = _Dao.LoadInfoList(spId, clientId, compay, flag, startDate, endDate.AddDays(1.0), pageSize, pageIndex, permissionsSQL, out recordCount); |
| | | |
| | | string str1 = ""; |
| | | if (list != null && list.Count > 0) |
| | |
| | | |
| | | string permissionsSQL = new GwClientDao().GetClientPermissions(_userId, _userType, "GWC"); |
| | | |
| | | List<GwOrder> list = _Dao.LoadInfoList(spId, clientId, company, flag, startDate, endDate, pageSize, pageIndex, permissionsSQL, out recordCount); |
| | | List<GwOrder> list = _Dao.LoadInfoList(spId, clientId, company, flag, startDate, endDate.AddDays(1.0), pageSize, pageIndex, permissionsSQL, out recordCount); |
| | | |
| | | string str1 = ""; |
| | | if (list != null && list.Count > 0) |
| | |
| | | |
| | | //获取账号信息 |
| | | GwSp gwSp = _GwSpDao.Get(spId); |
| | | int balance = 0; |
| | | Int64 balance = 0; |
| | | if (gwSp == null) |
| | | { |
| | | throw new ArgumentException("账号不存在!"); |
| | |
| | | |
| | | //获取客户信息 |
| | | GwClient gwClient = _GwClientDao.Get(gwSp.ClientID); |
| | | balance = int.Parse(gwClient.Balance.ToString() ); |
| | | balance = Int64.Parse(gwClient.Balance.ToString() ); |
| | | |
| | | //为1-预付费 |
| | | //if (gwSp.ChargeType==1 && (balance + payAmount) < num * basicNum) |