| | |
| | | updatepltUser.jibensalary = pltUser.jibensalary; |
| | | updatepltUser.jintiesalary = pltUser.jintiesalary; |
| | | updatepltUser.geshuiqizheng = pltUser.geshuiqizheng; |
| | | updatepltUser.Yaoqingma = pltUser.Yaoqingma; |
| | | } |
| | | |
| | | _context.SaveChanges(); |
| | |
| | | jintiesalaryName = a.jintiesalary.HasValue ? a.jintiesalary.Value.ToString("F2") : "", |
| | | geshuiqizheng = a.geshuiqizheng, |
| | | geshuiqizhengName = a.geshuiqizheng.HasValue ? a.geshuiqizheng.Value.ToString("F2") : "", |
| | | |
| | | Yaoqingma = a.Yaoqingma, |
| | | } |
| | | ).OrderBy(x => x.Usernumber).ToList(); |
| | | |
| | |
| | | |
| | | |
| | | // query = query.OrderByDescending(x => x.Modifytime).ToList(); |
| | | if (searchEntity.totalrows == 0) |
| | | //if (searchEntity.totalrows == 0) |
| | | searchEntity.totalrows = query.Count(); |
| | | var userlist = query.Skip((searchEntity.page - 1) * searchEntity.rows).Take(searchEntity.rows).ToList(); |
| | | // list = _mapper.Map<List<PltUserDTO>>(userlist); |