liding
2025-05-07 3f2a477b1c3e4323e9de59fe96b75e69a1fb90d3
src/main/resources/mapper/system/SysJobLogMapper.xml
文件名从 src/main/resources/mybatis/system/SysJobLogMapper.xml 修改
@@ -4,7 +4,7 @@
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.project.monitor.mapper.SysJobLogMapper">
   <resultMap type="SysJobLog" id="SysJobLogResult">
   <resultMap type="com.ruoyi.project.monitor.domain.SysJobLog" id="SysJobLogResult">
      <id     property="jobLogId"       column="job_log_id"      />
      <result property="jobName"        column="job_name"        />
      <result property="jobGroup"       column="job_group"       />
@@ -20,7 +20,7 @@
      from sys_job_log
    </sql>
   
   <select id="selectJobLogList" parameterType="SysJobLog" resultMap="SysJobLogResult">
   <select id="selectJobLogList" parameterType="com.ruoyi.project.monitor.domain.SysJobLog" resultMap="SysJobLogResult">
      <include refid="selectJobLogVo"/>
      <where>
         <if test="jobName != null and jobName != ''">
@@ -69,7 +69,7 @@
        truncate table sys_job_log
    </update>
    
    <insert id="insertJobLog" parameterType="SysJobLog">
    <insert id="insertJobLog" parameterType="com.ruoyi.project.monitor.domain.SysJobLog">
       insert into sys_job_log(
          <if test="jobLogId != null and jobLogId != 0">job_log_id,</if>
          <if test="jobName != null and jobName != ''">job_name,</if>