You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

105 lines
4.3 KiB

  1. using System;
  2. using System.Data;
  3. using System.Collections.Generic;
  4. namespace OT.IDAL
  5. {
  6. public interface ICommonClass
  7. {
  8. #region 下拉選單
  9. DataSet GetDDLModuleList(string UserRoleId);
  10. DataSet GetProgramListByModuleID(string ModuleID, string UserRoleId);
  11. //DataSet GetNAMEByGROUP_ID(string strGROUP_ID);
  12. //DataSet GetDescriptoinList(string ProjectDetailID);
  13. //DataSet GetJobNameList(string ProjectDetailID);
  14. //DataSet GetPJMgDpByProjectID(string ProjectID);
  15. //DataSet GetGROUP_NAMEList(string CreateUser);
  16. //DataSet GetIndustryClassList(string NULL);
  17. //DataSet GetSatisfiedList(string NULL);
  18. //DataSet GetOrderHStatusList();
  19. //DataSet GetProjectStatusList();
  20. ///// <summary>
  21. ///// 獲取專案管理入場方式列表
  22. ///// </summary>
  23. //DataSet GetInRoomClassList();
  24. ///// <summary>
  25. ///// 獲取店家資料對外服務列表
  26. ///// </summary>
  27. //DataSet GetForeignServiceList();
  28. DataSet GetUSERACCOUNTList(string NULL);
  29. DataSet GetChinWDCCOUNTList(string NULL);
  30. //DataSet GetPlaceRoomIDList();
  31. //DataSet GetEquipmentNameListByEquipmentClass(string EquipmentClassID);
  32. //DataSet GetJobNameListByJobItem(string JobItem);
  33. //DataSet GetPlaceRoomByProjectID(string ProjectID);
  34. //DataSet GetProjectPlaceRoomName(string ProjectID);
  35. //DataSet GetBuildingByLoginUserGuid(string LoginUserGuid);
  36. //DataSet GetEventTypeNameByParentID(string ParentID);
  37. #endregion
  38. #region 取流水號
  39. int GetArgumentMaxNumber(string ArgumentClassID, string ArgumentID, string ModifyUser);
  40. int GetArgumentClassMaxNumber(string ArgumentClassID, string ModifyUser);
  41. #endregion
  42. #region 取程式列表
  43. #region GetProgramListByRuleId
  44. /// <summary>
  45. /// 依據角色ID取得程式列表信息
  46. /// </summary>
  47. /// <param name="strRuleId">角色ID</param>
  48. /// <returns>程式列表信息</returns>
  49. DataSet GetProgramListByRuleId(string strRuleId);
  50. #endregion
  51. #endregion
  52. #region 取Text的值
  53. string GetDate();
  54. DataSet GetArgumentListByArgumentClassID(string strArgumentClassID);
  55. int GetMaxNumberByType(string Type, string Flag, string ModifyUser);
  56. DataSet GetFileListBySourceRelationID(string SourceRelationID);
  57. /// <summary>
  58. /// 通過專案編號獲取該專案中所有合約的附件資料列表
  59. /// </summary>
  60. DataSet GetContractListFileListByProjectID(string ProjectID);
  61. /// <summary>
  62. /// 獲得資料列表
  63. /// </summary>
  64. DataSet GetList(int StartRecordIndex, int EndRecordIndex, string CustomerClass, string CustomerID, string CustomerName, string ContectName, string TEL, string TaxNumber, string Status, string SortExpression);
  65. /// <summary>
  66. /// 更新排序欄位
  67. /// </summary>
  68. bool UpdateOrderByValue(string OldOrderByValue, string NewOrderByValue, string FeildName, string MDFUserFeild, string ModifyUser, string MDFDateFeild, string TableName, string Where1, string Where2);
  69. #endregion
  70. string GetSystemSetting(string strItem, string SettingValueOrMemo);
  71. DataSet GetTrWord(string strWhere);
  72. #region 共用型更改MemberID
  73. /// <summary>
  74. /// 共用型更改MemberID
  75. /// Create by Gary 2014/08/13
  76. /// </summary>
  77. /// <param name="strTableName">資料表名稱</param>
  78. /// <param name="strMemberField">MemberField欄位名稱</param>
  79. /// <param name="strMemberID">新的MemberID</param>
  80. /// <param name="strModifyField">更改人欄位</param>
  81. /// <param name="strUserID">更改人ID</param>
  82. /// <param name="strModifyDateField">更改時間欄位</param>
  83. /// <param name="strWhere">Where條件,請務必給正確的條件,以免更新錯誤</param>
  84. /// <returns>是否更新成功</returns>
  85. /// 使用地方: ChangeMember_Pop.aspx.cs by Gary 2014/08/13
  86. bool UpdateMemberID(string strTableName, string strMemberField, string strMemberID, string strModifyField, string strUserID, string strModifyDateField, string strWhere);
  87. #endregion
  88. }
  89. }