|
@@ -53,4 +53,20 @@
|
|
|
UPDATE_TIME, CREATE_USER, UPDATE_USER
|
|
|
from AQ_BASIC_FRAME_SYSLOG
|
|
|
</select>
|
|
|
+ <select id="selectAllByCond" resultMap="BaseResultMap" parameterType="com.xt.js.gkaq.frame.model.SysLogModel" >
|
|
|
+ select ID, LOG_TYPE, LOG_PATH, LOG_PARAM, LOG_MSG, CLIENT_IP, STATE, CREATE_TIME, CREATE_USER
|
|
|
+ from AQ_BASIC_FRAME_SYSLOG
|
|
|
+ <where>
|
|
|
+ <if test="logType != null and logType != ''">
|
|
|
+ and LOG_TYPE = #{logType,jdbcType=VARCHAR}
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ and CREATE_TIME >= #{createTime,jdbcType=TIMESTAMP}
|
|
|
+ </if>
|
|
|
+ <if test="updateTime != null">
|
|
|
+ and CREATE_TIME <= #{updateTime,jdbcType=TIMESTAMP}
|
|
|
+ </if>
|
|
|
+ </where>
|
|
|
+ order by CREATE_TIME desc
|
|
|
+ </select>
|
|
|
</mapper>
|