| | |
| | | && (string.IsNullOrWhiteSpace(searchEntity.Sheng) || zz.Sheng == searchEntity.Sheng.Trim()) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.City) || zz.City == searchEntity.City.Trim()) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.AreaId) || zz.AreaId == searchEntity.AreaId.Trim()) |
| | | |
| | | && (string.IsNullOrWhiteSpace(searchEntity.Viscustomer) || a.Viscustomer == searchEntity.Viscustomer.Trim()) |
| | | select new IntentionVisitDTO |
| | | { |
| | | Id = a.Id, |
| | |
| | | |
| | | return result; |
| | | } |
| | | |
| | | public List<IntentionVisitDTO> GetListsalary(string userid, DateTime datemin, DateTime datemax) |
| | | { |
| | | |
| | | |
| | | // var listCooperVisits = _context.CooperVisits.Where(r => id.Contains(r.Id) && r.RecStatus == "A").Select(x => x.Viscustomer).ToList(); |
| | | |
| | | var listCooperatecustomCustomers = _context.IntentionVisits.Where(r => r.RecStatus == "A" && r.Creater == userid && r.Vistime >= datemin && r.Vistime < datemax).ToList(); |
| | | |
| | | var result = _mapper.Map<List<IntentionVisitDTO>>(listCooperatecustomCustomers); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | return result; |
| | | } |
| | | } |
| | | } |