mapper.SysTaskLogMapper.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of task Show documentation
Show all versions of task Show documentation
jishi series products task on java
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="system.mapper.SysTaskLogMapper"> <!-- @mgp-generator base/*Mapper由系统生成,不要修改,重新生成将被覆盖 本同名文件用于撰写自已的SQL,重新生成不会覆盖 两个文件在运行时将会自动合并 参考: https://www.xiaobo.li/project/projects/jishi-mgp/wiki --> <select id="list" parameterType="system.entity.SysTaskLog" resultType="system.entity.SysTaskLog"> SELECT <include refid="All_Column_List" /> FROM sys_task_log <where> <if test="id != null and id != '' "> AND id = #{id,jdbcType=VARCHAR} </if> <if test="taskId != null "> AND task_id = #{taskId,jdbcType=BIGINT} </if> <if test="name != null and name != '' "> AND name = #{name,jdbcType=VARCHAR} </if> <if test="runStatus != null "> AND run_status = #{runStatus,jdbcType=VARCHAR} </if> <if test="runHostname != null and runHostname != '' "> AND run_hostname = #{runHostname,jdbcType=VARCHAR} </if> </where> ORDER BY create_time DESC </select> </mapper>