public void 条件查询封装() { GuidDal.Search(new GuidQuery() { LikeName = RandomName() }); }
public DeleteMain() { ReadJson.Init(); // 设置AutoMapper映射信息 AutoMapperExtension.RegisterAutoMapper(); foreach (var id in GuidDal.SearchSql(pageIndex: 0, pageSize: 6000).Select(e => e.id)) { idList.Enqueue(id); } foreach (var id in GuidDal.Search(new GuidQuery() { IsDelete = true, Page = new QueryPagination { Index = 0, Size = 300 } }).Select(e => e.id)) { delList.Enqueue(id); } }