Commit 9dfa7608 authored by co_dengxiongwen's avatar co_dengxiongwen

历史指令sql调整

parent ee6c5787
......@@ -35,7 +35,7 @@
<if test="comSourceIp!=null and comSourceIp!=''">and t.com_source_ip = #{comSourceIp}</if>
<if test="comSourcePort!=null and comSourcePort!=''">and t.com_source_port = #{comSourcePort}</if>
<if test="comType!=null ">and t.com_type = #{comType}</if>
<if test="comMark!=null and comMark!=''">and t.com_mark = #{comMark}</if>
<if test="comMark!=null and comMark!=''">and INSTR(t.com_mark, #{comMark})</if>
<if test="resourceType!=null and resourceType!=''">and t.resource_type = #{resourceType}</if>
<if test="resourceId!=null and resourceId!=''">and t.resource_id = #{resourceId}</if>
<if test="result!=null ">and t.result = #{result}</if>
......@@ -47,6 +47,12 @@
<if test="byx1!=null and byx1!=''">and t.byx1 = #{byx1}</if>
<if test="byx2!=null and byx2!=''">and t.byx2 = #{byx2}</if>
<if test="byx3!=null and byx3!=''">and t.byx3 = #{byx3}</if>
<if test="startTime != null and startTime != ''">
and t.create_time &gt;= #{startTime}
</if>
<if test="endTime != null and endTime != ''">
and t.create_time &lt;= #{endTime}
</if>
</sql>
<select id="queryPageByCount" parameterType="Object" resultType="java.lang.Integer">
......
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