Commit 3d9e9cd5 by 陶光胜

投诉建议查询加上企业id

parent d0c18887
...@@ -275,7 +275,6 @@ ...@@ -275,7 +275,6 @@
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from tab_problem where enterprise_id = #{enterpriseId} from tab_problem where enterprise_id = #{enterpriseId}
<where>
<if test="null != problemIds and problemIds.length &gt; 0"> <if test="null != problemIds and problemIds.length &gt; 0">
and problem_id in and problem_id in
<foreach close=")" collection="problemIds" index="index" item="item" open="(" separator=","> <foreach close=")" collection="problemIds" index="index" item="item" open="(" separator=",">
...@@ -305,8 +304,6 @@ ...@@ -305,8 +304,6 @@
<if test="endTime != null and endTime != '' "> <if test="endTime != null and endTime != '' ">
and create_time &lt;= #{endTime} and create_time &lt;= #{endTime}
</if> </if>
</where>
order by create_time desc order by create_time desc
</select> </select>
<select id="countProblem" resultType="int"> <select id="countProblem" resultType="int">
......
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