Commit b2f2880b by zhiwj

查询添加参数

parent bbfd0c0e
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
</update> </update>
<select id="listModuleIdByBusinessId" resultType="string"> <select id="listModuleIdByBusinessId" resultType="string">
select select
business_id module_id
from tab_index_module_rel from tab_index_module_rel
where status = 1 and business_id = #{businessId} and type = #{type} where status = 1 and business_id = #{businessId} and type = #{type}
</select> </select>
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
</select> </select>
<select id="listBusinessIdByModuleIds" resultType="int"> <select id="listBusinessIdByModuleIds" resultType="int">
select select
module_id business_id
from tab_index_module_rel from tab_index_module_rel
where status = 1 where status = 1
<if test="null != ids and ids.size > 0"> <if test="null != ids and ids.size > 0">
......
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