diff --git a/bd-business/bd-business-bonus/src/main/resources/mapper/member/achieve/CuMemberTreeMapper.xml b/bd-business/bd-business-bonus/src/main/resources/mapper/member/achieve/CuMemberTreeMapper.xml index 06a477d2..578bd39f 100644 --- a/bd-business/bd-business-bonus/src/main/resources/mapper/member/achieve/CuMemberTreeMapper.xml +++ b/bd-business/bd-business-bonus/src/main/resources/mapper/member/achieve/CuMemberTreeMapper.xml @@ -386,26 +386,16 @@ - create - index - ${tableName} - _ - parent - on - ${tableName} + create index ${tableName}_parent + on ${tableName} ( pk_parent ) - create - index - ${tableName} - _ - place - on - ${tableName} + create index ${tableName}_place + on ${tableName} ( pk_place_parent, place_dept @@ -413,13 +403,8 @@ - create - unique index - ${tableName} - _ - PK_M - on - ${tableName} + create unique index ${tableName}_PK_M + on ${tableName} ( PK_MEMBER, period @@ -427,13 +412,8 @@ - create - unique index - ${tableName} - _ - PK_M - on - ${tableName} + create unique index ${tableName}_PK_M + on ${tableName} ( PK_MEMBER )