陈昶聿
5 天以前 987e38327f849e1b13d8541246dde08d877db0e8
ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml
@@ -37,7 +37,10 @@
   <select id="selectOperLogList" parameterType="SysOperLog" resultMap="SysOperLogResult">
      <include refid="selectOperLogVo"/>
      <where>
      WHERE 1=1
            <if test="orgid != null and orgid != ''">
            and orgid = #{orgid}
         </if>
         <if test="title != null and title != ''">
            AND title like concat('%', #{title}, '%')
         </if>
@@ -47,7 +50,7 @@
         <if test="businessTypes != null and businessTypes.length > 0">
             AND business_type in
             <foreach collection="businessTypes" item="businessType" open="(" separator="," close=")">
                #{businessType}
                    #{businessType}
              </foreach>
         </if>
         <if test="status != null">
@@ -62,7 +65,6 @@
         <if test="params.endTime != null and params.endTime != ''"><!-- 结束时间检索 -->
            and date_format(oper_time,'%y%m%d') &lt;= date_format(#{params.endTime},'%y%m%d')
         </if>
      </where>
      order by oper_id desc
   </select>