/// <summary> /// 检查实体是否存在 /// </summary> /// <param name="predicate"></param> /// <param name="id"></param> /// <returns></returns> public bool CheckTaskDetailedInfoExists(Expression <Func <TaskDetailedInfo, bool> > predicate, Guid id) { return(TaskDetailedInfoRepository.CheckExists(predicate, id)); }