| | |
| | | updateproject.RecStatus = cooperatecustomCustomer.RecStatus; |
| | | updateproject.Modifier = cooperatecustomCustomer.Modifier; |
| | | updateproject.Modifytime = cooperatecustomCustomer.Modifytime; |
| | | updateproject.Weixin = cooperatecustomCustomer.Weixin; |
| | | |
| | | updateproject.Shifoutianjiaweixin = cooperatecustomCustomer.Shifoutianjiaweixin; |
| | | } |
| | | |
| | | _context.SaveChanges(); |
| | |
| | | && (string.IsNullOrWhiteSpace(searchEntity.Sheng) || a.Sheng == searchEntity.Sheng.Trim()) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.City) || a.City == searchEntity.City.Trim()) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.AreaId) || a.AreaId == searchEntity.AreaId.Trim()) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.Shifouweixin) || (searchEntity.Shifouweixin == "A" && a.Weixin != null) || (searchEntity.Shifouweixin != "A" && a.Weixin == null) ) |
| | | |
| | | |
| | | select new CooperatecustomCustomerDTO |
| | | { |
| | |
| | | Modifier = a.Modifier, |
| | | Modifytime = a.Modifytime, |
| | | CreatetimeName = a.Createtime.ToString("yyyy-MM-dd"), |
| | | Weixin = a.Weixin, |
| | | Shifoutianjiaweixin = a.Shifoutianjiaweixin, |
| | | } |
| | | ).OrderByDescending(x => x.Modifytime).ToList(); |
| | | |