IBatchModifyServices.cs 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using EMIS.Entities;
  6. namespace EMIS.CommonLogic.SystemServices
  7. {
  8. public interface IBatchModifyServices
  9. {
  10. /// <summary>
  11. /// 根据mnuID(页面ID)获取设置信息
  12. /// </summary>
  13. /// <param name="mnuID">页面ID</param>
  14. /// <returns></returns>
  15. List<Sys_BatchModify> GetBatchModifyList(string mnuID);
  16. /// <summary>
  17. /// 获取配置扩展表
  18. /// </summary>
  19. /// <param name="BatchModifyID"></param>
  20. /// <returns></returns>
  21. List<Sys_BatchModifyExpand> GetBatchModifyExpandList(Guid? BatchModifyID);
  22. /// <summary>
  23. /// 批量修改
  24. /// </summary>
  25. /// <param name="tableName">表名</param>
  26. /// <param name="columnName">修改的列名</param>
  27. /// <param name="value">修改的值</param>
  28. /// <param name="list">要修改的数据ID</param>
  29. /// <returns></returns>
  30. bool BatchUpdate(string tableName, string columnName, object value, List<Guid> list);
  31. /// <summary>
  32. /// 批量修改(修改前后需执行特定方法)
  33. /// </summary>
  34. /// <param name="tableName">表名</param>
  35. /// <param name="columnName">修改的列名</param>
  36. /// <param name="value">修改的值</param>
  37. /// <param name="list">要修改的数据ID</param>
  38. /// <returns></returns>
  39. bool BatchUpdate(string mnuID, string tableName, string columnName, object value, List<Guid> list);
  40. /// <summary>
  41. /// 批量修改事件配置
  42. /// </summary>
  43. /// <param name="mnuID"></param>
  44. Dictionary<string, string> GetBatchModifyEvents(string mnuID, string munClass, string columnName);
  45. }
  46. }