|
|
|
@ -32,14 +32,18 @@ |
|
|
|
FROM grid_table_default gtd |
|
|
|
LEFT JOIN sys_object_language_others gtl |
|
|
|
ON (gtd.table_id = gtl.table_id AND gtd.column_prop = gtl.object_id |
|
|
|
AND gtd.function_id = gtl.function_id ) |
|
|
|
AND gtd.function_id = gtl.function_id |
|
|
|
AND gtl.object_type='table' |
|
|
|
<if test="languageCode != null and languageCode != ''"> |
|
|
|
AND gtl.language_code = #{languageCode} |
|
|
|
</if> |
|
|
|
) |
|
|
|
<where> |
|
|
|
gtl.object_type='table' AND gtl.language_code = #{languageCode} |
|
|
|
<if test="tableId != null and tableId != ''"> |
|
|
|
and gtd.table_id = #{tableId,jdbcType=VARCHAR} |
|
|
|
</if> |
|
|
|
<if test="objectType != null and objectType != ''"> |
|
|
|
and gtl.object_type = #{objectType,jdbcType=VARCHAR} |
|
|
|
and (gtl.object_type = #{objectType,jdbcType=VARCHAR} OR gtl.object_type IS NULL) |
|
|
|
</if> |
|
|
|
<if test="status != null and status != ''"> |
|
|
|
and gtd.status = #{status,jdbcType=BOOLEAN} |
|
|
|
|