liusheng
2 天以前 da026a34bcc97b2eb49607a3b02d94d8f683f997
ruoyi-quartz/src/main/resources/mapper/quartz/SysJobMapper.xml
@@ -27,20 +27,22 @@
   
   <select id="selectJobList" parameterType="SysJob" resultMap="SysJobResult">
      <include refid="selectJobVo"/>
      <where>
         <if test="jobName != null and jobName != ''">
            AND job_name like concat('%', #{jobName}, '%')
         </if>
         <if test="jobGroup != null and jobGroup != ''">
            AND job_group = #{jobGroup}
         </if>
         <if test="status != null and status != ''">
            AND status = #{status}
         </if>
         <if test="invokeTarget != null and invokeTarget != ''">
            AND invoke_target like concat('%', #{invokeTarget}, '%')
         </if>
      </where>
      where 1=1
      <if test="orgid != null and orgid != ''">
         AND orgid = #{orgid}
      </if>
      <if test="jobName != null and jobName != ''">
         AND job_name like concat('%', #{jobName}, '%')
      </if>
      <if test="jobGroup != null and jobGroup != ''">
         AND job_group = #{jobGroup}
      </if>
      <if test="status != null and status != ''">
         AND status = #{status}
      </if>
      <if test="invokeTarget != null and invokeTarget != ''">
         AND invoke_target like concat('%', #{invokeTarget}, '%')
      </if>
   </select>
   
   <select id="selectJobAll" resultMap="SysJobResult">