## 日结创建索引问题;
This commit is contained in:
parent
7768204761
commit
46ece473c8
|
@ -386,26 +386,16 @@
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<update id="createCuMemberTreeParentIndex">
|
<update id="createCuMemberTreeParentIndex">
|
||||||
create
|
create index ${tableName}_parent
|
||||||
index
|
on ${tableName}
|
||||||
${tableName}
|
|
||||||
_
|
|
||||||
parent
|
|
||||||
on
|
|
||||||
${tableName}
|
|
||||||
(
|
(
|
||||||
pk_parent
|
pk_parent
|
||||||
)
|
)
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<update id="createCuMemberTreePlaceIndex">
|
<update id="createCuMemberTreePlaceIndex">
|
||||||
create
|
create index ${tableName}_place
|
||||||
index
|
on ${tableName}
|
||||||
${tableName}
|
|
||||||
_
|
|
||||||
place
|
|
||||||
on
|
|
||||||
${tableName}
|
|
||||||
(
|
(
|
||||||
pk_place_parent,
|
pk_place_parent,
|
||||||
place_dept
|
place_dept
|
||||||
|
@ -413,13 +403,8 @@
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<update id="createCuMemberTableUniqueIndex">
|
<update id="createCuMemberTableUniqueIndex">
|
||||||
create
|
create unique index ${tableName}_PK_M
|
||||||
unique index
|
on ${tableName}
|
||||||
${tableName}
|
|
||||||
_
|
|
||||||
PK_M
|
|
||||||
on
|
|
||||||
${tableName}
|
|
||||||
(
|
(
|
||||||
PK_MEMBER,
|
PK_MEMBER,
|
||||||
period
|
period
|
||||||
|
@ -427,13 +412,8 @@
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<update id="createCuMemberTreeDayOnlyIndex">
|
<update id="createCuMemberTreeDayOnlyIndex">
|
||||||
create
|
create unique index ${tableName}_PK_M
|
||||||
unique index
|
on ${tableName}
|
||||||
${tableName}
|
|
||||||
_
|
|
||||||
PK_M
|
|
||||||
on
|
|
||||||
${tableName}
|
|
||||||
(
|
(
|
||||||
PK_MEMBER
|
PK_MEMBER
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue