RegCreateRcvSV.sql 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641
  1. DECLARE @StartSN BIGINT
  2. IF (NOT EXISTS (SELECT ID FROM BC_CreateDocSVMessageBE WHERE OperatorKey = 'CreateRcvRptDocCostWithPackage'))
  3. BEGIN
  4. EXECUTE AllocSerials 1,@StartSN OUTPUT
  5. INSERT INTO BC_CreateDocSVMessageBE (
  6. [ID],
  7. [CreatedOn],
  8. [CreatedBy],
  9. [SysVersion],
  10. [DocType],
  11. [ServeName],
  12. [ParamName],
  13. [DtoListName],
  14. [DtoName],
  15. [RestServeType], --0,条码解析 1,后台具体生单服务
  16. [IfCustomerDef], --标识是否客开插入 0:标准产品 1:客开
  17. [OperatorKey], --操作key, 唯一索引:前台传递到后台,用来匹配具体配置的,PDA端就需要传递
  18. [ServerDLLName], --服务DLLName
  19. [ServerDLLPath], --服务DLLPath+DLLName
  20. [DTODLLName], --参数DTODLLName
  21. [DTODLLPath] --参数DTODLLPath+Name
  22. )
  23. VALUES (
  24. @StartSN,
  25. GETDATE(),
  26. 'cust',
  27. 1,
  28. 9,
  29. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.CreateRcvRptDocCostWithPackage',
  30. 'LineDTOs',
  31. 'List<UFIDA.U9.ISV.Mobile.MO.RcvRptDocCostDTOData>',
  32. 'UFIDA.U9.ISV.Mobile.MO.RcvRptDocCostDTOData',
  33. 0,
  34. 1,
  35. 'CreateRcvRptDocCostWithPackage', --操作Key
  36. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  37. 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  38. 'UFIDA.U9.ISV.MobileAppsISV.Deploy.dll',
  39. 'ApplicationServer\Libs\UFIDA.U9.ISV.MobileAppsISV.Deploy.dll'
  40. )
  41. END ELSE
  42. BEGIN
  43. UPDATE BC_CreateDocSVMessageBE SET
  44. [DocType] = 9,
  45. [ServeName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.CreateRcvRptDocCostWithPackage',
  46. [ParamName] = 'LineDTOs',
  47. [DtoListName] = 'List<UFIDA.U9.ISV.Mobile.MO.RcvRptDocCostDTOData>',
  48. [DtoName] = 'UFIDA.U9.ISV.Mobile.MO.RcvRptDocCostDTOData',
  49. [RestServeType] = 0,
  50. [IfCustomerDef] = 1,
  51. [ServerDLLName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  52. [ServerDLLPath] = 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  53. [DTODLLName] = 'UFIDA.U9.ISV.MobileAppsISV.Deploy.dll',
  54. [DTODLLPath] = 'ApplicationServer\Libs\UFIDA.U9.ISV.MobileAppsISV.Deploy.dll'
  55. WHERE OperatorKey = 'CreateRcvRptDocCostWithPackage'
  56. END
  57. IF (NOT EXISTS (SELECT ID FROM BC_CreateDocSVMessageBE WHERE OperatorKey = 'POToRcvBCSVWithPackage'))
  58. BEGIN
  59. -- DECLARE @StartSN BIGINT;
  60. EXECUTE AllocSerials 1,@StartSN OUTPUT
  61. INSERT INTO BC_CreateDocSVMessageBE (
  62. [ID],
  63. [CreatedOn],
  64. [CreatedBy],
  65. [SysVersion],
  66. [DocType],
  67. [ServeName],
  68. [ParamName],
  69. [DtoListName],
  70. [DtoName],
  71. [RestServeType], --0,条码解析 1,后台具体生单服务
  72. [IfCustomerDef], --标识是否客开插入 0:标准产品 1:客开
  73. [OperatorKey], --操作key, 唯一索引:前台传递到后台,用来匹配具体配置的,PDA端就需要传递
  74. [ServerDLLName], --服务DLLName
  75. [ServerDLLPath], --服务DLLPath+DLLName
  76. [DTODLLName], --参数DTODLLName
  77. [DTODLLPath] --参数DTODLLPath+Name
  78. )
  79. VALUES (
  80. @StartSN,
  81. GETDATE(),
  82. 'cust',
  83. 1,
  84. 0,
  85. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.POToRcvBCSVWithPackage',
  86. 'SrcDocBarCodes',
  87. 'List<UFIDA.U9.ISV.Mobile.PM.POToRcvBCDTOData>',
  88. 'UFIDA.U9.ISV.Mobile.PM.POToRcvBCDTOData',
  89. 0,
  90. 1,
  91. 'POToRcvBCSVWithPackage', --操作Key
  92. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  93. 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  94. 'UFIDA.U9.ISV.MobileAppsISV.Deploy.dll',
  95. 'ApplicationServer\Libs\UFIDA.U9.ISV.MobileAppsISV.Deploy.dll'
  96. )
  97. END ELSE
  98. BEGIN
  99. UPDATE BC_CreateDocSVMessageBE SET
  100. [DocType] = 0,
  101. [ServeName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.POToRcvBCSVWithPackage',
  102. [ParamName] = 'SrcDocBarCodes',
  103. [DtoListName] = 'List<UFIDA.U9.ISV.Mobile.PM.POToRcvBCDTOData>',
  104. [DtoName] = 'UFIDA.U9.ISV.Mobile.PM.POToRcvBCDTOData',
  105. [RestServeType] = 0,
  106. [IfCustomerDef] = 1,
  107. [ServerDLLName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  108. [ServerDLLPath] = 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  109. [DTODLLName] = 'UFIDA.U9.ISV.MobileAppsISV.Deploy.dll',
  110. [DTODLLPath] = 'ApplicationServer\Libs\UFIDA.U9.ISV.MobileAppsISV.Deploy.dll'
  111. WHERE OperatorKey = 'POToRcvBCSVWithPackage'
  112. END
  113. IF (NOT EXISTS (SELECT ID FROM BC_CreateDocSVMessageBE WHERE OperatorKey = 'CreateDocByQuickTransInWithPackage'))
  114. BEGIN
  115. -- DECLARE @StartSN BIGINT;
  116. EXECUTE AllocSerials 1,@StartSN OUTPUT
  117. INSERT INTO BC_CreateDocSVMessageBE (
  118. [ID],
  119. [CreatedOn],
  120. [CreatedBy],
  121. [SysVersion],
  122. [DocType],
  123. [ServeName],
  124. [ParamName],
  125. [DtoListName],
  126. [DtoName],
  127. [RestServeType], --0,条码解析 1,后台具体生单服务
  128. [IfCustomerDef], --标识是否客开插入 0:标准产品 1:客开
  129. [OperatorKey], --操作key, 唯一索引:前台传递到后台,用来匹配具体配置的,PDA端就需要传递
  130. [ServerDLLName], --服务DLLName
  131. [ServerDLLPath], --服务DLLPath+DLLName
  132. [DTODLLName], --参数DTODLLName
  133. [DTODLLPath] --参数DTODLLPath+Name
  134. )
  135. VALUES (
  136. @StartSN,
  137. GETDATE(),
  138. 'cust',
  139. 1,
  140. 4,
  141. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.CreateDocByQuickTransInWithPackage',
  142. 'ParamInList',
  143. 'System.Collections.Generic.List`1[UFIDA.U9.BC.QuickTransIn.CreateDocParamDTOData]',
  144. 'UFIDA.U9.BC.QuickTransIn.CreateDocParamDTOData',
  145. 1,
  146. 1,
  147. 'CreateDocByQuickTransInWithPackage', --操作Key
  148. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  149. 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  150. 'UFIDA.U9.BC.BCRestSV.Deploy.dll',
  151. 'ApplicationServer\Libs\UFIDA.U9.BC.BCRestSV.Deploy.dll'
  152. )
  153. END ELSE
  154. BEGIN
  155. UPDATE BC_CreateDocSVMessageBE SET
  156. [DocType] = 4,
  157. [ServeName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.CreateDocByQuickTransInWithPackage',
  158. [ParamName] = 'ParamInList',
  159. [DtoListName] = 'System.Collections.Generic.List`1[UFIDA.U9.BC.QuickTransIn.CreateDocParamDTOData]',
  160. [DtoName] = 'UFIDA.U9.BC.QuickTransIn.CreateDocParamDTOData',
  161. [RestServeType] = 1,
  162. [IfCustomerDef] = 1,
  163. [ServerDLLName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  164. [ServerDLLPath] = 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  165. [DTODLLName] = 'UFIDA.U9.BC.BCRestSV.Deploy.dll',
  166. [DTODLLPath] = 'ApplicationServer\Libs\UFIDA.U9.BC.BCRestSV.Deploy.dll'
  167. WHERE OperatorKey = 'CreateDocByQuickTransInWithPackage'
  168. END
  169. IF (NOT EXISTS (SELECT ID FROM BC_CreateDocSVMessageBE WHERE OperatorKey = 'CreateMiscRcvTransWithPackage'))
  170. BEGIN
  171. -- DECLARE @StartSN BIGINT;
  172. EXECUTE AllocSerials 1,@StartSN OUTPUT
  173. INSERT INTO BC_CreateDocSVMessageBE (
  174. [ID],
  175. [CreatedOn],
  176. [CreatedBy],
  177. [SysVersion],
  178. [DocType],
  179. [ServeName],
  180. [ParamName],
  181. [DtoListName],
  182. [DtoName],
  183. [RestServeType], --0,条码解析 1,后台具体生单服务
  184. [IfCustomerDef], --标识是否客开插入 0:标准产品 1:客开
  185. [OperatorKey], --操作key, 唯一索引:前台传递到后台,用来匹配具体配置的,PDA端就需要传递
  186. [ServerDLLName], --服务DLLName
  187. [ServerDLLPath], --服务DLLPath+DLLName
  188. [DTODLLName], --参数DTODLLName
  189. [DTODLLPath] --参数DTODLLPath+Name
  190. )
  191. VALUES (
  192. @StartSN,
  193. GETDATE(),
  194. 'cust',
  195. 1,
  196. 0,
  197. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.CreateMiscRcvTransWithPackage',
  198. 'LineDTOs',
  199. 'List<UFIDA.U9.ISV.INV.MiscShipmentLineDTOData>',
  200. 'UFIDA.U9.ISV.INV.MiscShipmentLineDTOData',
  201. 1,
  202. 1,
  203. 'CreateMiscRcvTransWithPackage', --操作Key
  204. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  205. 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  206. 'UFIDA.U9.ISV.MobileAppsISV.Deploy.dll',
  207. 'ApplicationServer\Libs\UFIDA.U9.ISV.MobileAppsISV.Deploy.dll'
  208. )
  209. END ELSE
  210. BEGIN
  211. UPDATE BC_CreateDocSVMessageBE SET
  212. [DocType] = 0,
  213. [ServeName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.CreateMiscRcvTransWithPackage',
  214. [ParamName] = 'LineDTOs',
  215. [DtoListName] = 'List<UFIDA.U9.ISV.INV.MiscShipmentLineDTOData>',
  216. [DtoName] = 'UFIDA.U9.ISV.INV.MiscShipmentLineDTOData',
  217. [RestServeType] = 1,
  218. [IfCustomerDef] = 1,
  219. [ServerDLLName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  220. [ServerDLLPath] = 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  221. [DTODLLName] = 'UFIDA.U9.ISV.MobileAppsISV.Deploy.dll',
  222. [DTODLLPath] = 'ApplicationServer\Libs\UFIDA.U9.ISV.MobileAppsISV.Deploy.dll'
  223. WHERE OperatorKey = 'CreateMiscRcvTransWithPackage'
  224. END
  225. IF (NOT EXISTS (SELECT ID FROM BC_CreateDocSVMessageBE WHERE OperatorKey = 'CreateMiscShipmentWithPackageSV'))
  226. BEGIN
  227. -- DECLARE @StartSN BIGINT;
  228. EXECUTE AllocSerials 1,@StartSN OUTPUT
  229. INSERT INTO BC_CreateDocSVMessageBE (
  230. [ID],
  231. [CreatedOn],
  232. [CreatedBy],
  233. [SysVersion],
  234. [DocType],
  235. [ServeName],
  236. [ParamName],
  237. [DtoListName],
  238. [DtoName],
  239. [RestServeType], --0,条码解析 1,后台具体生单服务
  240. [IfCustomerDef], --标识是否客开插入 0:标准产品 1:客开
  241. [OperatorKey], --操作key, 唯一索引:前台传递到后台,用来匹配具体配置的,PDA端就需要传递
  242. [ServerDLLName], --服务DLLName
  243. [ServerDLLPath], --服务DLLPath+DLLName
  244. [DTODLLName], --参数DTODLLName
  245. [DTODLLPath] --参数DTODLLPath+Name
  246. )
  247. VALUES (
  248. @StartSN,
  249. GETDATE(),
  250. 'cust',
  251. 1,
  252. 0,
  253. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.CreateMiscShipmentWithPackageSV',
  254. 'LineDTOs',
  255. 'List<UFIDA.U9.ISV.INV.MiscShipmentLineDTOData>',
  256. 'UFIDA.U9.ISV.INV.MiscShipmentLineDTOData',
  257. 1,
  258. 1,
  259. 'CreateMiscShipmentWithPackageSV', --操作Key
  260. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  261. 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  262. 'UFIDA.U9.ISV.MobileAppsISV.Deploy.dll',
  263. 'ApplicationServer\Libs\UFIDA.U9.ISV.MobileAppsISV.Deploy.dll'
  264. )
  265. END ELSE
  266. BEGIN
  267. UPDATE BC_CreateDocSVMessageBE SET
  268. [DocType] = 0,
  269. [ServeName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.CreateMiscShipmentWithPackageSV',
  270. [ParamName] = 'LineDTOs',
  271. [DtoListName] = 'List<UFIDA.U9.ISV.INV.MiscShipmentLineDTOData>',
  272. [DtoName] = 'UFIDA.U9.ISV.INV.MiscShipmentLineDTOData',
  273. [RestServeType] = 1,
  274. [IfCustomerDef] = 1,
  275. [ServerDLLName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  276. [ServerDLLPath] = 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  277. [DTODLLName] = 'UFIDA.U9.ISV.MobileAppsISV.Deploy.dll',
  278. [DTODLLPath] = 'ApplicationServer\Libs\UFIDA.U9.ISV.MobileAppsISV.Deploy.dll'
  279. WHERE OperatorKey = 'CreateMiscShipmentWithPackageSV'
  280. END
  281. IF (NOT EXISTS (SELECT ID FROM BC_CreateDocSVMessageBE WHERE OperatorKey = 'CustUploadFileSV'))
  282. BEGIN
  283. -- DECLARE @StartSN BIGINT;
  284. EXECUTE AllocSerials 1,@StartSN OUTPUT
  285. INSERT INTO BC_CreateDocSVMessageBE (
  286. [ID],
  287. [CreatedOn],
  288. [CreatedBy],
  289. [SysVersion],
  290. [DocType],
  291. [ServeName],
  292. [ParamName],
  293. [DtoListName],
  294. [DtoName],
  295. [RestServeType], --0,条码解析 1,后台具体生单服务
  296. [IfCustomerDef], --标识是否客开插入 0:标准产品 1:客开
  297. [OperatorKey], --操作key, 唯一索引:前台传递到后台,用来匹配具体配置的,PDA端就需要传递
  298. [ServerDLLName], --服务DLLName
  299. [ServerDLLPath], --服务DLLPath+DLLName
  300. [DTODLLName], --参数DTODLLName
  301. [DTODLLPath] --参数DTODLLPath+Name
  302. )
  303. VALUES (
  304. @StartSN,
  305. GETDATE(),
  306. 'cust',
  307. 1,
  308. 14,
  309. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.FileUploadService',
  310. 'FileInfos',
  311. 'List<UFIDA.U9.Cust.Kusi.CJJ.RestApi.FileInfoDTOData>',
  312. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.FileInfoDTOData',
  313. 0,
  314. 1,
  315. 'CustUploadFileSV', --操作Key
  316. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  317. 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  318. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.Deploy.dll',
  319. 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.Deploy.dll'
  320. )
  321. END ELSE
  322. BEGIN
  323. UPDATE BC_CreateDocSVMessageBE SET
  324. [DocType] = 14,
  325. [ServeName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.FileUploadService',
  326. [ParamName] = 'FileInfos',
  327. [DtoListName] = 'List<UFIDA.U9.Cust.Kusi.CJJ.RestApi.FileInfoDTOData>',
  328. [DtoName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.FileInfoDTOData',
  329. [RestServeType] = 0,
  330. [IfCustomerDef] = 1,
  331. [ServerDLLName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  332. [ServerDLLPath] = 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  333. [DTODLLName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.Deploy.dll',
  334. [DTODLLPath] = 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.Deploy.dll'
  335. WHERE OperatorKey = 'CustUploadFileSV'
  336. END
  337. IF (NOT EXISTS (SELECT ID FROM BC_CreateDocSVMessageBE WHERE OperatorKey = 'GetItemBarCodeDetails'))
  338. BEGIN
  339. -- DECLARE @StartSN BIGINT;
  340. EXECUTE AllocSerials 1,@StartSN OUTPUT
  341. INSERT INTO BC_CreateDocSVMessageBE (
  342. [ID],
  343. [CreatedOn],
  344. [CreatedBy],
  345. [SysVersion],
  346. [DocType],
  347. [ServeName],
  348. [ParamName],
  349. [DtoListName],
  350. [DtoName],
  351. [RestServeType], --0,条码解析 1,后台具体生单服务
  352. [IfCustomerDef], --标识是否客开插入 0:标准产品 1:客开
  353. [OperatorKey], --操作key, 唯一索引:前台传递到后台,用来匹配具体配置的,PDA端就需要传递
  354. [ServerDLLName], --服务DLLName
  355. [ServerDLLPath], --服务DLLPath+DLLName
  356. [DTODLLName], --参数DTODLLName
  357. [DTODLLPath] --参数DTODLLPath+Name
  358. )
  359. VALUES (
  360. @StartSN,
  361. GETDATE(),
  362. 'cust',
  363. 1,
  364. 14,
  365. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.GetItemBarCodeDetails',
  366. 'BarCodeInfo',
  367. 'List<UFIDA.U9.Cust.Kusi.CJJ.RestApi.BarCodeDTOData>',
  368. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.BarCodeDTOData',
  369. 1,
  370. 1,
  371. 'GetItemBarCodeDetails', --操作Key
  372. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  373. 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  374. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.Deploy.dll',
  375. 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.Deploy.dll'
  376. )
  377. END ELSE
  378. BEGIN
  379. UPDATE BC_CreateDocSVMessageBE SET
  380. [DocType] = 14,
  381. [ServeName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.GetItemBarCodeDetails',
  382. [ParamName] = 'BarCodeInfo',
  383. [DtoListName] = 'List<UFIDA.U9.Cust.Kusi.CJJ.RestApi.BarCodeDTOData>',
  384. [DtoName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.BarCodeDTOData',
  385. [RestServeType] = 1,
  386. [IfCustomerDef] = 1,
  387. [ServerDLLName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  388. [ServerDLLPath] = 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  389. [DTODLLName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.Deploy.dll',
  390. [DTODLLPath] = 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.Deploy.dll'
  391. WHERE OperatorKey = 'GetItemBarCodeDetails'
  392. END
  393. IF (NOT EXISTS (SELECT ID FROM BC_CreateDocSVMessageBE WHERE OperatorKey = 'AnalyzeDocBarCodeSV'))
  394. BEGIN
  395. -- DECLARE @StartSN BIGINT;
  396. EXECUTE AllocSerials 1,@StartSN OUTPUT
  397. INSERT INTO BC_CreateDocSVMessageBE (
  398. [ID],
  399. [CreatedOn],
  400. [CreatedBy],
  401. [SysVersion],
  402. [DocType],
  403. [ServeName],
  404. [ParamName],
  405. [DtoListName],
  406. [DtoName],
  407. [RestServeType], --0,条码解析 1,后台具体生单服务
  408. [IfCustomerDef], --标识是否客开插入 0:标准产品 1:客开
  409. [OperatorKey], --操作key, 唯一索引:前台传递到后台,用来匹配具体配置的,PDA端就需要传递
  410. [ServerDLLName], --服务DLLName
  411. [ServerDLLPath], --服务DLLPath+DLLName
  412. [DTODLLName], --参数DTODLLName
  413. [DTODLLPath] --参数DTODLLPath+Name
  414. )
  415. VALUES (
  416. @StartSN,
  417. GETDATE(),
  418. 'cust',
  419. 1,
  420. 14,
  421. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.AnalyzeDocBarCodeSV',
  422. 'BarCodes',
  423. 'List<UFIDA.U9.Cust.Kusi.CJJ.RestApi.AnalyzeDocBarCodeDTOData>',
  424. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.AnalyzeDocBarCodeDTOData',
  425. 1,
  426. 1,
  427. 'AnalyzeDocBarCodeSV', --操作Key
  428. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  429. 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  430. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.Deploy.dll',
  431. 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.Deploy.dll'
  432. )
  433. END ELSE
  434. BEGIN
  435. UPDATE BC_CreateDocSVMessageBE SET
  436. [DocType] = 14,
  437. [ServeName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.AnalyzeDocBarCodeSV',
  438. [ParamName] = 'BarCodes',
  439. [DtoListName] = 'List<UFIDA.U9.Cust.Kusi.CJJ.RestApi.AnalyzeDocBarCodeDTOData>',
  440. [DtoName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.AnalyzeDocBarCodeDTOData',
  441. [RestServeType] = 1,
  442. [IfCustomerDef] = 1,
  443. [ServerDLLName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  444. [ServerDLLPath] = 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  445. [DTODLLName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.Deploy.dll',
  446. [DTODLLPath] = 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.Deploy.dll'
  447. WHERE OperatorKey = 'AnalyzeDocBarCodeSV'
  448. END
  449. IF (NOT EXISTS (SELECT ID FROM BC_CreateDocSVMessageBE WHERE OperatorKey = 'DeleteAttachmentSV'))
  450. BEGIN
  451. -- DECLARE @StartSN BIGINT;
  452. EXECUTE AllocSerials 1,@StartSN OUTPUT
  453. INSERT INTO BC_CreateDocSVMessageBE (
  454. [ID],
  455. [CreatedOn],
  456. [CreatedBy],
  457. [SysVersion],
  458. [DocType],
  459. [ServeName],
  460. [ParamName],
  461. [DtoListName],
  462. [DtoName],
  463. [RestServeType], --0,条码解析 1,后台具体生单服务
  464. [IfCustomerDef], --标识是否客开插入 0:标准产品 1:客开
  465. [OperatorKey], --操作key, 唯一索引:前台传递到后台,用来匹配具体配置的,PDA端就需要传递
  466. [ServerDLLName], --服务DLLName
  467. [ServerDLLPath], --服务DLLPath+DLLName
  468. [DTODLLName], --参数DTODLLName
  469. [DTODLLPath] --参数DTODLLPath+Name
  470. )
  471. VALUES (
  472. @StartSN,
  473. GETDATE(),
  474. 'cust',
  475. 1,
  476. 14,
  477. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.DeleteAttachmentSV',
  478. 'DeleteInfos',
  479. 'List<UFIDA.U9.Cust.Kusi.CJJ.RestApi.DeleteInfoDTOData>',
  480. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.DeleteInfoDTOData',
  481. 1,
  482. 1,
  483. 'DeleteAttachmentSV', --操作Key
  484. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  485. 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  486. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.Deploy.dll',
  487. 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.Deploy.dll'
  488. )
  489. END ELSE
  490. BEGIN
  491. UPDATE BC_CreateDocSVMessageBE SET
  492. [DocType] = 14,
  493. [ServeName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.DeleteAttachmentSV',
  494. [ParamName] = 'DeleteInfos',
  495. [DtoListName] = 'List<UFIDA.U9.Cust.Kusi.CJJ.RestApi.DeleteInfoDTOData>',
  496. [DtoName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.DeleteInfoDTOData',
  497. [RestServeType] = 1,
  498. [IfCustomerDef] = 1,
  499. [ServerDLLName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  500. [ServerDLLPath] = 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  501. [DTODLLName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.Deploy.dll',
  502. [DTODLLPath] = 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.Deploy.dll'
  503. WHERE OperatorKey = 'DeleteAttachmentSV'
  504. END
  505. IF (NOT EXISTS (SELECT ID FROM BC_CreateDocSVMessageBE WHERE OperatorKey = 'GetBarCodeExtInfoSV'))
  506. BEGIN
  507. -- DECLARE @StartSN BIGINT;
  508. EXECUTE AllocSerials 1,@StartSN OUTPUT
  509. INSERT INTO BC_CreateDocSVMessageBE (
  510. [ID],
  511. [CreatedOn],
  512. [CreatedBy],
  513. [SysVersion],
  514. [DocType],
  515. [ServeName],
  516. [ParamName],
  517. [DtoListName],
  518. [DtoName],
  519. [RestServeType], --0,条码解析 1,后台具体生单服务
  520. [IfCustomerDef], --标识是否客开插入 0:标准产品 1:客开
  521. [OperatorKey], --操作key, 唯一索引:前台传递到后台,用来匹配具体配置的,PDA端就需要传递
  522. [ServerDLLName], --服务DLLName
  523. [ServerDLLPath], --服务DLLPath+DLLName
  524. [DTODLLName], --参数DTODLLName
  525. [DTODLLPath] --参数DTODLLPath+Name
  526. )
  527. VALUES (
  528. @StartSN,
  529. GETDATE(),
  530. 'cust',
  531. 1,
  532. 14,
  533. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.GetBarCodeExtInfoSV',
  534. 'BarCodes',
  535. 'List<UFIDA.U9.Cust.Kusi.CJJ.RestApi.AnalyzeDocBarCodeDTOData>',
  536. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.AnalyzeDocBarCodeDTOData',
  537. 1,
  538. 1,
  539. 'GetBarCodeExtInfoSV', --操作Key
  540. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  541. 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  542. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.Deploy.dll',
  543. 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.Deploy.dll'
  544. )
  545. END ELSE
  546. BEGIN
  547. UPDATE BC_CreateDocSVMessageBE SET
  548. [DocType] = 14,
  549. [ServeName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.GetBarCodeExtInfoSV',
  550. [ParamName] = 'BarCodes',
  551. [DtoListName] = 'List<UFIDA.U9.Cust.Kusi.CJJ.RestApi.AnalyzeDocBarCodeDTOData>',
  552. [DtoName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.AnalyzeDocBarCodeDTOData',
  553. [RestServeType] = 1,
  554. [IfCustomerDef] = 1,
  555. [ServerDLLName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  556. [ServerDLLPath] = 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  557. [DTODLLName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.Deploy.dll',
  558. [DTODLLPath] = 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.Deploy.dll'
  559. WHERE OperatorKey = 'GetBarCodeExtInfoSV'
  560. END
  561. IF (NOT EXISTS (SELECT ID FROM BC_CreateDocSVMessageBE WHERE OperatorKey = 'ShipPickConfirmUpdateBarCodeFirstSV'))
  562. BEGIN
  563. -- DECLARE @StartSN BIGINT;
  564. EXECUTE AllocSerials 1,@StartSN OUTPUT
  565. INSERT INTO BC_CreateDocSVMessageBE (
  566. [ID],
  567. [CreatedOn],
  568. [CreatedBy],
  569. [SysVersion],
  570. [DocType],
  571. [ServeName],
  572. [ParamName],
  573. [DtoListName],
  574. [DtoName],
  575. [RestServeType], --0,条码解析 1,后台具体生单服务
  576. [IfCustomerDef], --标识是否客开插入 0:标准产品 1:客开
  577. [OperatorKey], --操作key, 唯一索引:前台传递到后台,用来匹配具体配置的,PDA端就需要传递
  578. [ServerDLLName], --服务DLLName
  579. [ServerDLLPath], --服务DLLPath+DLLName
  580. [DTODLLName], --参数DTODLLName
  581. [DTODLLPath] --参数DTODLLPath+Name
  582. )
  583. VALUES (
  584. @StartSN,
  585. GETDATE(),
  586. 'cust',
  587. 1,
  588. 0,
  589. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.ShipPickConfirmUpdateBarCodeFirstSV',
  590. 'DocInfo',
  591. 'List<UFIDA.U9.ISV.Mobile.SM.ShipPickConfirmBCDTOData>',
  592. 'UFIDA.U9.ISV.Mobile.SM.ShipPickConfirmBCDTOData',
  593. 1,
  594. 1,
  595. 'ShipPickConfirmUpdateBarCodeFirstSV', --操作Key
  596. 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  597. 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  598. 'UFIDA.U9.ISV.MobileAppsISV.Deploy.dll',
  599. 'ApplicationServer\Libs\UFIDA.U9.ISV.MobileAppsISV.Deploy.dll'
  600. )
  601. END ELSE
  602. BEGIN
  603. UPDATE BC_CreateDocSVMessageBE SET
  604. [DocType] = 0,
  605. [ServeName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.ShipPickConfirmUpdateBarCodeFirstSV',
  606. [ParamName] = 'DocInfo',
  607. [DtoListName] = 'List<UFIDA.U9.ISV.Mobile.SM.ShipPickConfirmBCDTOData>',
  608. [DtoName] = 'UFIDA.U9.ISV.Mobile.SM.ShipPickConfirmBCDTOData',
  609. [RestServeType] = 1,
  610. [IfCustomerDef] = 1,
  611. [ServerDLLName] = 'UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  612. [ServerDLLPath] = 'ApplicationServer\Libs\UFIDA.U9.Cust.Kusi.CJJ.RestApi.dll',
  613. [DTODLLName] = 'UFIDA.U9.ISV.MobileAppsISV.Deploy.dll',
  614. [DTODLLPath] = 'ApplicationServer\Libs\UFIDA.U9.ISV.MobileAppsISV.Deploy.dll'
  615. WHERE OperatorKey = 'ShipPickConfirmUpdateBarCodeFirstSV'
  616. END