@things-factory/operato-wms 4.3.155 → 4.3.159
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config.development.js +28 -35
- package/dist-server/graphql/resolvers/dashboard/outbound-order-by-status.js +8 -9
- package/dist-server/graphql/resolvers/dashboard/outbound-order-by-status.js.map +1 -1
- package/package.json +50 -50
- package/server/graphql/resolvers/dashboard/outbound-order-by-status.ts +8 -9
package/config.development.js
CHANGED
|
@@ -4,45 +4,33 @@ module.exports = {
|
|
|
4
4
|
useVirtualHostBasedDomain: false,
|
|
5
5
|
fallbackRoute: '/',
|
|
6
6
|
subdomainOffset: 2,
|
|
7
|
-
port:
|
|
8
|
-
inspect: '
|
|
7
|
+
port: 1100,
|
|
8
|
+
inspect: '9430',
|
|
9
|
+
// ormconfig: {
|
|
10
|
+
// name: 'default',
|
|
11
|
+
// type: 'postgres',
|
|
12
|
+
// database: 'dev',
|
|
13
|
+
// username: 'postgres',
|
|
14
|
+
// password: 'hatio',
|
|
15
|
+
// host: '192.168.0.153',
|
|
16
|
+
// port: 15432,
|
|
17
|
+
// synchronize: true,
|
|
18
|
+
// logging: false
|
|
19
|
+
// },
|
|
9
20
|
ormconfig: {
|
|
10
21
|
name: 'default',
|
|
11
22
|
type: 'postgres',
|
|
12
|
-
database: '
|
|
23
|
+
database: 'dev',
|
|
13
24
|
username: 'postgres',
|
|
14
|
-
password: '
|
|
15
|
-
host: '
|
|
16
|
-
port:
|
|
25
|
+
password: 'abcd1234',
|
|
26
|
+
host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
|
|
27
|
+
port: 55432,
|
|
17
28
|
synchronize: true,
|
|
18
29
|
logging: true
|
|
19
30
|
},
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
// host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
|
|
24
|
-
// port: 55432,
|
|
25
|
-
// database: 'dev2',
|
|
26
|
-
// username: 'postgres',
|
|
27
|
-
// password: 'abcd1234',
|
|
28
|
-
// synchronize: false,
|
|
29
|
-
// logging: true,
|
|
30
|
-
// connectTimeoutMS: 30000,
|
|
31
|
-
// extra: { poolSize: 30 }
|
|
32
|
-
// },
|
|
33
|
-
//ormconfig: {
|
|
34
|
-
// name: 'default',
|
|
35
|
-
// type: 'postgres',
|
|
36
|
-
// database: 'dev2',
|
|
37
|
-
// username: 'postgres',
|
|
38
|
-
// password: 'hatio',
|
|
39
|
-
// host: 'localhost',
|
|
40
|
-
// port: 15432,
|
|
41
|
-
// synchronize: false,
|
|
42
|
-
// logging: true,
|
|
43
|
-
// connectTimeoutMS: 30000,
|
|
44
|
-
// extra: { poolSize: 30 }
|
|
45
|
-
//},
|
|
31
|
+
sellercraftIntegrationConfig: {
|
|
32
|
+
apiKey: 'Et0KqtLvA6e92bDvOywy9eCCud4hpAal8akpqI90'
|
|
33
|
+
},
|
|
46
34
|
SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
|
|
47
35
|
password: {
|
|
48
36
|
lowerCase: true,
|
|
@@ -56,6 +44,13 @@ module.exports = {
|
|
|
56
44
|
looseCharacterLength: 4,
|
|
57
45
|
history: 2
|
|
58
46
|
},
|
|
47
|
+
// storage: {
|
|
48
|
+
// type: 's3',
|
|
49
|
+
// accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
|
|
50
|
+
// secretAccessKey: 'AuDAgmODf9EJNB24OveRhTSLV/OJy6IFFoRxe8k2',
|
|
51
|
+
// bucketName: 'opa-one',
|
|
52
|
+
// region: 'ap-southeast-1'
|
|
53
|
+
// },
|
|
59
54
|
uploads: 'uploads',
|
|
60
55
|
attachmentsPath: 'attachments',
|
|
61
56
|
logger: {
|
|
@@ -105,7 +100,5 @@ module.exports = {
|
|
|
105
100
|
// privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
|
|
106
101
|
// }
|
|
107
102
|
},
|
|
108
|
-
reportApiUrl: 'http://
|
|
109
|
-
// reportApiUrl: 'http://192.168.0.153:8888/rest/report/show_html'
|
|
110
|
-
// reportApiUrl: 'http://10.100.109.66:8090/rest/report/show_html'
|
|
103
|
+
reportApiUrl: 'http://192.168.0.153:8888/rest/report/show_html'
|
|
111
104
|
}
|
|
@@ -76,10 +76,10 @@ exports.outboundOrderByStatusResolver = {
|
|
|
76
76
|
GROUP BY "status"
|
|
77
77
|
UNION ALL
|
|
78
78
|
SELECT 'AWAITING DISPATCH' AS "status", count(*) FROM manifests m
|
|
79
|
-
INNER JOIN
|
|
79
|
+
INNER JOIN order_packages op ON op.manifest_id = m.id
|
|
80
80
|
WHERE m."status" in ('OPEN', 'IN_QUEUE')
|
|
81
81
|
AND m."domain_id" = $1
|
|
82
|
-
AND
|
|
82
|
+
AND op."bizplace_id" IN (${bizplaceIds})
|
|
83
83
|
UNION ALL
|
|
84
84
|
SELECT 'PICKING ASSIGNED' AS "status", count(*) FROM worksheets w
|
|
85
85
|
WHERE w."domain_id" = $1
|
|
@@ -101,13 +101,12 @@ exports.outboundOrderByStatusResolver = {
|
|
|
101
101
|
AND w."status" IN ('DEACTIVATED','EXECUTING')
|
|
102
102
|
GROUP BY w."status"
|
|
103
103
|
UNION ALL
|
|
104
|
-
SELECT 'PENDING MANIFEST CREATION' AS "status", count(*) FROM
|
|
105
|
-
WHERE
|
|
106
|
-
AND
|
|
107
|
-
AND
|
|
108
|
-
AND
|
|
109
|
-
AND
|
|
110
|
-
AND rg."updated_at" >= (CURRENT_DATE - 30)
|
|
104
|
+
SELECT 'PENDING MANIFEST CREATION' AS "status", count(*) FROM order_packages op
|
|
105
|
+
WHERE op."domain_id" = $1
|
|
106
|
+
AND op."bizplace_id" IN (${bizplaceIds})
|
|
107
|
+
AND op."status" = 'DONE'
|
|
108
|
+
AND op."manifest_id" ISNULL
|
|
109
|
+
AND op."updated_at" >= (CURRENT_DATE - 30)
|
|
111
110
|
UNION ALL
|
|
112
111
|
SELECT 'DRAFT' AS "status", count(*) FROM draft_release_goods drg
|
|
113
112
|
WHERE drg."domain_id" = $1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outbound-order-by-status.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/dashboard/outbound-order-by-status.ts"],"names":[],"mappings":";;;AAIA,uDAAkE;AAErD,QAAA,6BAA6B,GAAG;IAC3C,KAAK,CAAC,qBAAqB,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;;QACjE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,GAAsD,OAAO,CAAC,KAAK,CAAA;QAC7F,MAAM,UAAU,GAAW,CAAA,MAAA,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,MAAW,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,0CAAE,KAAK,KAAI,KAAK,CAAA;QAC3G,MAAM,EAAE,GAAG,IAAI,MAAM,CAAC,wEAAwE,CAAC,CAAA;QAC/F,IAAI,WAAmB,CAAA;QAEvB,IAAI,UAAU,IAAI,CAAC,UAAU,IAAI,KAAK,IAAI,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,EAAE;YAC/D,IAAI,SAAS,GACX,UAAU,IAAI,UAAU,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,MAAM,IAAA,kCAAuB,EAAC,MAAM,EAAE,IAAI,CAAC,CAAA;YAChG,WAAW,GAAG,SAAS;iBACpB,GAAG,CAAC,QAAQ,CAAC,EAAE;gBACd,OAAO,GAAG,IAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI,EAAE,CAAA,GAAG,GAAG,CAAA;YACrC,CAAC,CAAC;iBACD,IAAI,CAAC,GAAG,CAAC,CAAA;SACb;;YAAM,MAAM,IAAI,KAAK,CAAC,oBAAoB,CAAC,CAAA;QAE5C,MAAM,WAAW,GAAwC,M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iBACD,IAAI,CAAC,GAAG,CAAC,CAAA;SACb;;YAAM,MAAM,IAAI,KAAK,CAAC,oBAAoB,CAAC,CAAA;QAE5C,MAAM,WAAW,GAAwC,MAAM,EAAE,CAAC,KAAK,CACrE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCAsCiC,WAAW;;;;;;;;;;;uCAWX,WAAW;;;;;;;;;;;qCAWb,WAAW;;;;oCAIZ,WAAW;;;;;;;oCAOX,WAAW;;;;;;;oCAOX,WAAW;;;;;;qCAMV,WAAW;;;;;;;sCAOV,WAAW;;;;;;KAM5C,EACC,CAAC,MAAM,CAAC,EAAE,CAAC,CACZ,CAAA;QAED,OAAO,WAAW,CAAA;IACpB,CAAC;CACF,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-wms",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.159",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -62,60 +62,60 @@
|
|
|
62
62
|
"@operato/scene-tab": "^0.1.8",
|
|
63
63
|
"@operato/scene-table": "^0.1.8",
|
|
64
64
|
"@operato/scene-wheel-sorter": "^0.1.8",
|
|
65
|
-
"@things-factory/apptool-ui": "^4.3.
|
|
66
|
-
"@things-factory/attachment-ui": "^4.3.
|
|
67
|
-
"@things-factory/auth-ui": "^4.3.
|
|
68
|
-
"@things-factory/barcode-ui": "^4.3.
|
|
69
|
-
"@things-factory/biz-ui": "^4.3.
|
|
70
|
-
"@things-factory/board-service": "^4.3.
|
|
71
|
-
"@things-factory/board-ui": "^4.3.
|
|
72
|
-
"@things-factory/code-ui": "^4.3.
|
|
73
|
-
"@things-factory/context-ui": "^4.3.
|
|
74
|
-
"@things-factory/export-ui": "^4.3.
|
|
75
|
-
"@things-factory/export-ui-csv": "^4.3.
|
|
76
|
-
"@things-factory/export-ui-excel": "^4.3.
|
|
77
|
-
"@things-factory/fav-base": "^4.3.
|
|
78
|
-
"@things-factory/form-ui": "^4.3.
|
|
79
|
-
"@things-factory/geography": "^4.3.
|
|
80
|
-
"@things-factory/grist-ui": "^4.3.
|
|
81
|
-
"@things-factory/help": "^4.3.
|
|
82
|
-
"@things-factory/i18n-base": "^4.3.
|
|
83
|
-
"@things-factory/id-rule-base": "^4.3.
|
|
84
|
-
"@things-factory/import-ui": "^4.3.
|
|
85
|
-
"@things-factory/import-ui-excel": "^4.3.
|
|
86
|
-
"@things-factory/menu-ui": "^4.3.
|
|
87
|
-
"@things-factory/more-ui": "^4.3.
|
|
88
|
-
"@things-factory/notification": "^4.3.
|
|
89
|
-
"@things-factory/pdf": "^4.3.
|
|
90
|
-
"@things-factory/print-proxy-service": "^4.3.
|
|
91
|
-
"@things-factory/print-ui": "^4.3.
|
|
92
|
-
"@things-factory/product-base": "^4.3.
|
|
93
|
-
"@things-factory/resource-ui": "^4.3.
|
|
94
|
-
"@things-factory/sales-ui": "^4.3.
|
|
95
|
-
"@things-factory/scene-data-transform": "^4.3.
|
|
96
|
-
"@things-factory/scene-excel": "^4.3.
|
|
97
|
-
"@things-factory/scene-firebase": "^4.3.
|
|
98
|
-
"@things-factory/scene-form": "^4.3.
|
|
99
|
-
"@things-factory/scene-google-map": "^4.3.
|
|
100
|
-
"@things-factory/scene-graphql": "^4.3.
|
|
101
|
-
"@things-factory/scene-label": "^4.3.
|
|
102
|
-
"@things-factory/scene-marker": "^4.3.
|
|
103
|
-
"@things-factory/scene-mqtt": "^4.3.
|
|
104
|
-
"@things-factory/scene-restful": "^4.3.
|
|
105
|
-
"@things-factory/scene-visualizer": "^4.3.
|
|
106
|
-
"@things-factory/setting-ui": "^4.3.
|
|
107
|
-
"@things-factory/system-ui": "^4.3.
|
|
108
|
-
"@things-factory/transport-base": "^4.3.
|
|
109
|
-
"@things-factory/tutorial-ui": "^4.3.
|
|
110
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
111
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
65
|
+
"@things-factory/apptool-ui": "^4.3.159",
|
|
66
|
+
"@things-factory/attachment-ui": "^4.3.159",
|
|
67
|
+
"@things-factory/auth-ui": "^4.3.159",
|
|
68
|
+
"@things-factory/barcode-ui": "^4.3.159",
|
|
69
|
+
"@things-factory/biz-ui": "^4.3.159",
|
|
70
|
+
"@things-factory/board-service": "^4.3.159",
|
|
71
|
+
"@things-factory/board-ui": "^4.3.159",
|
|
72
|
+
"@things-factory/code-ui": "^4.3.159",
|
|
73
|
+
"@things-factory/context-ui": "^4.3.159",
|
|
74
|
+
"@things-factory/export-ui": "^4.3.159",
|
|
75
|
+
"@things-factory/export-ui-csv": "^4.3.159",
|
|
76
|
+
"@things-factory/export-ui-excel": "^4.3.159",
|
|
77
|
+
"@things-factory/fav-base": "^4.3.159",
|
|
78
|
+
"@things-factory/form-ui": "^4.3.159",
|
|
79
|
+
"@things-factory/geography": "^4.3.159",
|
|
80
|
+
"@things-factory/grist-ui": "^4.3.159",
|
|
81
|
+
"@things-factory/help": "^4.3.159",
|
|
82
|
+
"@things-factory/i18n-base": "^4.3.159",
|
|
83
|
+
"@things-factory/id-rule-base": "^4.3.159",
|
|
84
|
+
"@things-factory/import-ui": "^4.3.159",
|
|
85
|
+
"@things-factory/import-ui-excel": "^4.3.159",
|
|
86
|
+
"@things-factory/menu-ui": "^4.3.159",
|
|
87
|
+
"@things-factory/more-ui": "^4.3.159",
|
|
88
|
+
"@things-factory/notification": "^4.3.159",
|
|
89
|
+
"@things-factory/pdf": "^4.3.159",
|
|
90
|
+
"@things-factory/print-proxy-service": "^4.3.159",
|
|
91
|
+
"@things-factory/print-ui": "^4.3.159",
|
|
92
|
+
"@things-factory/product-base": "^4.3.159",
|
|
93
|
+
"@things-factory/resource-ui": "^4.3.159",
|
|
94
|
+
"@things-factory/sales-ui": "^4.3.159",
|
|
95
|
+
"@things-factory/scene-data-transform": "^4.3.159",
|
|
96
|
+
"@things-factory/scene-excel": "^4.3.159",
|
|
97
|
+
"@things-factory/scene-firebase": "^4.3.159",
|
|
98
|
+
"@things-factory/scene-form": "^4.3.159",
|
|
99
|
+
"@things-factory/scene-google-map": "^4.3.159",
|
|
100
|
+
"@things-factory/scene-graphql": "^4.3.159",
|
|
101
|
+
"@things-factory/scene-label": "^4.3.159",
|
|
102
|
+
"@things-factory/scene-marker": "^4.3.159",
|
|
103
|
+
"@things-factory/scene-mqtt": "^4.3.159",
|
|
104
|
+
"@things-factory/scene-restful": "^4.3.159",
|
|
105
|
+
"@things-factory/scene-visualizer": "^4.3.159",
|
|
106
|
+
"@things-factory/setting-ui": "^4.3.159",
|
|
107
|
+
"@things-factory/system-ui": "^4.3.159",
|
|
108
|
+
"@things-factory/transport-base": "^4.3.159",
|
|
109
|
+
"@things-factory/tutorial-ui": "^4.3.159",
|
|
110
|
+
"@things-factory/warehouse-base": "^4.3.159",
|
|
111
|
+
"@things-factory/worksheet-base": "^4.3.159"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
|
-
"@things-factory/builder": "^4.3.
|
|
114
|
+
"@things-factory/builder": "^4.3.159",
|
|
115
115
|
"cypress": "^9.4.1",
|
|
116
116
|
"cypress-file-upload": "^5.0.8",
|
|
117
117
|
"cypress-localstorage-commands": "^1.6.1",
|
|
118
118
|
"eslint-plugin-cypress": "^2.12.1"
|
|
119
119
|
},
|
|
120
|
-
"gitHead": "
|
|
120
|
+
"gitHead": "4ef9913b22e5b7baee27d9057fb04c707f7f49ec"
|
|
121
121
|
}
|
|
@@ -79,10 +79,10 @@ export const outboundOrderByStatusResolver = {
|
|
|
79
79
|
GROUP BY "status"
|
|
80
80
|
UNION ALL
|
|
81
81
|
SELECT 'AWAITING DISPATCH' AS "status", count(*) FROM manifests m
|
|
82
|
-
INNER JOIN
|
|
82
|
+
INNER JOIN order_packages op ON op.manifest_id = m.id
|
|
83
83
|
WHERE m."status" in ('OPEN', 'IN_QUEUE')
|
|
84
84
|
AND m."domain_id" = $1
|
|
85
|
-
AND
|
|
85
|
+
AND op."bizplace_id" IN (${bizplaceIds})
|
|
86
86
|
UNION ALL
|
|
87
87
|
SELECT 'PICKING ASSIGNED' AS "status", count(*) FROM worksheets w
|
|
88
88
|
WHERE w."domain_id" = $1
|
|
@@ -104,13 +104,12 @@ export const outboundOrderByStatusResolver = {
|
|
|
104
104
|
AND w."status" IN ('DEACTIVATED','EXECUTING')
|
|
105
105
|
GROUP BY w."status"
|
|
106
106
|
UNION ALL
|
|
107
|
-
SELECT 'PENDING MANIFEST CREATION' AS "status", count(*) FROM
|
|
108
|
-
WHERE
|
|
109
|
-
AND
|
|
110
|
-
AND
|
|
111
|
-
AND
|
|
112
|
-
AND
|
|
113
|
-
AND rg."updated_at" >= (CURRENT_DATE - 30)
|
|
107
|
+
SELECT 'PENDING MANIFEST CREATION' AS "status", count(*) FROM order_packages op
|
|
108
|
+
WHERE op."domain_id" = $1
|
|
109
|
+
AND op."bizplace_id" IN (${bizplaceIds})
|
|
110
|
+
AND op."status" = 'DONE'
|
|
111
|
+
AND op."manifest_id" ISNULL
|
|
112
|
+
AND op."updated_at" >= (CURRENT_DATE - 30)
|
|
114
113
|
UNION ALL
|
|
115
114
|
SELECT 'DRAFT' AS "status", count(*) FROM draft_release_goods drg
|
|
116
115
|
WHERE drg."domain_id" = $1
|