public IList <T_YW_CellAndEFile> FindByCellID(String cellID, string ProjectNO) { String stmtId = "T_YW_CellAndEFile.FindByCellID"; MDL.T_YW_CellAndEFile obj = new T_YW_CellAndEFile(); obj.CellID = cellID; obj.ProjectNO = ProjectNO; IList <T_YW_CellAndEFile> result = MyISqlMap.QueryForList <T_YW_CellAndEFile>(stmtId, obj); return(result); }
public IList <T_FileList> FindByParentID(String parentID, string projectNO) { String stmtId = "T_FileList.FindByParentID"; MDL.T_FileList obj = new T_FileList(); obj.ParentID = parentID; obj.ProjectNO = projectNO; IList <T_FileList> result = MyISqlMap.QueryForList <T_FileList>(stmtId, obj); return(result); }
//2011-04-06 导出错误 自定义的资源用表在文件导出时 没有导出 public IList <T_CellAndEFile> FindByFileID(String fileID, string ProjectNO) { String stmtId = "T_CellAndEFile.FindByFileIDNoStatus"; MDL.T_CellAndEFile obj = new T_CellAndEFile(); obj.FileID = fileID; obj.ProjectNO = ProjectNO; IList <T_CellAndEFile> result = MyISqlMap.QueryForList <T_CellAndEFile>(stmtId, obj); return(result);// }
public IList <MDL.T_GdList> FindByProjectNo(string ProjectNo) { String stmtId = "T_GdList.FindByProjectNo"; MDL.T_GdList obj = new MDL.T_GdList(); obj.ProjectNo = ProjectNo; T_Projects_BLL BLL = new T_Projects_BLL(); IList <MDL.T_GdList> result = MyISqlMap.QueryForList <MDL.T_GdList>(stmtId, obj); return(result); }
/// <summary> /// ÐÂÔö˳ÐòºÅÊÇ·ñÖظ´ÑéÖ¤ /// </summary> /// <param name="obj"></param> /// <returns></returns> public bool Exists(T_Point obj) { String stmtId = "T_Point.Exists"; IList <T_Point> result = MyISqlMap.QueryForList <T_Point>(stmtId, obj); if (result.Count == 0) { return(false); } else { return(true); } }
public IList <T_FileListTemplate> FindByArchiveID2(String archiveID, string projectNO) { T_Projects_BLL bll = new T_Projects_BLL(); //T_Projects projects = bll.Find(projectNO); String stmtId = "T_FileListTemplate.FindByArchiveID2"; MDL.T_FileListTemplate obj = new T_FileListTemplate(); //obj.ProjectCategory = projects.ProjectCategory; IList <T_FileListTemplate> result = MyISqlMap.QueryForList <T_FileListTemplate>(stmtId, obj); return(result); }