广汽安道拓Acura项目MES后台
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.

202 lines
7.0 KiB

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