aadiffupdatetest.http 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906
  1. @host = 192.168.110.131:8888
  2. # @host = 192.168.110.131:18088
  3. ###
  4. # 查询本地queenter库材质球组信息
  5. # 不存在时则创建
  6. POST http://{{host}}/boxcost/diffUpdatePlanTest HTTP/1.1
  7. Content-Type: application/json
  8. Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjI4MjU4OTIsImlkIjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0Iiwia2V5IjoiYm94Y29zdCIsIm5hbWUiOiLlrZnog5wiLCJvcmlnX2lhdCI6MTcyMjIyMTA5MiwicGFyZW50IjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0IiwicGhvbmUiOiIxMzQwODU0NzgyMyIsInJvbGUiOiIiLCJzdGF0ZSI6MSwidXNlclR5cGUiOjJ9.Cz7qI3-Vah0io5ZLIFDyVOf8qsqdmbT8WHdprrjbdXw
  9. {
  10. "_id": "64a6afe55cca777202101854",
  11. "createTime": "2023-07-06T20:13:25.551+08:00",
  12. "createUser": "B-CG-N2023-01-034",
  13. "name": "福满堂礼盒",
  14. "pack": {
  15. "_id": "64a6aebd5cca77720210184f",
  16. "compCounts": 5,
  17. "components": [
  18. {
  19. "count": 1,
  20. "id": "1688873384413",
  21. "name": "盖",
  22. "stages": [
  23. {
  24. "batchCount": 2,
  25. "batchSizeHeight": 960,
  26. "batchSizeWidth": 640,
  27. "billId": "64aa68025cca777202101890",
  28. "billType": 1,
  29. "category": "纸张",
  30. "deliveryTime": "2023-07-11T12:18:55.618+08:00",
  31. "id": "16888733969996474a69fe1c4729d48677818",
  32. "name": "凤锦PET光银",
  33. "norm": "275g",
  34. "orderCount": 44000,
  35. "orderPrice": 0.903,
  36. "price": 1.47,
  37. "remark": "960幅宽",
  38. "size": "840*640",
  39. "supplierInfo": {
  40. "_id": "6479b10a097738f60ad6d74b",
  41. "address": "四川省德阳市广汉市向阳镇顺江南路8号",
  42. "categorys": [
  43. "纸张"
  44. ],
  45. "createTime": "2023-06-02T17:06:18.818+08:00",
  46. "name": "033 四川华侨凤凰纸业有限公司",
  47. "phone": "13183833987",
  48. "updateTime": "2023-06-02T17:06:18.818+08:00"
  49. },
  50. "type": 1,
  51. "typeId": "6474a69fe1c4729d48677818",
  52. "unit": "平方米"
  53. },
  54. {
  55. "batchCount": 1,
  56. "batchSizeHeight": 480,
  57. "batchSizeWidth": 640,
  58. "billId": "64aa68375cca777202101891",
  59. "billType": 2,
  60. "category": "外协加工",
  61. "deliveryTime": "2023-07-12T12:18:58.286+08:00",
  62. "group": "168887345197263ef03301031634bc6eeb841",
  63. "id": "168887345197264254a55b89f15098e2730cf",
  64. "name": "UV印刷",
  65. "norm": "5C+专",
  66. "orderCount": 87300,
  67. "orderPrice": 0.42,
  68. "price": 0.42,
  69. "remark": "480幅宽 4C+白+专PT2028C",
  70. "size": "420*640",
  71. "supplierInfo": {
  72. "_id": "6375e17b3913c1b5774bad73",
  73. "address": "崇州金鸡路556 印刷部",
  74. "category": "UV印刷",
  75. "categorys": [
  76. "外协加工"
  77. ],
  78. "createTime": "2022-11-17T15:23:39.49+08:00",
  79. "name": "017-泓瑞包装-印刷部",
  80. "phone": "13666221118",
  81. "updateTime": "2023-04-20T14:20:48.459+08:00"
  82. },
  83. "type": 2,
  84. "typeId": "64254a55b89f15098e2730cf",
  85. "unit": "张"
  86. },
  87. {
  88. "batchCount": 1,
  89. "batchSizeHeight": 480,
  90. "batchSizeWidth": 640,
  91. "billId": "64aa68375cca777202101891",
  92. "billType": 2,
  93. "category": "外协加工",
  94. "deliveryTime": "2023-07-12T12:18:58.286+08:00",
  95. "group": "168887345197263ef03301031634bc6eeb841",
  96. "id": "168887345197263ef03301031634bc6eeb841",
  97. "name": "UV印刷",
  98. "norm": "逆向油",
  99. "orderCount": 87300,
  100. "orderPrice": 0.2,
  101. "price": 0.65,
  102. "remark": " 420幅宽",
  103. "size": "420*640",
  104. "supplierInfo": {
  105. "_id": "6375e17b3913c1b5774bad73",
  106. "address": "崇州金鸡路556 印刷部",
  107. "category": "UV印刷",
  108. "categorys": [
  109. "外协加工"
  110. ],
  111. "createTime": "2022-11-17T15:23:39.49+08:00",
  112. "name": "017-泓瑞包装-印刷部",
  113. "phone": "13666221118",
  114. "updateTime": "2023-04-20T14:20:48.459+08:00"
  115. },
  116. "type": 2,
  117. "typeId": "63ef03301031634bc6eeb841",
  118. "unit": "平方米"
  119. },
  120. {
  121. "batchCount": 1,
  122. "batchSizeHeight": 635,
  123. "batchSizeWidth": 465,
  124. "billId": "64aa6af55cca777202101892",
  125. "billType": 1,
  126. "category": "纸张",
  127. "deliveryTime": "2023-07-12T12:19:00.438+08:00",
  128. "id": "16888735966346474a8d2e1c4729d4867782d",
  129. "name": "灰底白凤玺",
  130. "norm": "290g",
  131. "orderCount": 87300,
  132. "orderPrice": 0.274,
  133. "price": 3200,
  134. "remark": "635幅宽",
  135. "size": "635*410",
  136. "supplierInfo": {
  137. "_id": "6479b10a097738f60ad6d74b",
  138. "address": "四川省德阳市广汉市向阳镇顺江南路8号",
  139. "categorys": [
  140. "纸张"
  141. ],
  142. "createTime": "2023-06-02T17:06:18.818+08:00",
  143. "name": "033 四川华侨凤凰纸业有限公司",
  144. "phone": "13183833987",
  145. "updateTime": "2023-06-02T17:06:18.818+08:00"
  146. },
  147. "type": 1,
  148. "typeId": "6474a8d2e1c4729d4867782d",
  149. "unit": "吨"
  150. },
  151. {
  152. "batchCount": 1,
  153. "batchSizeHeight": 635,
  154. "batchSizeWidth": 465,
  155. "billId": "64aa64005cca77720210188d",
  156. "billType": 2,
  157. "category": "外协加工",
  158. "deliveryTime": "2023-07-13T12:19:04.973+08:00",
  159. "id": "16888736431906474aa07e1c4729d4867782e",
  160. "name": "对裱",
  161. "norm": "照样",
  162. "orderCount": 87200,
  163. "orderPrice": 0.1,
  164. "price": 0.1,
  165. "remark": "635幅宽",
  166. "size": "635*410",
  167. "supplierInfo": {
  168. "_id": "63e9b057201413726b012291",
  169. "address": "崇州市宏业大道559号",
  170. "category": "对裱",
  171. "categorys": [
  172. "外协加工"
  173. ],
  174. "createTime": "2023-02-13T11:36:55.969+08:00",
  175. "name": "009-成都卉嘉包装材料(对裱杨玄)",
  176. "phone": "15902817321",
  177. "updateTime": "2023-04-26T11:53:25.596+08:00"
  178. },
  179. "type": 2,
  180. "typeId": "6474aa07e1c4729d4867782e",
  181. "unit": "张"
  182. },
  183. {
  184. "batchCount": 1,
  185. "billId": "64aa35aa5cca777202101872",
  186. "billType": 2,
  187. "category": "外协加工",
  188. "deliveryTime": "2023-07-14T12:19:07.245+08:00",
  189. "id": "16888736431906474ad94e1c4729d48677830",
  190. "name": "压纹(对裱)",
  191. "norm": "照样",
  192. "orderCount": 87150,
  193. "orderPrice": 0.09,
  194. "price": 0.09,
  195. "size": "0",
  196. "supplierInfo": {
  197. "_id": "63edbe951bd7c47e69698533",
  198. "address": "金鸡路556号-压纹 吴宗祥",
  199. "category": "压纹",
  200. "categorys": [
  201. "外协加工"
  202. ],
  203. "createTime": "2023-02-16T13:26:45.004+08:00",
  204. "name": "019-压纹 吴宗祥",
  205. "phone": "18280165844",
  206. "updateTime": "2023-04-19T17:36:07.663+08:00"
  207. },
  208. "type": 2,
  209. "typeId": "6474ad94e1c4729d48677830",
  210. "unit": "张"
  211. },
  212. {
  213. "batchCount": 1,
  214. "billId": "64aa35ae5cca777202101873",
  215. "billType": 2,
  216. "category": "外协加工",
  217. "deliveryTime": "2023-07-15T12:19:09.397+08:00",
  218. "id": "1688873643190643e16f6b00654e2a4d35ed8",
  219. "name": "模切+打包",
  220. "norm": "照样",
  221. "orderCount": 87050,
  222. "orderPrice": 0.05,
  223. "price": 0.05,
  224. "remark": " ",
  225. "size": "0",
  226. "supplierInfo": {
  227. "_id": "642fe64f26be7db05898efd4",
  228. "address": "成都崇州经济开发区力兴之家二期B区1号",
  229. "categorys": [
  230. "外协加工",
  231. "成品采购",
  232. "手工组装"
  233. ],
  234. "createTime": "2023-04-07T17:45:51.117+08:00",
  235. "name": "004-四川宝汇包装印务",
  236. "phone": "18981731822",
  237. "updateTime": "2023-04-26T11:54:58.13+08:00"
  238. },
  239. "type": 2,
  240. "typeId": "643e16f6b00654e2a4d35ed8",
  241. "unit": "张"
  242. }
  243. ],
  244. "totalPrice": 147948,
  245. "uvSize": "0"
  246. },
  247. {
  248. "count": 1,
  249. "id": "1688873678549",
  250. "name": "底",
  251. "stages": [
  252. {
  253. "batchCount": 1,
  254. "batchSizeHeight": 570,
  255. "batchSizeWidth": 710,
  256. "billId": "64aa36765cca777202101874",
  257. "billType": 1,
  258. "category": "纸张",
  259. "deliveryTime": "2023-07-11T12:23:45.358+08:00",
  260. "id": "16888737545906474a8a3e1c4729d4867782b",
  261. "name": "灰底白凤玺",
  262. "norm": "240g",
  263. "orderCount": 88000,
  264. "orderPrice": 0.321,
  265. "price": 3300,
  266. "remark": "570幅宽",
  267. "size": "570*710",
  268. "supplierInfo": {
  269. "_id": "6479b10a097738f60ad6d74b",
  270. "address": "四川省德阳市广汉市向阳镇顺江南路8号",
  271. "categorys": [
  272. "纸张"
  273. ],
  274. "createTime": "2023-06-02T17:06:18.818+08:00",
  275. "name": "033 四川华侨凤凰纸业有限公司",
  276. "phone": "13183833987",
  277. "updateTime": "2023-06-02T17:06:18.818+08:00"
  278. },
  279. "type": 1,
  280. "typeId": "6474a8a3e1c4729d4867782b",
  281. "unit": "吨"
  282. },
  283. {
  284. "batchCount": 1,
  285. "batchSizeHeight": 570,
  286. "batchSizeWidth": 710,
  287. "billId": "64aa36805cca777202101875",
  288. "billType": 2,
  289. "category": "外协加工",
  290. "deliveryTime": "2023-07-12T12:23:48.198+08:00",
  291. "id": "168887379601564094d169299235046049c96",
  292. "name": "普通印刷",
  293. "norm": "4C",
  294. "orderCount": 87300,
  295. "orderPrice": 0.072,
  296. "price": 0.072,
  297. "remark": " 570幅宽",
  298. "size": "570*710",
  299. "supplierInfo": {
  300. "_id": "63846b744d585ba68be6cba1",
  301. "address": "成都崇州经济开发区泗维路333号",
  302. "category": "普通印刷",
  303. "categorys": [
  304. "外协加工"
  305. ],
  306. "createTime": "2022-11-28T16:04:04.791+08:00",
  307. "name": "008-成都宏川印务",
  308. "phone": "13689052627",
  309. "updateTime": "2023-04-26T11:52:56.541+08:00"
  310. },
  311. "type": 2,
  312. "typeId": "64094d169299235046049c96",
  313. "unit": "张"
  314. },
  315. {
  316. "batchCount": 1,
  317. "batchSizeHeight": 570,
  318. "batchSizeWidth": 710,
  319. "billId": "64aa36875cca777202101876",
  320. "billType": 2,
  321. "category": "外协加 工",
  322. "deliveryTime": "2023-07-13T12:23:49.797+08:00",
  323. "id": "168887379601563ef066d1031634bc6eeb844",
  324. "name": "覆膜",
  325. "norm": "哑膜",
  326. "orderCount": 87250,
  327. "orderPrice": 0.198,
  328. "price": 0.49,
  329. "remark": " ",
  330. "size": "570*710",
  331. "supplierInfo": {
  332. "_id": "6388441551ba5b3307f8ab61",
  333. "address": "金鸡路556号 覆膜 熊明军",
  334. "category": "覆膜",
  335. "categorys": [
  336. "外协加工"
  337. ],
  338. "createTime": "2022-12-01T14:05:09.079+08:00",
  339. "name": "018-覆膜 熊明军",
  340. "phone": "13980871668",
  341. "updateTime": "2023-04-19T17:35:50.467+08:00"
  342. },
  343. "type": 2,
  344. "typeId": "63ef066d1031634bc6eeb844",
  345. "unit": "平方米"
  346. },
  347. {
  348. "batchCount": 1,
  349. "batchSizeHeight": 707,
  350. "batchSizeWidth": 559,
  351. "billId": "64aa368d5cca777202101877",
  352. "billType": 1,
  353. "category": "瓦纸",
  354. "deliveryTime": "2023-07-14T12:23:52.149+08:00",
  355. "group": "168887386759164744b674fd5c73264889076",
  356. "id": "168887380765463f325bd1031634bc6eeb8dd",
  357. "name": "E瓦",
  358. "norm": "110+130",
  359. "orderCount": 87250,
  360. "orderPrice": 0.423,
  361. "price": 1.07,
  362. "size": "707*559",
  363. "supplierInfo": {
  364. "_id": "638844d151ba5b3307f8ab68",
  365. "address": "成都市崇州工业区宏业大道北段559号",
  366. "category": "打包",
  367. "categorys": [
  368. "外协加工",
  369. "瓦纸"
  370. ],
  371. "createTime": "2022-12-01T14:08:17.095+08:00",
  372. "name": "015-中印正隆包装材料成都",
  373. "phone": "13699069388",
  374. "updateTime": "2023-04-26T11:53:08.767+08:00"
  375. },
  376. "type": 1,
  377. "typeId": "63f325bd1031634bc6eeb8dd",
  378. "unit": "平方米"
  379. },
  380. {
  381. "batchCount": 1,
  382. "billId": "64aa368d5cca777202101877",
  383. "billType": 1,
  384. "category": "外协加工",
  385. "deliveryTime": "2023-07-14T12:23:52.149+08:00",
  386. "group": "168887386759164744b674fd5c73264889076",
  387. "id": "168887386759164744b674fd5c73264889076",
  388. "name": "裱瓦+模切+打包",
  389. "norm": "照样",
  390. "orderCount": 87150,
  391. "orderPrice": 0.13,
  392. "price": 0.13,
  393. "size": "0",
  394. "supplierInfo": {
  395. "_id": "638844d151ba5b3307f8ab68",
  396. "address": "成都市崇州工业区宏业大道北段559号",
  397. "category": "打包",
  398. "categorys": [
  399. "外协加工",
  400. "瓦纸"
  401. ],
  402. "createTime": "2022-12-01T14:08:17.095+08:00",
  403. "name": "015-中印正隆包装材料成都",
  404. "phone": "13699069388",
  405. "updateTime": "2023-04-26T11:53:08.767+08:00"
  406. },
  407. "type": 2,
  408. "typeId": "64744b674fd5c73264889076",
  409. "unit": "张"
  410. }
  411. ],
  412. "totalPrice": 100045.35,
  413. "uvSize": "0"
  414. },
  415. {
  416. "count": 1,
  417. "id": "1688873895080",
  418. "name": "内盒",
  419. "stages": [
  420. {
  421. "batchCount": 1,
  422. "batchSizeHeight": 810,
  423. "batchSizeWidth": 660,
  424. "billId": "64aa64205cca77720210188e",
  425. "billType": 1,
  426. "category": "纸张",
  427. "deliveryTime": "2023-07-11T12:32:56.641+08:00",
  428. "id": "16888739250706474a7bbe1c4729d48677822",
  429. "name": "凤 玺PET光银",
  430. "norm": "315g",
  431. "orderCount": 88000,
  432. "orderPrice": 0.802,
  433. "price": 1.5,
  434. "size": "810*650",
  435. "supplierInfo": {
  436. "_id": "6479b10a097738f60ad6d74b",
  437. "address": "四川省德阳市广汉市向阳镇顺江南路8号",
  438. "categorys": [
  439. "纸张"
  440. ],
  441. "createTime": "2023-06-02T17:06:18.818+08:00",
  442. "name": "033 四川华侨凤凰纸业有限公司",
  443. "phone": "13183833987",
  444. "updateTime": "2023-06-02T17:06:18.818+08:00"
  445. },
  446. "type": 1,
  447. "typeId": "6474a7bbe1c4729d48677822",
  448. "unit": "平方米"
  449. },
  450. {
  451. "batchCount": 1,
  452. "batchSizeHeight": 810,
  453. "batchSizeWidth": 650,
  454. "billId": "64aa64245cca77720210188f",
  455. "billType": 2,
  456. "category": "外协加工",
  457. "deliveryTime": "2023-07-12T12:32:59.34+08:00",
  458. "group": "168887403401763ef03301031634bc6eeb841",
  459. "id": "168887403401764254a55b89f15098e2730cf",
  460. "name": "UV印刷",
  461. "norm": "5C+专",
  462. "orderCount": 87300,
  463. "orderPrice": 0.42,
  464. "price": 0.42,
  465. "remark": "4C+白+专PT199C ",
  466. "size": "810*650",
  467. "supplierInfo": {
  468. "_id": "6375e17b3913c1b5774bad73",
  469. "address": "崇州金鸡路556 印刷部",
  470. "category": "UV印刷",
  471. "categorys": [
  472. "外协加工"
  473. ],
  474. "createTime": "2022-11-17T15:23:39.49+08:00",
  475. "name": "017-泓瑞包装-印刷部",
  476. "phone": "13666221118",
  477. "updateTime": "2023-04-20T14:20:48.459+08:00"
  478. },
  479. "type": 2,
  480. "typeId": "64254a55b89f15098e2730cf",
  481. "unit": "张"
  482. },
  483. {
  484. "batchCount": 1,
  485. "batchSizeHeight": 810,
  486. "batchSizeWidth": 650,
  487. "billId": "64aa64245cca77720210188f",
  488. "billType": 2,
  489. "category": "外协加工",
  490. "deliveryTime": "2023-07-12T12:32:59.34+08:00",
  491. "group": "168887403401763ef03301031634bc6eeb841",
  492. "id": "168887403401763ef03301031634bc6eeb841",
  493. "name": "UV印刷",
  494. "norm": "逆向油",
  495. "orderCount": 87300,
  496. "orderPrice": 0.342,
  497. "price": 0.65,
  498. "remark": " ",
  499. "size": "810*650",
  500. "supplierInfo": {
  501. "_id": "6375e17b3913c1b5774bad73",
  502. "address": "崇州金鸡路556 印刷部",
  503. "category": "UV印刷",
  504. "categorys": [
  505. "外协加工"
  506. ],
  507. "createTime": "2022-11-17T15:23:39.49+08:00",
  508. "name": "017-泓瑞包装-印刷部",
  509. "phone": "13666221118",
  510. "updateTime": "2023-04-20T14:20:48.459+08:00"
  511. },
  512. "type": 2,
  513. "typeId": "63ef03301031634bc6eeb841",
  514. "unit": "平方米"
  515. },
  516. {
  517. "batchCount": 1,
  518. "billId": "64aa38b45cca77720210187a",
  519. "billType": 2,
  520. "category": "外协加工",
  521. "deliveryTime": "2023-07-13T12:33:01.172+08:00",
  522. "id": "168887403401763ef10f91031634bc6eeb849",
  523. "name": "压纹",
  524. "norm": "按文件要求",
  525. "orderCount": 87250,
  526. "orderPrice": 0.08,
  527. "price": 0.08,
  528. "remark": " ",
  529. "size": "0",
  530. "supplierInfo": {
  531. "_id": "63edbe951bd7c47e69698533",
  532. "address": "金鸡路556号-压纹 吴宗祥",
  533. "category": "压纹",
  534. "categorys": [
  535. "外协加工"
  536. ],
  537. "createTime": "2023-02-16T13:26:45.004+08:00",
  538. "name": "019-压纹 吴宗祥",
  539. "phone": "18280165844",
  540. "updateTime": "2023-04-19T17:36:07.663+08:00"
  541. },
  542. "type": 2,
  543. "typeId": "63ef10f91031634bc6eeb849",
  544. "unit": "张"
  545. },
  546. {
  547. "batchCount": 1,
  548. "billId": "64aa38bb5cca77720210187b",
  549. "billType": 2,
  550. "category": "外协加工",
  551. "deliveryTime": "2023-07-14T12:33:03.101+08:00",
  552. "id": "1688874034017642bd94d26be7db05898efad",
  553. "name": "模切+粘盒+打包",
  554. "norm": "照样",
  555. "orderCount": 87100,
  556. "orderPrice": 0.128,
  557. "price": 0.128,
  558. "size": "0",
  559. "supplierInfo": {
  560. "_id": "642fe64f26be7db05898efd4",
  561. "address": "成都崇州经济开发区力兴之家二期B区1号",
  562. "categorys": [
  563. "外协加工",
  564. "成品采购",
  565. "手工组装"
  566. ],
  567. "createTime": "2023-04-07T17:45:51.117+08:00",
  568. "name": "004-四川宝汇包装印务",
  569. "phone": "18981731822",
  570. "updateTime": "2023-04-26T11:54:58.13+08:00"
  571. },
  572. "type": 2,
  573. "typeId": "642bd94d26be7db05898efad",
  574. "unit": "张"
  575. }
  576. ],
  577. "totalPrice": 155227.4,
  578. "uvSize": "0"
  579. },
  580. {
  581. "count": 1,
  582. "id": "1688645537711",
  583. "name": "手提袋",
  584. "stages": [
  585. {
  586. "batchCount": 1,
  587. "batchSizeHeight": 1050,
  588. "batchSizeWidth": 787,
  589. "billId": "64aa41025cca77720210187e",
  590. "billType": 1,
  591. "category": "纸张",
  592. "deliveryTime": "2023-07-08T20:17:58.652+08:00",
  593. "id": "168864555937763eee85b1031634bc6eeb817",
  594. "name": "太阳白卡",
  595. "norm": "210g",
  596. "orderCount": 88000,
  597. "orderPrice": 0.798,
  598. "price": 4600,
  599. "size": "1050*787",
  600. "supplierInfo": {
  601. "_id": "6384668e4d585ba68be6cb9f",
  602. "address": "成都市温江区公平镇分水村七组",
  603. "category": "纸张类",
  604. "categorys": [
  605. "纸张"
  606. ],
  607. "createTime": "2022-11-28T15:43:10.638+08:00",
  608. "name": "003-成都正大文博纸业",
  609. "phone": "13853360367",
  610. "updateTime": "2023-04-26T11:52:49.268+08:00"
  611. },
  612. "type": 1,
  613. "typeId": "63eee85b1031634bc6eeb817",
  614. "unit": "吨"
  615. },
  616. {
  617. "batchCount": 1,
  618. "batchSizeHeight": 1050,
  619. "batchSizeWidth": 393,
  620. "billId": "64aa410a5cca77720210187f",
  621. "billType": 2,
  622. "category": "外协加工",
  623. "deliveryTime": "2023-07-09T12:39:10+08:00",
  624. "id": "16888775503276419364ffc8951b4c2992195",
  625. "name": "普通印刷",
  626. "norm": "4C+专",
  627. "orderCount": 87343400,
  628. "orderPrice": 0.108,
  629. "price": 0.108,
  630. "size": "0",
  631. "supplierInfo": {
  632. "_id": "63846b744d585ba68be6cba1",
  633. "address": "成都崇州经济开发区泗维路333号",
  634. "category": "普通印刷",
  635. "categorys": [
  636. "外协加工"
  637. ],
  638. "createTime": "2022-11-28T16:04:04.791+08:00",
  639. "name": "008-成都宏川印务",
  640. "phone": "13689052627",
  641. "updateTime": "2023-04-26T11:52:56.541+08:00"
  642. },
  643. "type": 2,
  644. "typeId": "6419364ffc8951b4c2992195",
  645. "unit": "张"
  646. },
  647. {
  648. "batchCount": 1,
  649. "batchSizeHeight": 1050,
  650. "batchSizeWidth": 393,
  651. "billId": "64aa41175cca777202101880",
  652. "billType": 2,
  653. "category": "外协加工",
  654. "deliveryTime": "2023-07-09T12:39:10+08:00",
  655. "id": "168887755032763ef066d1031634bc6eeb844",
  656. "name": "覆膜",
  657. "norm": "哑膜",
  658. "orderCount": 87250,
  659. "orderPrice": 0.202,
  660. "price": 0.49,
  661. "remark": " ",
  662. "size": "0",
  663. "supplierInfo": {
  664. "_id": "6388441551ba5b3307f8ab61",
  665. "address": "金鸡路556号 覆膜 熊明军",
  666. "category": "覆膜",
  667. "categorys": [
  668. "外协加工"
  669. ],
  670. "createTime": "2022-12-01T14:05:09.079+08:00",
  671. "name": "018-覆膜 熊明军",
  672. "phone": "13980871668",
  673. "updateTime": "2023-04-19T17:35:50.467+08:00"
  674. },
  675. "type": 2,
  676. "typeId": "63ef066d1031634bc6eeb844",
  677. "unit": "平方米"
  678. },
  679. {
  680. "batchCount": 1,
  681. "billId": "64aa411a5cca777202101881",
  682. "billType": 2,
  683. "category": "外协加工",
  684. "deliveryTime": "2023-07-09T12:39:24+08:00",
  685. "id": "168887756492364812b4d7306b5a7cef71cdf",
  686. "name": "烫金",
  687. "norm": "照样",
  688. "orderCount": 87200,
  689. "orderPrice": 0.15,
  690. "price": 0.15,
  691. "size": "0",
  692. "supplierInfo": {
  693. "_id": "638eecd4f9039e0980fe5650",
  694. "address": "崇州金鸡路556号 烫金 温学刚",
  695. "category": "烫金",
  696. "categorys": [
  697. "外协加工"
  698. ],
  699. "createTime": "2022-12-06T15:18:44.322+08:00",
  700. "name": "020-烫金 温学刚",
  701. "phone": "13028138020",
  702. "updateTime": "2023-04-19T17:36:26.912+08:00"
  703. },
  704. "type": 2,
  705. "typeId": "64812b4d7306b5a7cef71cdf",
  706. "unit": "张"
  707. },
  708. {
  709. "batchCount": 1,
  710. "billId": "64aa411d5cca777202101882",
  711. "billType": 234354,
  712. "category": "外协加工",
  713. "deliveryTime": "2023-07-09T12:39:34+08:00",
  714. "id": "1688877574862645f013fbfd3ba5057afd488",
  715. "name": "模切+成型+手提绳+打包",
  716. "norm": "照样",
  717. "orderCount": 87100,
  718. "orderPrice": 0.33,
  719. "price": 0.33,
  720. "remark": " ",
  721. "size": "0",
  722. "supplierInfo": {
  723. "_id": "6489aed623be8cc264b06836",
  724. "address": "四川广汉市小汉镇工业园区",
  725. "categorys": [
  726. "外协加工"
  727. ],
  728. "createTime": "2023-06-14T20:13:10.848+08:00",
  729. "name": "039四川广汉龙华印业有限公司",
  730. "phone": "18608380866",
  731. "updateTime": "2023-06-14T20:13:10.848+08:00"
  732. },
  733. "type": 2,
  734. "typeId": "645f013fbfd3ba5057afd488",
  735. "unit": "个"
  736. }
  737. ],
  738. "totalPrice": 139099.9,
  739. "uvSize": "0"
  740. },
  741. {
  742. "count": 1,
  743. "id": "1688874105677",
  744. "name": "外箱",
  745. "uvSize": "0"
  746. }
  747. ],
  748. "createTime": "2023-07-06T20:08:29.093+08:00",
  749. "designer": "YHGD-0007",
  750. "name": "福满堂礼盒",
  751. "updateTime": "2023-07-09T11:41:44.322+08:00"
  752. },
  753. "status": "process",
  754. "total": 87000,
  755. "totalPrice": 542320.65,
  756. "updteTime": "2024-07-30T15:556:2844.58675+08:00"
  757. }
  758. ###
  759. # 工艺单日志记录测试
  760. # 测试数据表(collection): bill-produce_copy1
  761. POST http://{{host}}/boxcost/diffUpdateProduceTest HTTP/1.1
  762. Content-Type: application/json
  763. Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjI4MjU4OTIsImlkIjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0Iiwia2V5IjoiYm94Y29zdCIsIm5hbWUiOiLlrZnog5wiLCJvcmlnX2lhdCI6MTcyMjIyMTA5MiwicGFyZW50IjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0IiwicGhvbmUiOiIxMzQwODU0NzgyMyIsInJvbGUiOiIiLCJzdGF0ZSI6MSwidXNlclR5cGUiOjJ9.Cz7qI3-Vah0io5ZLIFDyVOf8qsqdmbT8WHdprrjbdXw
  764. {
  765. "_id": "66a74ff9e6e5177313cc4de9",
  766. "packId": "647ae9ba097738f60ad6d794",
  767. "planId": "6679876623830800fd77569c",
  768. "supplierId": "63e9b2cb201413726b012296",
  769. "userId": "63e208dc7452ab74932b9e37",
  770. "userName": "郑茜",
  771. "type": "外协加工",
  772. "status": "created",
  773. "reviewed": -1,
  774. "signUsers": null,
  775. "createTime": "2024-07-29T08:16:57.116Z",
  776. "updateTime": "2024-07-29T08:16:57.116Z",
  777. "completeTime": "0001-01-01T00:00:00Z",
  778. "supplier": "014-成都佳顺印务",
  779. "sendTo": "双流区彭镇罗汉路185号瑞达天盛,杨开英,电话:13890030861",
  780. "productName": "2024年月饼手工盒-福运礼(10000套)--面纸补数11",
  781. "produces": [
  782. {
  783. "id": "648040f27306b5a7cef71ccdUIgirTRS43gZu_0Nz7WLM",
  784. "name": "冷烫(普通)",
  785. "norm": "照样",
  786. "price": 0,
  787. "price2": 6,
  788. "orderCount": 2000,
  789. "orderPrice": 2.125,
  790. "confirmCount": 0,
  791. "isFix": false,
  792. "paperCount": 2000,
  793. "remark": "",
  794. "paper": "红色触感豹150g",
  795. "paperSize": "787*920",
  796. "printSize": "787*450",
  797. "deliveryTime": "2024-07-30T08:15:40.08Z",
  798. "unit": "元/张",
  799. "unit2": "元/平方米"
  800. }
  801. ],
  802. "serialNumber": "WXJG-004034",
  803. "remark": "",
  804. "isPrint": false,
  805. "isLam": false,
  806. "isPaper": false,
  807. "billType": "",
  808. "isSend": false,
  809. "sendTime": "0001-01-01T00:00:00Z",
  810. "isAck": false,
  811. "ackTime": "0001-01-01T00:00:00Z",
  812. "compProduceName": "冷烫(普通)",
  813. "supplierRemark": "",
  814. "isRecord": null
  815. }
  816. // CollectionMaterial = "material"
  817. // CollectionCraft = "craft"
  818. // CollectionProduct = "product"
  819. // CollectionSupplier = "supplier"
  820. // CollectionSupplierPrice = "supplier-price"
  821. // CollectionPack = "pack"
  822. // CollectionProductPlan = "product-plan" // 计划
  823. // CollectionBillPurchase = "bill-purchase" // 材料采购单
  824. // CollectionBillProduce = "bill-produce" // 工艺采购单
  825. // CollectionBillProduct = "bill-product" // 成品采购单
  826. // CollectionSupplierMatprice = "supplier-mats"
  827. // CollectionSupplierCraftprice = "supplier-crafts"
  828. // CollectionSupplierProductprice = "supplier-product" // 成品采购
  829. // CollectionIncrement = "increment"
  830. // CollectionSignature = "signature"
  831. // CollectionUsers = "users"
  832. // // 更改日志记录
  833. // CollectionLogs = "logs"
  834. // CollectionRequestLogs = "request-logs"
  835. // CollectionPlanTrack = "plan-track"
  836. ###
  837. # 打印更改差异
  838. GET http://{{host}}/boxcost/printDiff?query={"targetId":"63f31e901031634bc6eeb8d4","collection":"test"} HTTP/1.1
  839. Content-Type: application/json
  840. ###
  841. # 打印更改差异
  842. GET http://{{host}}/boxcost/logs/list?query={"targetId":"64aa52935cca777202101884","collection":"product-plan_copy1"} HTTP/1.1
  843. Content-Type: application/json
  844. Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjI4MjU4OTIsImlkIjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0Iiwia2V5IjoiYm94Y29zdCIsIm5hbWUiOiLlrZnog5wiLCJvcmlnX2lhdCI6MTcyMjIyMTA5MiwicGFyZW50IjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0IiwicGhvbmUiOiIxMzQwODU0NzgyMyIsInJvbGUiOiIiLCJzdGF0ZSI6MSwidXNlclR5cGUiOjJ9.Cz7qI3-Vah0io5ZLIFDyVOf8qsqdmbT8WHdprrjbdXw
  845. ###
  846. # 追踪详情
  847. GET http://{{host}}/boxcost/planTrack/detail/66a773f9e6e5177313cc50c5 HTTP/1.1
  848. Content-Type: application/json
  849. Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjI4MjU4OTIsImlkIjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0Iiwia2V5IjoiYm94Y29zdCIsIm5hbWUiOiLlrZnog5wiLCJvcmlnX2lhdCI6MTcyMjIyMTA5MiwicGFyZW50IjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0IiwicGhvbmUiOiIxMzQwODU0NzgyMyIsInJvbGUiOiIiLCJzdGF0ZSI6MSwidXNlclR5cGUiOjJ9.Cz7qI3-Vah0io5ZLIFDyVOf8qsqdmbT8WHdprrjbdXw
  850. ###
  851. # 打印更改差异
  852. # POST http://{{host}}/boxcost/units/update HTTP/1.1
  853. # Content-Type: application/json
  854. # Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjE4NzE1MDgsImlkIjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0Iiwia2V5IjoiYm94Y29zdCIsIm5hbWUiOiLlrZnog5wiLCJvcmlnX2lhdCI6MTcyMTI2NjcwOCwicGFyZW50IjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0IiwicGhvbmUiOiIxMzQwODU0NzgyMyIsInJvbGUiOiIiLCJzdGF0ZSI6MSwidXNlclR5cGUiOjJ9.oBKvW_adQUfzc5yuH_0dfHdsU559SmtfEq9UWQGJkfQ
  855. # {
  856. # "_id": "646cb8e1cfd68ee5e9433614",
  857. # "name": "平方厘米1"
  858. # }
  859. ###
  860. # 下载计划追踪表
  861. POST http://{{host}}/boxcost/download/plan/track HTTP/1.1
  862. Content-Type: application/json
  863. {
  864. "ids": [
  865. "6648181a23830800fd7751fd"
  866. ]
  867. }
  868. # {
  869. # "ids": [
  870. # "6648181a23830800fd7751fd",
  871. # "664968ac23830800fd775203",
  872. # "66498b5423830800fd775205",
  873. # "6649535e23830800fd7751ff",
  874. # "664989d823830800fd775204",
  875. # "6649a02b23830800fd775216",
  876. # "6649980723830800fd77520f",
  877. # "66499a3423830800fd775211",
  878. # "66499e2b23830800fd775215",
  879. # "665dbdd623830800fd775416",
  880. # "66499ae023830800fd775212",
  881. # "6649990123830800fd775210",
  882. # "66499c1d23830800fd775213",
  883. # "66499cfd23830800fd775214"
  884. # ]
  885. # }