广汽安道拓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.

235 lines
8.4 KiB

  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. "LAPP_ACURA_MOM_BACKEND/grmi"
  6. model "LAPP_ACURA_MOM_BACKEND/models/me"
  7. "LAPP_ACURA_MOM_BACKEND/services/me/implments"
  8. )
  9. /******************************************************************************
  10. *
  11. * @Interface Name : ShipableAUConfigService
  12. *-----------------------------------------------------------------------------
  13. *
  14. * @Description : ShipableAUConfig的服务接口
  15. *
  16. * @Author : 代码生成器创建
  17. *
  18. * @Date : 2022-02-24 09:49:31
  19. *
  20. ******************************************************************************/
  21. type ShipableAUConfigService interface {
  22. /******************************************************************************
  23. *
  24. * @Function Name : InsertOne
  25. *-----------------------------------------------------------------------------
  26. *
  27. * @Description : 插入一条ShipableAUConfig
  28. *
  29. * @Function Parameters : 当前访问人员信息
  30. *
  31. * @Function Parameters : 需要插入的ShipableAUConfig
  32. *
  33. * @Return Value : 执行时发生的错误
  34. *
  35. * @Author : 代码生成器创建
  36. *
  37. * @Date : 2022-02-24 09:49:31
  38. *
  39. ******************************************************************************/
  40. InsertOne(*global.User, *model.ShipableAUConfig) error
  41. /******************************************************************************
  42. *
  43. * @Function Name : DeleteOne
  44. *-----------------------------------------------------------------------------
  45. *
  46. * @Description : 删除指定键的ShipableAUConfig
  47. *
  48. * @Function Parameters : 主键
  49. *
  50. * @Return Value : 执行时发生的错误
  51. *
  52. * @Author : 代码生成器创建
  53. *
  54. * @Date : 2022-02-24 09:49:31
  55. *
  56. ******************************************************************************/
  57. DeleteOne(*global.User, string) error
  58. /******************************************************************************
  59. *
  60. * @Function Name : SelectOne
  61. *-----------------------------------------------------------------------------
  62. *
  63. * @Description : 查找指定键的ShipableAUConfig
  64. *
  65. * @Function Parameters : 主键
  66. *
  67. * @Return Value : 查找到的ShipableAUConfig
  68. *
  69. * @Return Value : 执行时发生的错误
  70. *
  71. * @Author : 代码生成器创建
  72. *
  73. * @Date : 2022-02-24 09:49:31
  74. *
  75. ******************************************************************************/
  76. SelectOne(*global.User, string) (*model.ShipableAUConfig, error)
  77. /******************************************************************************
  78. *
  79. * @Function Name : UpdateOne
  80. *-----------------------------------------------------------------------------
  81. *
  82. * @Description : 修改一条ShipableAUConfig
  83. *
  84. * @Function Parameters : 当前访问人员信息
  85. *
  86. * @Function Parameters : 需要修改的ShipableAUConfig
  87. *
  88. * @Return Value : 执行时发生的错误
  89. *
  90. * @Author : 代码生成器创建
  91. *
  92. * @Date : 2022-02-24 09:49:31
  93. *
  94. ******************************************************************************/
  95. UpdateOne(*global.User, *model.ShipableAUConfig) error
  96. /******************************************************************************
  97. *
  98. * @Function Name : Insert
  99. *-----------------------------------------------------------------------------
  100. *
  101. * @Description : 插入多条ShipableAUConfig
  102. *
  103. * @Function Parameters : 当前访问人员信息
  104. *
  105. * @Function Parameters : 需要插入的ShipableAUConfig列表
  106. *
  107. * @Return Value : 执行时发生的错误
  108. *
  109. * @Author : 代码生成器创建
  110. *
  111. * @Date : 2022-02-24 09:49:31
  112. *
  113. ******************************************************************************/
  114. Insert(*global.User, *[]model.ShipableAUConfig) error
  115. /******************************************************************************
  116. *
  117. * @Function Name : Delete
  118. *-----------------------------------------------------------------------------
  119. *
  120. * @Description : 删除多条ShipableAUConfig
  121. *
  122. * @Function Parameters : 当前访问人员信息
  123. *
  124. * @Function Parameters : 需要删除的ShipableAUConfig列表
  125. *
  126. * @Return Value : 执行时发生的错误
  127. *
  128. * @Author : 代码生成器创建
  129. *
  130. * @Date : 2022-02-24 09:49:31
  131. *
  132. ******************************************************************************/
  133. Delete(*global.User, *[]model.ShipableAUConfig) error
  134. /******************************************************************************
  135. *
  136. * @Function Name : Select
  137. *-----------------------------------------------------------------------------
  138. *
  139. * @Description : 查询ShipableAUConfig
  140. *
  141. * @Function Parameters : 当前访问人员信息
  142. *
  143. * @Function Parameters : 查询参数
  144. *
  145. * @Return Value : 查询结果
  146. *
  147. * @Return Value : 执行时发生的错误
  148. *
  149. * @Author : 代码生成器创建
  150. *
  151. * @Date : 2022-02-24 09:49:31
  152. *
  153. ******************************************************************************/
  154. Select(*global.User, map[string]string) ([]model.ShipableAUConfig, error)
  155. /******************************************************************************
  156. *
  157. * @Function Name : SelectAndPaging
  158. *-----------------------------------------------------------------------------
  159. *
  160. * @Description : 查询ShipableAUConfig
  161. *
  162. * @Function Parameters : 当前访问人员信息
  163. *
  164. * @Function Parameters : 查询参数
  165. *
  166. * @Return Value : 查询结果
  167. *
  168. * @Return Value : 执行时发生的错误
  169. *
  170. * @Author : 代码生成器创建
  171. *
  172. * @Date : 2022-02-24 09:49:31
  173. *
  174. ******************************************************************************/
  175. SelectAndPaging(*global.User, map[string]string) (grmi.PagingResult, error)
  176. /******************************************************************************
  177. *
  178. * @Function Name : Update
  179. *-----------------------------------------------------------------------------
  180. *
  181. * @Description : 修改多条ShipableAUConfig
  182. *
  183. * @Function Parameters : 当前访问人员信息
  184. *
  185. * @Function Parameters : 需要修改的ShipableAUConfig列表
  186. *
  187. * @Return Value : 执行时发生的错误
  188. *
  189. * @Author : 代码生成器创建
  190. *
  191. * @Date : 2022-02-24 09:49:31
  192. *
  193. ******************************************************************************/
  194. Update(*global.User, *[]model.ShipableAUConfig) error
  195. /******************************************************************************
  196. *
  197. * @Function Name : Save
  198. *-----------------------------------------------------------------------------
  199. *
  200. * @Description : 保存ShipableAUConfig
  201. *
  202. * @Function Parameters : 当前访问人员信息
  203. *
  204. * @Function Parameters : ShipableAUConfig
  205. *
  206. * @Return Value : 执行时发生的错误
  207. *
  208. * @Author : zhangxin
  209. *
  210. * @Date : 2022-02-24
  211. *
  212. ******************************************************************************/
  213. Save(user *global.User, entity *model.ShipableAUConfig) error
  214. }
  215. /******************************************************************************
  216. *
  217. * @Function Name : NewShipableAUConfigService
  218. *-----------------------------------------------------------------------------
  219. *
  220. * @Description : 创建一个ShipableAUConfigService
  221. *
  222. * @Return Value : ShipableAUConfigService实例
  223. *
  224. * @Author : 代码生成器创建
  225. *
  226. * @Date : 2022-02-24 09:49:31
  227. *
  228. ******************************************************************************/
  229. func NewShipableAUConfigService() ShipableAUConfigService {
  230. return implments.NewShipableAUConfigServiceImplement()
  231. }