zhanghl
2025-04-28 edc00f6fbafa9bb74f736e47cafd000fb33ef4f1
aps-modules/aps-job/src/main/resources/mapper/job/SysJobMapper.xml
@@ -29,7 +29,7 @@
      <include refid="selectJobVo"/>
      <where>
         <if test="jobName != null and jobName != ''">
            AND job_name like concat('%', #{jobName}, '%')
            AND job_name like '%' || #{jobName} || '%'
         </if>
         <if test="jobGroup != null and jobGroup != ''">
            AND job_group = #{jobGroup}
@@ -41,6 +41,7 @@
            AND invoke_target like concat('%', #{invokeTarget}, '%')
         </if>
      </where>
      order by job_id asc
   </select>
   
   <select id="selectJobAll" resultMap="SysJobResult">
@@ -75,7 +76,7 @@
          <if test="status !=null">status = #{status},</if>
          <if test="remark != null and remark != ''">remark = #{remark},</if>
          <if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
          update_time = sysdate()
          update_time = now()
       </set>
       where job_id = #{jobId}
   </update>
@@ -104,7 +105,7 @@
          <if test="status != null and status != ''">#{status},</if>
          <if test="remark != null and remark != ''">#{remark},</if>
          <if test="createBy != null and createBy != ''">#{createBy},</if>
          sysdate()
          now()
       )
   </insert>