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.2 KiB

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