|
|
@ -31,7 +31,18 @@ |
|
|
ON (gtd.table_id = gtl.table_id AND gtd.column_prop = gtl.object_id |
|
|
ON (gtd.table_id = gtl.table_id AND gtd.column_prop = gtl.object_id |
|
|
AND gtd.function_id = gtl.function_id AND gtl.language_code = #{languageCode}) |
|
|
AND gtd.function_id = gtl.function_id AND gtl.language_code = #{languageCode}) |
|
|
|
|
|
|
|
|
WHERE gtd.table_id = #{tableId} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<where> |
|
|
|
|
|
<if test="tableId != null and tableId != ''"> |
|
|
|
|
|
gtd.table_id = #{tableId} |
|
|
|
|
|
</if> |
|
|
|
|
|
<if test="status != null and status != ''"> |
|
|
|
|
|
and gtd.status = #{status} |
|
|
|
|
|
</if> |
|
|
|
|
|
<if test="functionId != null and functionId != ''"> |
|
|
|
|
|
and gtd.function_id = #{functionId} |
|
|
|
|
|
</if> |
|
|
|
|
|
</where> |
|
|
ORDER BY gtd.sort_lv ASC |
|
|
ORDER BY gtd.sort_lv ASC |
|
|
|
|
|
|
|
|
</select> |
|
|
</select> |
|
|
|