forked from angelo/java-retail-app
## 调整生成奖金索引;
This commit is contained in:
parent
7e20c1d0ed
commit
438f4b2cf3
|
@ -309,11 +309,8 @@
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<update id="createCuMemberTreeParentIndex">
|
<update id="createCuMemberTreeParentIndex">
|
||||||
create
|
create index
|
||||||
index
|
${tableName}_parent
|
||||||
${tableName}
|
|
||||||
_
|
|
||||||
parent
|
|
||||||
on
|
on
|
||||||
${tableName}
|
${tableName}
|
||||||
(
|
(
|
||||||
|
@ -322,11 +319,8 @@
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<update id="createCuMemberTreePlaceIndex">
|
<update id="createCuMemberTreePlaceIndex">
|
||||||
create
|
create index
|
||||||
index
|
${tableName}_place
|
||||||
${tableName}
|
|
||||||
_
|
|
||||||
place
|
|
||||||
on
|
on
|
||||||
${tableName}
|
${tableName}
|
||||||
(
|
(
|
||||||
|
@ -336,13 +330,9 @@
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<update id="createCuMemberTableUniqueIndex">
|
<update id="createCuMemberTableUniqueIndex">
|
||||||
create
|
create unique index
|
||||||
unique index
|
${tableName}_PK_M
|
||||||
${tableName}
|
on ${tableName}
|
||||||
_
|
|
||||||
PK_M
|
|
||||||
on
|
|
||||||
${tableName}
|
|
||||||
(
|
(
|
||||||
PK_MEMBER,
|
PK_MEMBER,
|
||||||
period
|
period
|
||||||
|
@ -350,13 +340,9 @@
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<update id="createCuMemberTreeDayOnlyIndex">
|
<update id="createCuMemberTreeDayOnlyIndex">
|
||||||
create
|
create unique index
|
||||||
unique index
|
${tableName}_PK_M
|
||||||
${tableName}
|
on ${tableName}
|
||||||
_
|
|
||||||
PK_M
|
|
||||||
on
|
|
||||||
${tableName}
|
|
||||||
(
|
(
|
||||||
PK_MEMBER
|
PK_MEMBER
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue