Compare commits
3 Commits
33f955c209
...
1e9cc9da4f
Author | SHA1 | Date |
---|---|---|
|
1e9cc9da4f | |
|
46307774e1 | |
|
62eccf29a5 |
|
@ -16,6 +16,13 @@ export default <ReportConfigEntity>{
|
|||
table_schema: `transactions AS main
|
||||
LEFT JOIN refunds refund ON refund.transaction_id = main.id`,
|
||||
main_table_alias: 'main',
|
||||
whereDefaultConditions: [
|
||||
{
|
||||
column: 'main.type',
|
||||
filter_type: FILTER_TYPE.TEXT_IN_MEMBER,
|
||||
values: [TransactionType.ADMIN, TransactionType.ONLINE],
|
||||
},
|
||||
],
|
||||
defaultOrderBy: [],
|
||||
lowLevelOrderBy: [],
|
||||
filter_period_config: {
|
||||
|
@ -41,7 +48,7 @@ export default <ReportConfigEntity>{
|
|||
{
|
||||
column: 'main__no_of_group',
|
||||
query: 'main.no_of_group',
|
||||
label: 'Total Group',
|
||||
label: '#Visitor',
|
||||
type: DATA_TYPE.DIMENSION,
|
||||
format: DATA_FORMAT.NUMBER,
|
||||
},
|
||||
|
|
|
@ -37,11 +37,11 @@ export interface ReportConfigEntity {
|
|||
|
||||
table_schema: string;
|
||||
main_table_alias?: string;
|
||||
customVirtualTableSchema?(
|
||||
filterModel: any,
|
||||
findQueryConfig: (column: string) => string,
|
||||
createFilterSql: (key: string, item: any) => string,
|
||||
): string;
|
||||
// customVirtualTableSchema?(
|
||||
// filterModel: any,
|
||||
// findQueryConfig: (column: string) => string,
|
||||
// createFilterSql: (key: string, item: any) => string,
|
||||
// ): string;
|
||||
whereCondition?(filterModel: any): string[];
|
||||
whereDefaultConditions?: {
|
||||
column: string;
|
||||
|
|
Loading…
Reference in New Issue