aadiffupdatetest.http 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. @host = 127.0.0.1:8888
  2. ###
  3. # 查询本地queenter库材质球组信息
  4. # 不存在时则创建
  5. POST http://{{host}}/boxcost/diffUpdatePlanTest HTTP/1.1
  6. Content-Type: application/json
  7. Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjE4NzE1MDgsImlkIjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0Iiwia2V5IjoiYm94Y29zdCIsIm5hbWUiOiLlrZnog5wiLCJvcmlnX2lhdCI6MTcyMTI2NjcwOCwicGFyZW50IjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0IiwicGhvbmUiOiIxMzQwODU0NzgyMyIsInJvbGUiOiIiLCJzdGF0ZSI6MSwidXNlclR5cGUiOjJ9.oBKvW_adQUfzc5yuH_0dfHdsU559SmtfEq9UWQGJkfQ
  8. {
  9. "_id": "64aa52935cca777202101884",
  10. "name": "2023年-稻香锦绣内贴纸fdsds更换zzzz",
  11. "pack": {
  12. "_id": "646c37becfd68ee5e94335ef",
  13. "name": "2023年-稻香rrrr锦绣",
  14. "thumbnail": "",
  15. "compCounts": 6,
  16. "designer": "1",
  17. "components": [
  18. {
  19. "id": "1685594042228",
  20. "name": "内贴纸(1*4)",
  21. "thumbnail": "",
  22. "count": 1,
  23. "uv": "",
  24. "uvSize": "0",
  25. "stages": [
  26. {
  27. "id": "1686109343729640b1add481f42e1f1219741",
  28. "typeId": "640b1add481f42e1f1219741",
  29. "orderPrice": 0.601,
  30. "orderCount": 4700,
  31. "isFix": null,
  32. "confirmCount": 4700,
  33. "deliveryTime": "2023-07-11T06:23:49.091Z",
  34. "supplierInfo": {
  35. "_id": "635f4afa769300c4a84bfd1b",
  36. "name": "016-成都凯欣纸业",
  37. "address": "崇州经开区霞光路51号",
  38. "phone": "15982811956",
  39. "categorys": [
  40. "纸张erererr",
  41. "cfdfdff"
  42. ],
  43. "category": "纸张类",
  44. "createTime": "2022-10-31T04:11:38.249Z",
  45. "updateTime": "2023-04-26T03:52:33.544Z"
  46. },
  47. "batchCount": 4,
  48. "batchSizeWidth": 730,
  49. "batchSizeHeight": 889,
  50. "remark": "特规分切",
  51. "size": "0",
  52. "name": "铜版纸",
  53. "category": "纸张",
  54. "price": 5900,
  55. "unit": "吨",
  56. "norm": "157g",
  57. "createTime": "2023-03-10T11:56:13.495Z",
  58. "updateTime": "2023-06-07T03:33:00.164Z",
  59. "type": 1,
  60. "group": "",
  61. "billId": "64aa52b45cca777202101885",
  62. "billType": 1
  63. },
  64. {
  65. "id": "1685594164090642bd76a26be7db05898efab",
  66. "typeId": "642bd76a26be7db05898efab",
  67. "orderPrice": 0.12,
  68. "orderCount": 4600,
  69. "isFix": null,
  70. "confirmCount": 0,
  71. "deliveryTime": "2023-07-12T06:23:53.291Z",
  72. "supplierInfo": {
  73. "_id": "63846b744d585ba68be6cba1",
  74. "name": "008-成都宏川印务",
  75. "address": "成都崇州经济开发区泗维路333号",
  76. "phone": "13689052627",
  77. "categorys": [
  78. "外协加工"
  79. ],
  80. "category": "普通印刷",
  81. "createTime": "2022-11-28T08:04:04.791Z",
  82. "updateTime": "2023-04-26T03:52:56.541Z"
  83. },
  84. "batchCount": 4,
  85. "batchSizeWidth": 730,
  86. "batchSizeHeight": 830,
  87. "remark": "专红PT200C",
  88. "size": "0",
  89. "name": "普通印刷",
  90. "category": "外协加工",
  91. "price": 0.072,
  92. "unit": "张",
  93. "norm": "满版专色",
  94. "createTime": "0001-01-01T00:00:00Z",
  95. "updateTime": "0001-01-01T00:00:00Z",
  96. "type": 2,
  97. "group": "",
  98. "billId": "64aa52bb5cca777202101886",
  99. "billType": 2
  100. },
  101. {
  102. "id": "168559418417563ef066d1031634bc6eeb844",
  103. "typeId": "63ef066d1031634bc6eeb844",
  104. "orderPrice": 0.297,
  105. "orderCount": 4550,
  106. "isFix": null,
  107. "confirmCount": 0,
  108. "deliveryTime": "2023-07-13T06:23:58.424Z",
  109. "supplierInfo": {
  110. "_id": "6388441551ba5b3307f8ab61",
  111. "name": "018-覆膜 熊明军",
  112. "address": "金鸡路556号 覆膜 熊明军",
  113. "phone": "13980871668",
  114. "categorys": [
  115. "外协加工"
  116. ],
  117. "category": "覆膜",
  118. "createTime": "2022-12-01T06:05:09.079Z",
  119. "updateTime": "2023-04-19T09:35:50.467Z"
  120. },
  121. "batchCount": 4,
  122. "batchSizeWidth": 730,
  123. "batchSizeHeight": 830,
  124. "remark": " ",
  125. "size": "0",
  126. "name": "覆膜",
  127. "category": "外协加工",
  128. "price": 0.49,
  129. "unit": "平方米",
  130. "norm": "哑膜",
  131. "createTime": "0001-01-01T00:00:00Z",
  132. "updateTime": "0001-01-01T00:00:00Z",
  133. "type": 2,
  134. "group": "",
  135. "billId": "64aa52be5cca777202101887",
  136. "billType": 2
  137. },
  138. {
  139. "id": "168559419589263ef10f91031634bc6eeb849",
  140. "typeId": "63ef10f91031634bc6eeb849",
  141. "orderPrice": 0.08,
  142. "orderCount": 4500,
  143. "isFix": null,
  144. "confirmCount": 0,
  145. "deliveryTime": "2023-07-14T06:24:03.474Z",
  146. "supplierInfo": {
  147. "_id": "63edbe951bd7c47e69698533",
  148. "name": "019-压纹 吴宗祥",
  149. "address": "",
  150. "phone": "18280165844",
  151. "categorys": [
  152. "外协加工"
  153. ],
  154. "category": "压纹",
  155. "createTime": "2023-02-16T05:26:45.004Z",
  156. "updateTime": "2023-04-19T09:36:07.663Z"
  157. },
  158. "batchCount": 884,
  159. "batchSizeWidth": 0,
  160. "batchSizeHeight": 0,
  161. "remark": " ",
  162. "size": "0",
  163. "name": "压纹",
  164. "category": "外协加工",
  165. "price": 0.08,
  166. "unit": "张",
  167. "norm": "按文件要求",
  168. "createTime": "0001-01-01T00:00:00Z",
  169. "updateTime": "0001-01-01T00:00:00Z",
  170. "type": 2,
  171. "group": "",
  172. "billId": "64aa52c65cca777202101888",
  173. "billType": 2
  174. },
  175. {
  176. "id": "168792259076963ef10b51031634bc6eeb848",
  177. "typeId": "63ef10b51031634bc6eeb848",
  178. "orderPrice": 0.12,
  179. "orderCount": 8900,
  180. "isFix": null,
  181. "confirmCount": 0,
  182. "deliveryTime": "2023-07-15T06:24:08.758Z",
  183. "supplierInfo": {
  184. "_id": "638eecd4f9039e0980fe5650",
  185. "name": "020-烫金 温学刚",
  186. "address": "崇州金鸡路556号 烫金 温学刚",
  187. "phone": "13028138020",
  188. "categorys": [
  189. "外协加工"
  190. ],
  191. "category": "烫金",
  192. "createTime": "2022-12-06T07:18:44.322Z",
  193. "updateTime": "2023-04-19T09:36:26.912Z"
  194. },
  195. "batchCount": 2,
  196. "batchSizeWidth": 0,
  197. "batchSizeHeight": 0,
  198. "remark": " ",
  199. "size": "0",
  200. "name": "普通烫金eeeeeeeeeeeeee",
  201. "category": "外协加工",
  202. "price": 0.12,
  203. "unit": "张",
  204. "norm": "按文件要求",
  205. "createTime": "0001-01-01T00:00:00Z",
  206. "updateTime": "0001-01-01T00:00:00Z",
  207. "type": 2,
  208. "group": "",
  209. "billId": "64aa52d65cca777202101889",
  210. "billType": 2
  211. }
  212. ],
  213. "remark": "",
  214. "totalPrice": 6156.05
  215. }
  216. ],
  217. "createTime": "2023-05-23T03:49:18.506Z",
  218. "updateTime": "2023-05-23T13:36:11.432Z"
  219. },
  220. "thumbnail": "",
  221. "createUser": "费用易展红图承担",
  222. "total": 20000,
  223. "status": "process",
  224. "totalPrice": 6156.05,
  225. "updateTime": "2024-07-23T04:33:44.858Z",
  226. "createTime": "2023-07-09T06:24:19.305Z"
  227. }
  228. ###
  229. # 打印更改差异
  230. GET http://{{host}}/boxcost/printDiff?id=669e2e5a224892c0ab3a5048 HTTP/1.1
  231. Content-Type: application/json
  232. ###
  233. # 打印更改差异
  234. # POST http://{{host}}/boxcost/units/update HTTP/1.1
  235. # Content-Type: application/json
  236. # Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjE4NzE1MDgsImlkIjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0Iiwia2V5IjoiYm94Y29zdCIsIm5hbWUiOiLlrZnog5wiLCJvcmlnX2lhdCI6MTcyMTI2NjcwOCwicGFyZW50IjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0IiwicGhvbmUiOiIxMzQwODU0NzgyMyIsInJvbGUiOiIiLCJzdGF0ZSI6MSwidXNlclR5cGUiOjJ9.oBKvW_adQUfzc5yuH_0dfHdsU559SmtfEq9UWQGJkfQ
  237. # {
  238. # "_id": "646cb8e1cfd68ee5e9433614",
  239. # "name": "平方厘米1"
  240. # }
  241. ###
  242. # 下载计划追踪表
  243. POST http://{{host}}/boxcost/download/plan/track HTTP/1.1
  244. Content-Type: application/json
  245. {
  246. "ids": [
  247. "6648181a23830800fd7751fd"
  248. ]
  249. }
  250. # {
  251. # "ids": [
  252. # "6648181a23830800fd7751fd",
  253. # "664968ac23830800fd775203",
  254. # "66498b5423830800fd775205",
  255. # "6649535e23830800fd7751ff",
  256. # "664989d823830800fd775204",
  257. # "6649a02b23830800fd775216",
  258. # "6649980723830800fd77520f",
  259. # "66499a3423830800fd775211",
  260. # "66499e2b23830800fd775215",
  261. # "665dbdd623830800fd775416",
  262. # "66499ae023830800fd775212",
  263. # "6649990123830800fd775210",
  264. # "66499c1d23830800fd775213",
  265. # "66499cfd23830800fd775214"
  266. # ]
  267. # }