GAAS GFrame项目web后台
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.

197 lines
6.9 KiB

  1. // Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
  2. package report
  3. import (
  4. model "LAPP_GAAS_GFrame_BACKEND/models/report"
  5. "LAPP_GAAS_GFrame_BACKEND/services/report/implments"
  6. )
  7. /******************************************************************************
  8. *
  9. * @Interface Name : ArcDisplayInfoService
  10. *-----------------------------------------------------------------------------
  11. *
  12. * @Description : ArcDisplayInfo的服务接口
  13. *
  14. * @Author : 代码生成器创建
  15. *
  16. * @Date : 2021-06-21 11:39:48
  17. *
  18. ******************************************************************************/
  19. type ArcDisplayInfoService interface {
  20. /******************************************************************************
  21. *
  22. * @Function Name : InsertOne
  23. *-----------------------------------------------------------------------------
  24. *
  25. * @Description : 插入一条ArcDisplayInfo
  26. *
  27. * @Function Parameters : 当前访问人员信息
  28. *
  29. * @Function Parameters : 需要插入的ArcDisplayInfo
  30. *
  31. * @Return Value : 执行时发生的错误
  32. *
  33. * @Author : 代码生成器创建
  34. *
  35. * @Date : 2021-06-21 11:39:48
  36. *
  37. ******************************************************************************/
  38. InsertOne(*model.ArcDisplayInfo) error
  39. /******************************************************************************
  40. *
  41. * @Function Name : DeleteOne
  42. *-----------------------------------------------------------------------------
  43. *
  44. * @Description : 删除指定键的ArcDisplayInfo
  45. *
  46. * @Function Parameters : 主键
  47. *
  48. * @Function Parameters : 主键
  49. *
  50. * @Return Value : 执行时发生的错误
  51. *
  52. * @Author : 代码生成器创建
  53. *
  54. * @Date : 2021-06-21 11:39:48
  55. *
  56. ******************************************************************************/
  57. DeleteOne(int, string) error
  58. /******************************************************************************
  59. *
  60. * @Function Name : SelectOne
  61. *-----------------------------------------------------------------------------
  62. *
  63. * @Description : 查找指定键的ArcDisplayInfo
  64. *
  65. * @Function Parameters : 主键
  66. *
  67. * @Function Parameters : 主键
  68. *
  69. * @Return Value : 查找到的ArcDisplayInfo
  70. *
  71. * @Return Value : 执行时发生的错误
  72. *
  73. * @Author : 代码生成器创建
  74. *
  75. * @Date : 2021-06-21 11:39:48
  76. *
  77. ******************************************************************************/
  78. SelectOne(int, string) (*model.ArcDisplayInfo, error)
  79. /******************************************************************************
  80. *
  81. * @Function Name : UpdateOne
  82. *-----------------------------------------------------------------------------
  83. *
  84. * @Description : 修改一条ArcDisplayInfo
  85. *
  86. * @Function Parameters : 当前访问人员信息
  87. *
  88. * @Function Parameters : 需要修改的ArcDisplayInfo
  89. *
  90. * @Return Value : 执行时发生的错误
  91. *
  92. * @Author : 代码生成器创建
  93. *
  94. * @Date : 2021-06-21 11:39:48
  95. *
  96. ******************************************************************************/
  97. UpdateOne(*model.ArcDisplayInfo) error
  98. /******************************************************************************
  99. *
  100. * @Function Name : Insert
  101. *-----------------------------------------------------------------------------
  102. *
  103. * @Description : 插入多条ArcDisplayInfo
  104. *
  105. * @Function Parameters : 当前访问人员信息
  106. *
  107. * @Function Parameters : 需要插入的ArcDisplayInfo列表
  108. *
  109. * @Return Value : 执行时发生的错误
  110. *
  111. * @Author : 代码生成器创建
  112. *
  113. * @Date : 2021-06-21 11:39:48
  114. *
  115. ******************************************************************************/
  116. Insert(*[]model.ArcDisplayInfo) error
  117. /******************************************************************************
  118. *
  119. * @Function Name : Delete
  120. *-----------------------------------------------------------------------------
  121. *
  122. * @Description : 删除多条ArcDisplayInfo
  123. *
  124. * @Function Parameters : 当前访问人员信息
  125. *
  126. * @Function Parameters : 需要删除的ArcDisplayInfo列表
  127. *
  128. * @Return Value : 执行时发生的错误
  129. *
  130. * @Author : 代码生成器创建
  131. *
  132. * @Date : 2021-06-21 11:39:48
  133. *
  134. ******************************************************************************/
  135. Delete(*[]model.ArcDisplayInfo) error
  136. /******************************************************************************
  137. *
  138. * @Function Name : SelectAndPaging
  139. *-----------------------------------------------------------------------------
  140. *
  141. * @Description : 查询ArcDisplayInfo
  142. *
  143. * @Function Parameters : 当前访问人员信息
  144. *
  145. * @Function Parameters : 查询参数
  146. *
  147. * @Return Value : 查询结果
  148. *
  149. * @Return Value : 执行时发生的错误
  150. *
  151. * @Author : 代码生成器创建
  152. *
  153. * @Date : 2021-06-21 11:39:48
  154. *
  155. ******************************************************************************/
  156. Select(map[string]string) (interface{}, error)
  157. /******************************************************************************
  158. *
  159. * @Function Name : Update
  160. *-----------------------------------------------------------------------------
  161. *
  162. * @Description : 修改多条ArcDisplayInfo
  163. *
  164. * @Function Parameters : 当前访问人员信息
  165. *
  166. * @Function Parameters : 需要修改的ArcDisplayInfo列表
  167. *
  168. * @Return Value : 执行时发生的错误
  169. *
  170. * @Author : 代码生成器创建
  171. *
  172. * @Date : 2021-06-21 11:39:48
  173. *
  174. ******************************************************************************/
  175. Update(*[]model.ArcDisplayInfo) error
  176. }
  177. /******************************************************************************
  178. *
  179. * @Function Name : NewArcDisplayInfoService
  180. *-----------------------------------------------------------------------------
  181. *
  182. * @Description : 创建一个ArcDisplayInfoService
  183. *
  184. * @Return Value : ArcDisplayInfoService实例
  185. *
  186. * @Author : 代码生成器创建
  187. *
  188. * @Date : 2021-06-21 11:39:48
  189. *
  190. ******************************************************************************/
  191. func NewArcDisplayInfoService() ArcDisplayInfoService {
  192. return implments.NewArcDisplayInfoServiceImplement()
  193. }