Commit e4785ef0 authored by hongguangwu's avatar hongguangwu

Merge remote-tracking branch 'origin/MVP1.5.8' into MVP1.5.8

parents d95d0696 4a9934ca
...@@ -58,22 +58,24 @@ ...@@ -58,22 +58,24 @@
<include refid="Base_Column_List"/> <include refid="Base_Column_List"/>
FROM sys_menu a FROM sys_menu a
<where> <where>
1=1 1=1 AND a.DELETE_STATUS = '1'
<include refid="sysMenu_where"/> <include refid="sysMenu_where"/>
</where> </where>
order by a.CREATE_TIME desc
</select> </select>
<select id="selectMenuId" resultType="java.lang.Long"> <select id="selectMenuId" resultType="java.lang.Long">
SELECT SELECT
count(1) count(1)
FROM modeling_app_model a FROM modeling_app_model a
where a.fd_id = #{modelId} WHERE a.fd_id = #{modelId}
</select> </select>
<select id="selectColumnList" resultType="java.lang.String"> <select id="selectColumnList" resultType="java.lang.String">
SELECT SELECT
a.fd_column a.fd_column
FROM sys_xform_db_column a FROM sys_xform_db_column a
where a.fd_main_id = #{modelId} LEFT JOIN sys_xform_db_table b on a.fd_main_id = b.fd_id
WHERE b.fd_model_id = #{modelId}
</select> </select>
</mapper> </mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment