@host = 192.168.110.131:8888 # @host = 192.168.110.131:18088 ### # 查询本地queenter库材质球组信息 # 不存在时则创建 POST http://{{host}}/boxcost/diffUpdatePlanTest HTTP/1.1 Content-Type: application/json Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjI4MjU4OTIsImlkIjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0Iiwia2V5IjoiYm94Y29zdCIsIm5hbWUiOiLlrZnog5wiLCJvcmlnX2lhdCI6MTcyMjIyMTA5MiwicGFyZW50IjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0IiwicGhvbmUiOiIxMzQwODU0NzgyMyIsInJvbGUiOiIiLCJzdGF0ZSI6MSwidXNlclR5cGUiOjJ9.Cz7qI3-Vah0io5ZLIFDyVOf8qsqdmbT8WHdprrjbdXw { "_id": "64a6afe55cca777202101854", "createTime": "2023-07-06T20:13:25.551+08:00", "createUser": "B-CG-N2023-01-034", "name": "福满堂礼盒", "pack": { "_id": "64a6aebd5cca77720210184f", "compCounts": 5, "components": [ { "count": 1, "id": "1688873384413", "name": "盖", "stages": [ { "batchCount": 2, "batchSizeHeight": 960, "batchSizeWidth": 640, "billId": "64aa68025cca777202101890", "billType": 1, "category": "纸张", "deliveryTime": "2023-07-11T12:18:55.618+08:00", "id": "16888733969996474a69fe1c4729d48677818", "name": "凤锦PET光银", "norm": "275g", "orderCount": 44000, "orderPrice": 0.903, "price": 1.47, "remark": "960幅宽", "size": "840*640", "supplierInfo": { "_id": "6479b10a097738f60ad6d74b", "address": "四川省德阳市广汉市向阳镇顺江南路8号", "categorys": [ "纸张" ], "createTime": "2023-06-02T17:06:18.818+08:00", "name": "033 四川华侨凤凰纸业有限公司", "phone": "13183833987", "updateTime": "2023-06-02T17:06:18.818+08:00" }, "type": 1, "typeId": "6474a69fe1c4729d48677818", "unit": "平方米" }, { "batchCount": 1, "batchSizeHeight": 480, "batchSizeWidth": 640, "billId": "64aa68375cca777202101891", "billType": 2, "category": "外协加工", "deliveryTime": "2023-07-12T12:18:58.286+08:00", "group": "168887345197263ef03301031634bc6eeb841", "id": "168887345197264254a55b89f15098e2730cf", "name": "UV印刷", "norm": "5C+专", "orderCount": 87300, "orderPrice": 0.42, "price": 0.42, "remark": "480幅宽 4C+白+专PT2028C", "size": "420*640", "supplierInfo": { "_id": "6375e17b3913c1b5774bad73", "address": "崇州金鸡路556 印刷部", "category": "UV印刷", "categorys": [ "外协加工" ], "createTime": "2022-11-17T15:23:39.49+08:00", "name": "017-泓瑞包装-印刷部", "phone": "13666221118", "updateTime": "2023-04-20T14:20:48.459+08:00" }, "type": 2, "typeId": "64254a55b89f15098e2730cf", "unit": "张" }, { "batchCount": 1, "batchSizeHeight": 480, "batchSizeWidth": 640, "billId": "64aa68375cca777202101891", "billType": 2, "category": "外协加工", "deliveryTime": "2023-07-12T12:18:58.286+08:00", "group": "168887345197263ef03301031634bc6eeb841", "id": "168887345197263ef03301031634bc6eeb841", "name": "UV印刷", "norm": "逆向油", "orderCount": 87300, "orderPrice": 0.2, "price": 0.65, "remark": " 420幅宽", "size": "420*640", "supplierInfo": { "_id": "6375e17b3913c1b5774bad73", "address": "崇州金鸡路556 印刷部", "category": "UV印刷", "categorys": [ "外协加工" ], "createTime": "2022-11-17T15:23:39.49+08:00", "name": "017-泓瑞包装-印刷部", "phone": "13666221118", "updateTime": "2023-04-20T14:20:48.459+08:00" }, "type": 2, "typeId": "63ef03301031634bc6eeb841", "unit": "平方米" }, { "batchCount": 1, "batchSizeHeight": 635, "batchSizeWidth": 465, "billId": "64aa6af55cca777202101892", "billType": 1, "category": "纸张", "deliveryTime": "2023-07-12T12:19:00.438+08:00", "id": "16888735966346474a8d2e1c4729d4867782d", "name": "灰底白凤玺", "norm": "290g", "orderCount": 87300, "orderPrice": 0.274, "price": 3200, "remark": "635幅宽", "size": "635*410", "supplierInfo": { "_id": "6479b10a097738f60ad6d74b", "address": "四川省德阳市广汉市向阳镇顺江南路8号", "categorys": [ "纸张" ], "createTime": "2023-06-02T17:06:18.818+08:00", "name": "033 四川华侨凤凰纸业有限公司", "phone": "13183833987", "updateTime": "2023-06-02T17:06:18.818+08:00" }, "type": 1, "typeId": "6474a8d2e1c4729d4867782d", "unit": "吨" }, { "batchCount": 1, "batchSizeHeight": 635, "batchSizeWidth": 465, "billId": "64aa64005cca77720210188d", "billType": 2, "category": "外协加工", "deliveryTime": "2023-07-13T12:19:04.973+08:00", "id": "16888736431906474aa07e1c4729d4867782e", "name": "对裱", "norm": "照样", "orderCount": 87200, "orderPrice": 0.1, "price": 0.1, "remark": "635幅宽", "size": "635*410", "supplierInfo": { "_id": "63e9b057201413726b012291", "address": "崇州市宏业大道559号", "category": "对裱", "categorys": [ "外协加工" ], "createTime": "2023-02-13T11:36:55.969+08:00", "name": "009-成都卉嘉包装材料(对裱杨玄)", "phone": "15902817321", "updateTime": "2023-04-26T11:53:25.596+08:00" }, "type": 2, "typeId": "6474aa07e1c4729d4867782e", "unit": "张" }, { "batchCount": 1, "billId": "64aa35aa5cca777202101872", "billType": 2, "category": "外协加工", "deliveryTime": "2023-07-14T12:19:07.245+08:00", "id": "16888736431906474ad94e1c4729d48677830", "name": "压纹(对裱)", "norm": "照样", "orderCount": 87150, "orderPrice": 0.09, "price": 0.09, "size": "0", "supplierInfo": { "_id": "63edbe951bd7c47e69698533", "address": "金鸡路556号-压纹 吴宗祥", "category": "压纹", "categorys": [ "外协加工" ], "createTime": "2023-02-16T13:26:45.004+08:00", "name": "019-压纹 吴宗祥", "phone": "18280165844", "updateTime": "2023-04-19T17:36:07.663+08:00" }, "type": 2, "typeId": "6474ad94e1c4729d48677830", "unit": "张" }, { "batchCount": 1, "billId": "64aa35ae5cca777202101873", "billType": 2, "category": "外协加工", "deliveryTime": "2023-07-15T12:19:09.397+08:00", "id": "1688873643190643e16f6b00654e2a4d35ed8", "name": "模切+打包", "norm": "照样", "orderCount": 87050, "orderPrice": 0.05, "price": 0.05, "remark": " ", "size": "0", "supplierInfo": { "_id": "642fe64f26be7db05898efd4", "address": "成都崇州经济开发区力兴之家二期B区1号", "categorys": [ "外协加工", "成品采购", "手工组装" ], "createTime": "2023-04-07T17:45:51.117+08:00", "name": "004-四川宝汇包装印务", "phone": "18981731822", "updateTime": "2023-04-26T11:54:58.13+08:00" }, "type": 2, "typeId": "643e16f6b00654e2a4d35ed8", "unit": "张" } ], "totalPrice": 147948, "uvSize": "0" }, { "count": 1, "id": "1688873678549", "name": "底", "stages": [ { "batchCount": 1, "batchSizeHeight": 570, "batchSizeWidth": 710, "billId": "64aa36765cca777202101874", "billType": 1, "category": "纸张", "deliveryTime": "2023-07-11T12:23:45.358+08:00", "id": "16888737545906474a8a3e1c4729d4867782b", "name": "灰底白凤玺", "norm": "240g", "orderCount": 88000, "orderPrice": 0.321, "price": 3300, "remark": "570幅宽", "size": "570*710", "supplierInfo": { "_id": "6479b10a097738f60ad6d74b", "address": "四川省德阳市广汉市向阳镇顺江南路8号", "categorys": [ "纸张" ], "createTime": "2023-06-02T17:06:18.818+08:00", "name": "033 四川华侨凤凰纸业有限公司", "phone": "13183833987", "updateTime": "2023-06-02T17:06:18.818+08:00" }, "type": 1, "typeId": "6474a8a3e1c4729d4867782b", "unit": "吨" }, { "batchCount": 1, "batchSizeHeight": 570, "batchSizeWidth": 710, "billId": "64aa36805cca777202101875", "billType": 2, "category": "外协加工", "deliveryTime": "2023-07-12T12:23:48.198+08:00", "id": "168887379601564094d169299235046049c96", "name": "普通印刷", "norm": "4C", "orderCount": 87300, "orderPrice": 0.072, "price": 0.072, "remark": " 570幅宽", "size": "570*710", "supplierInfo": { "_id": "63846b744d585ba68be6cba1", "address": "成都崇州经济开发区泗维路333号", "category": "普通印刷", "categorys": [ "外协加工" ], "createTime": "2022-11-28T16:04:04.791+08:00", "name": "008-成都宏川印务", "phone": "13689052627", "updateTime": "2023-04-26T11:52:56.541+08:00" }, "type": 2, "typeId": "64094d169299235046049c96", "unit": "张" }, { "batchCount": 1, "batchSizeHeight": 570, "batchSizeWidth": 710, "billId": "64aa36875cca777202101876", "billType": 2, "category": "外协加 工", "deliveryTime": "2023-07-13T12:23:49.797+08:00", "id": "168887379601563ef066d1031634bc6eeb844", "name": "覆膜", "norm": "哑膜", "orderCount": 87250, "orderPrice": 0.198, "price": 0.49, "remark": " ", "size": "570*710", "supplierInfo": { "_id": "6388441551ba5b3307f8ab61", "address": "金鸡路556号 覆膜 熊明军", "category": "覆膜", "categorys": [ "外协加工" ], "createTime": "2022-12-01T14:05:09.079+08:00", "name": "018-覆膜 熊明军", "phone": "13980871668", "updateTime": "2023-04-19T17:35:50.467+08:00" }, "type": 2, "typeId": "63ef066d1031634bc6eeb844", "unit": "平方米" }, { "batchCount": 1, "batchSizeHeight": 707, "batchSizeWidth": 559, "billId": "64aa368d5cca777202101877", "billType": 1, "category": "瓦纸", "deliveryTime": "2023-07-14T12:23:52.149+08:00", "group": "168887386759164744b674fd5c73264889076", "id": "168887380765463f325bd1031634bc6eeb8dd", "name": "E瓦", "norm": "110+130", "orderCount": 87250, "orderPrice": 0.423, "price": 1.07, "size": "707*559", "supplierInfo": { "_id": "638844d151ba5b3307f8ab68", "address": "成都市崇州工业区宏业大道北段559号", "category": "打包", "categorys": [ "外协加工", "瓦纸" ], "createTime": "2022-12-01T14:08:17.095+08:00", "name": "015-中印正隆包装材料成都", "phone": "13699069388", "updateTime": "2023-04-26T11:53:08.767+08:00" }, "type": 1, "typeId": "63f325bd1031634bc6eeb8dd", "unit": "平方米" }, { "batchCount": 1, "billId": "64aa368d5cca777202101877", "billType": 1, "category": "外协加工", "deliveryTime": "2023-07-14T12:23:52.149+08:00", "group": "168887386759164744b674fd5c73264889076", "id": "168887386759164744b674fd5c73264889076", "name": "裱瓦+模切+打包", "norm": "照样", "orderCount": 87150, "orderPrice": 0.13, "price": 0.13, "size": "0", "supplierInfo": { "_id": "638844d151ba5b3307f8ab68", "address": "成都市崇州工业区宏业大道北段559号", "category": "打包", "categorys": [ "外协加工", "瓦纸" ], "createTime": "2022-12-01T14:08:17.095+08:00", "name": "015-中印正隆包装材料成都", "phone": "13699069388", "updateTime": "2023-04-26T11:53:08.767+08:00" }, "type": 2, "typeId": "64744b674fd5c73264889076", "unit": "张" } ], "totalPrice": 100045.35, "uvSize": "0" }, { "count": 1, "id": "1688873895080", "name": "内盒", "stages": [ { "batchCount": 1, "batchSizeHeight": 810, "batchSizeWidth": 660, "billId": "64aa64205cca77720210188e", "billType": 1, "category": "纸张", "deliveryTime": "2023-07-11T12:32:56.641+08:00", "id": "16888739250706474a7bbe1c4729d48677822", "name": "凤 玺PET光银", "norm": "315g", "orderCount": 88000, "orderPrice": 0.802, "price": 1.5, "size": "810*650", "supplierInfo": { "_id": "6479b10a097738f60ad6d74b", "address": "四川省德阳市广汉市向阳镇顺江南路8号", "categorys": [ "纸张" ], "createTime": "2023-06-02T17:06:18.818+08:00", "name": "033 四川华侨凤凰纸业有限公司", "phone": "13183833987", "updateTime": "2023-06-02T17:06:18.818+08:00" }, "type": 1, "typeId": "6474a7bbe1c4729d48677822", "unit": "平方米" }, { "batchCount": 1, "batchSizeHeight": 810, "batchSizeWidth": 650, "billId": "64aa64245cca77720210188f", "billType": 2, "category": "外协加工", "deliveryTime": "2023-07-12T12:32:59.34+08:00", "group": "168887403401763ef03301031634bc6eeb841", "id": "168887403401764254a55b89f15098e2730cf", "name": "UV印刷", "norm": "5C+专", "orderCount": 87300, "orderPrice": 0.42, "price": 0.42, "remark": "4C+白+专PT199C ", "size": "810*650", "supplierInfo": { "_id": "6375e17b3913c1b5774bad73", "address": "崇州金鸡路556 印刷部", "category": "UV印刷", "categorys": [ "外协加工" ], "createTime": "2022-11-17T15:23:39.49+08:00", "name": "017-泓瑞包装-印刷部", "phone": "13666221118", "updateTime": "2023-04-20T14:20:48.459+08:00" }, "type": 2, "typeId": "64254a55b89f15098e2730cf", "unit": "张" }, { "batchCount": 1, "batchSizeHeight": 810, "batchSizeWidth": 650, "billId": "64aa64245cca77720210188f", "billType": 2, "category": "外协加工", "deliveryTime": "2023-07-12T12:32:59.34+08:00", "group": "168887403401763ef03301031634bc6eeb841", "id": "168887403401763ef03301031634bc6eeb841", "name": "UV印刷", "norm": "逆向油", "orderCount": 87300, "orderPrice": 0.342, "price": 0.65, "remark": " ", "size": "810*650", "supplierInfo": { "_id": "6375e17b3913c1b5774bad73", "address": "崇州金鸡路556 印刷部", "category": "UV印刷", "categorys": [ "外协加工" ], "createTime": "2022-11-17T15:23:39.49+08:00", "name": "017-泓瑞包装-印刷部", "phone": "13666221118", "updateTime": "2023-04-20T14:20:48.459+08:00" }, "type": 2, "typeId": "63ef03301031634bc6eeb841", "unit": "平方米" }, { "batchCount": 1, "billId": "64aa38b45cca77720210187a", "billType": 2, "category": "外协加工", "deliveryTime": "2023-07-13T12:33:01.172+08:00", "id": "168887403401763ef10f91031634bc6eeb849", "name": "压纹", "norm": "按文件要求", "orderCount": 87250, "orderPrice": 0.08, "price": 0.08, "remark": " ", "size": "0", "supplierInfo": { "_id": "63edbe951bd7c47e69698533", "address": "金鸡路556号-压纹 吴宗祥", "category": "压纹", "categorys": [ "外协加工" ], "createTime": "2023-02-16T13:26:45.004+08:00", "name": "019-压纹 吴宗祥", "phone": "18280165844", "updateTime": "2023-04-19T17:36:07.663+08:00" }, "type": 2, "typeId": "63ef10f91031634bc6eeb849", "unit": "张" }, { "batchCount": 1, "billId": "64aa38bb5cca77720210187b", "billType": 2, "category": "外协加工", "deliveryTime": "2023-07-14T12:33:03.101+08:00", "id": "1688874034017642bd94d26be7db05898efad", "name": "模切+粘盒+打包", "norm": "照样", "orderCount": 87100, "orderPrice": 0.128, "price": 0.128, "size": "0", "supplierInfo": { "_id": "642fe64f26be7db05898efd4", "address": "成都崇州经济开发区力兴之家二期B区1号", "categorys": [ "外协加工", "成品采购", "手工组装" ], "createTime": "2023-04-07T17:45:51.117+08:00", "name": "004-四川宝汇包装印务", "phone": "18981731822", "updateTime": "2023-04-26T11:54:58.13+08:00" }, "type": 2, "typeId": "642bd94d26be7db05898efad", "unit": "张" } ], "totalPrice": 155227.4, "uvSize": "0" }, { "count": 1, "id": "1688645537711", "name": "手提袋", "stages": [ { "batchCount": 1, "batchSizeHeight": 1050, "batchSizeWidth": 787, "billId": "64aa41025cca77720210187e", "billType": 1, "category": "纸张", "deliveryTime": "2023-07-08T20:17:58.652+08:00", "id": "168864555937763eee85b1031634bc6eeb817", "name": "太阳白卡", "norm": "210g", "orderCount": 88000, "orderPrice": 0.798, "price": 4600, "size": "1050*787", "supplierInfo": { "_id": "6384668e4d585ba68be6cb9f", "address": "成都市温江区公平镇分水村七组", "category": "纸张类", "categorys": [ "纸张" ], "createTime": "2022-11-28T15:43:10.638+08:00", "name": "003-成都正大文博纸业", "phone": "13853360367", "updateTime": "2023-04-26T11:52:49.268+08:00" }, "type": 1, "typeId": "63eee85b1031634bc6eeb817", "unit": "吨" }, { "batchCount": 1, "batchSizeHeight": 1050, "batchSizeWidth": 393, "billId": "64aa410a5cca77720210187f", "billType": 2, "category": "外协加工", "deliveryTime": "2023-07-09T12:39:10+08:00", "id": "16888775503276419364ffc8951b4c2992195", "name": "普通印刷", "norm": "4C+专", "orderCount": 87343400, "orderPrice": 0.108, "price": 0.108, "size": "0", "supplierInfo": { "_id": "63846b744d585ba68be6cba1", "address": "成都崇州经济开发区泗维路333号", "category": "普通印刷", "categorys": [ "外协加工" ], "createTime": "2022-11-28T16:04:04.791+08:00", "name": "008-成都宏川印务", "phone": "13689052627", "updateTime": "2023-04-26T11:52:56.541+08:00" }, "type": 2, "typeId": "6419364ffc8951b4c2992195", "unit": "张" }, { "batchCount": 1, "batchSizeHeight": 1050, "batchSizeWidth": 393, "billId": "64aa41175cca777202101880", "billType": 2, "category": "外协加工", "deliveryTime": "2023-07-09T12:39:10+08:00", "id": "168887755032763ef066d1031634bc6eeb844", "name": "覆膜", "norm": "哑膜", "orderCount": 87250, "orderPrice": 0.202, "price": 0.49, "remark": " ", "size": "0", "supplierInfo": { "_id": "6388441551ba5b3307f8ab61", "address": "金鸡路556号 覆膜 熊明军", "category": "覆膜", "categorys": [ "外协加工" ], "createTime": "2022-12-01T14:05:09.079+08:00", "name": "018-覆膜 熊明军", "phone": "13980871668", "updateTime": "2023-04-19T17:35:50.467+08:00" }, "type": 2, "typeId": "63ef066d1031634bc6eeb844", "unit": "平方米" }, { "batchCount": 1, "billId": "64aa411a5cca777202101881", "billType": 2, "category": "外协加工", "deliveryTime": "2023-07-09T12:39:24+08:00", "id": "168887756492364812b4d7306b5a7cef71cdf", "name": "烫金", "norm": "照样", "orderCount": 87200, "orderPrice": 0.15, "price": 0.15, "size": "0", "supplierInfo": { "_id": "638eecd4f9039e0980fe5650", "address": "崇州金鸡路556号 烫金 温学刚", "category": "烫金", "categorys": [ "外协加工" ], "createTime": "2022-12-06T15:18:44.322+08:00", "name": "020-烫金 温学刚", "phone": "13028138020", "updateTime": "2023-04-19T17:36:26.912+08:00" }, "type": 2, "typeId": "64812b4d7306b5a7cef71cdf", "unit": "张" }, { "batchCount": 1, "billId": "64aa411d5cca777202101882", "billType": 234354, "category": "外协加工", "deliveryTime": "2023-07-09T12:39:34+08:00", "id": "1688877574862645f013fbfd3ba5057afd488", "name": "模切+成型+手提绳+打包", "norm": "照样", "orderCount": 87100, "orderPrice": 0.33, "price": 0.33, "remark": " ", "size": "0", "supplierInfo": { "_id": "6489aed623be8cc264b06836", "address": "四川广汉市小汉镇工业园区", "categorys": [ "外协加工" ], "createTime": "2023-06-14T20:13:10.848+08:00", "name": "039四川广汉龙华印业有限公司", "phone": "18608380866", "updateTime": "2023-06-14T20:13:10.848+08:00" }, "type": 2, "typeId": "645f013fbfd3ba5057afd488", "unit": "个" } ], "totalPrice": 139099.9, "uvSize": "0" }, { "count": 1, "id": "1688874105677", "name": "外箱", "uvSize": "0" } ], "createTime": "2023-07-06T20:08:29.093+08:00", "designer": "YHGD-0007", "name": "福满堂礼盒", "updateTime": "2023-07-09T11:41:44.322+08:00" }, "status": "process", "total": 87000, "totalPrice": 542320.65, "updteTime": "2024-07-30T15:556:2844.58675+08:00" } ### # 工艺单日志记录测试 # 测试数据表(collection): bill-produce_copy1 POST http://{{host}}/boxcost/diffUpdateProduceTest HTTP/1.1 Content-Type: application/json Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjI4MjU4OTIsImlkIjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0Iiwia2V5IjoiYm94Y29zdCIsIm5hbWUiOiLlrZnog5wiLCJvcmlnX2lhdCI6MTcyMjIyMTA5MiwicGFyZW50IjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0IiwicGhvbmUiOiIxMzQwODU0NzgyMyIsInJvbGUiOiIiLCJzdGF0ZSI6MSwidXNlclR5cGUiOjJ9.Cz7qI3-Vah0io5ZLIFDyVOf8qsqdmbT8WHdprrjbdXw { "_id": "66a74ff9e6e5177313cc4de9", "packId": "647ae9ba097738f60ad6d794", "planId": "6679876623830800fd77569c", "supplierId": "63e9b2cb201413726b012296", "userId": "63e208dc7452ab74932b9e37", "userName": "郑茜", "type": "外协加工", "status": "created", "reviewed": -1, "signUsers": null, "createTime": "2024-07-29T08:16:57.116Z", "updateTime": "2024-07-29T08:16:57.116Z", "completeTime": "0001-01-01T00:00:00Z", "supplier": "014-成都佳顺印务", "sendTo": "双流区彭镇罗汉路185号瑞达天盛,杨开英,电话:13890030861", "productName": "2024年月饼手工盒-福运礼(10000套)--面纸补数11", "produces": [ { "id": "648040f27306b5a7cef71ccdUIgirTRS43gZu_0Nz7WLM", "name": "冷烫(普通)", "norm": "照样", "price": 0, "price2": 6, "orderCount": 2000, "orderPrice": 2.125, "confirmCount": 0, "isFix": false, "paperCount": 2000, "remark": "", "paper": "红色触感豹150g", "paperSize": "787*920", "printSize": "787*450", "deliveryTime": "2024-07-30T08:15:40.08Z", "unit": "元/张", "unit2": "元/平方米" } ], "serialNumber": "WXJG-004034", "remark": "", "isPrint": false, "isLam": false, "isPaper": false, "billType": "", "isSend": false, "sendTime": "0001-01-01T00:00:00Z", "isAck": false, "ackTime": "0001-01-01T00:00:00Z", "compProduceName": "冷烫(普通)", "supplierRemark": "", "isRecord": null } // CollectionMaterial = "material" // CollectionCraft = "craft" // CollectionProduct = "product" // CollectionSupplier = "supplier" // CollectionSupplierPrice = "supplier-price" // CollectionPack = "pack" // CollectionProductPlan = "product-plan" // 计划 // CollectionBillPurchase = "bill-purchase" // 材料采购单 // CollectionBillProduce = "bill-produce" // 工艺采购单 // CollectionBillProduct = "bill-product" // 成品采购单 // CollectionSupplierMatprice = "supplier-mats" // CollectionSupplierCraftprice = "supplier-crafts" // CollectionSupplierProductprice = "supplier-product" // 成品采购 // CollectionIncrement = "increment" // CollectionSignature = "signature" // CollectionUsers = "users" // // 更改日志记录 // CollectionLogs = "logs" // CollectionRequestLogs = "request-logs" // CollectionPlanTrack = "plan-track" ### # 打印更改差异 GET http://{{host}}/boxcost/printDiff?query={"targetId":"63f31e901031634bc6eeb8d4","collection":"test"} HTTP/1.1 Content-Type: application/json ### # 打印更改差异 GET http://{{host}}/boxcost/logs/list?query={"targetId":"64aa52935cca777202101884","collection":"product-plan_copy1"} HTTP/1.1 Content-Type: application/json Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjI4MjU4OTIsImlkIjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0Iiwia2V5IjoiYm94Y29zdCIsIm5hbWUiOiLlrZnog5wiLCJvcmlnX2lhdCI6MTcyMjIyMTA5MiwicGFyZW50IjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0IiwicGhvbmUiOiIxMzQwODU0NzgyMyIsInJvbGUiOiIiLCJzdGF0ZSI6MSwidXNlclR5cGUiOjJ9.Cz7qI3-Vah0io5ZLIFDyVOf8qsqdmbT8WHdprrjbdXw ### # 追踪详情 GET http://{{host}}/boxcost/planTrack/detail/66a773f9e6e5177313cc50c5 HTTP/1.1 Content-Type: application/json Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjI4MjU4OTIsImlkIjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0Iiwia2V5IjoiYm94Y29zdCIsIm5hbWUiOiLlrZnog5wiLCJvcmlnX2lhdCI6MTcyMjIyMTA5MiwicGFyZW50IjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0IiwicGhvbmUiOiIxMzQwODU0NzgyMyIsInJvbGUiOiIiLCJzdGF0ZSI6MSwidXNlclR5cGUiOjJ9.Cz7qI3-Vah0io5ZLIFDyVOf8qsqdmbT8WHdprrjbdXw ### # 打印更改差异 # POST http://{{host}}/boxcost/units/update HTTP/1.1 # Content-Type: application/json # Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjE4NzE1MDgsImlkIjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0Iiwia2V5IjoiYm94Y29zdCIsIm5hbWUiOiLlrZnog5wiLCJvcmlnX2lhdCI6MTcyMTI2NjcwOCwicGFyZW50IjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0IiwicGhvbmUiOiIxMzQwODU0NzgyMyIsInJvbGUiOiIiLCJzdGF0ZSI6MSwidXNlclR5cGUiOjJ9.oBKvW_adQUfzc5yuH_0dfHdsU559SmtfEq9UWQGJkfQ # { # "_id": "646cb8e1cfd68ee5e9433614", # "name": "平方厘米1" # } ### # 下载计划追踪表 POST http://{{host}}/boxcost/download/plan/track HTTP/1.1 Content-Type: application/json { "ids": [ "6648181a23830800fd7751fd" ] } # { # "ids": [ # "6648181a23830800fd7751fd", # "664968ac23830800fd775203", # "66498b5423830800fd775205", # "6649535e23830800fd7751ff", # "664989d823830800fd775204", # "6649a02b23830800fd775216", # "6649980723830800fd77520f", # "66499a3423830800fd775211", # "66499e2b23830800fd775215", # "665dbdd623830800fd775416", # "66499ae023830800fd775212", # "6649990123830800fd775210", # "66499c1d23830800fd775213", # "66499cfd23830800fd775214" # ] # }