mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 20:49:00 +08:00
⚡ 优化 | 避免oracle 表名小写无法查询字段信息
This commit is contained in:
1 parent
5ef6b7576b
commit
a896cd6beb
1 file changed
+2
-2
@@ -13,7 +13,7 @@
|
||||
WHERE
|
||||
ut.TABLE_NAME = utc.TABLE_NAME
|
||||
<if test="tableName != null and tableName.trim() != ''">
|
||||
and ut.TABLE_NAME = UPPER ( #{tableName} )
|
||||
and ut.TABLE_NAME = #{tableName}
|
||||
</if>
|
||||
ORDER BY ut.TABLE_NAME
|
||||
</select>
|
||||
@@ -53,7 +53,7 @@
|
||||
AND ucc.COLUMN_NAME = col.
|
||||
COLUMN_NAME LEFT JOIN user_constraints uc ON uc.CONSTRAINT_NAME = ucc.CONSTRAINT_NAME
|
||||
WHERE
|
||||
col.TABLE_NAME = UPPER ( #{tableName} )
|
||||
col.TABLE_NAME = #{tableName}
|
||||
) TEMP
|
||||
WHERE
|
||||
TEMP.row_flg = 1
|
||||
|
||||
Reference in new issue
Block a user