fix(项目设置): 修复工作空间和项目设置的操作日志,通过添加操作对象搜索条件,无法正确查出对应数据的缺陷

--bug=1012874 --user=王孝刚
【系统设置】github#13126,工作空间和项目设置的操作日志,通过添加操作对象搜索条件,无法正确查出对应数据
https://www.tapd.cn/55049933/s/1153024
This commit is contained in:
wxg0103 2022-05-05 17:59:48 +08:00 committed by fit2-zhao
parent 50e53777be
commit df61c393d6
1 changed files with 3 additions and 3 deletions

View File

@ -43,9 +43,9 @@
and t.oper_type like #{request.operType, jdbcType=VARCHAR}
</if>
<if test="request.operModule != null and request.operModule != ''">
and
<foreach collection="request.operModule" index="index" open="(" close=")" separator="or" item="item">
t.oper_module like CONCAT('%',#{item},'%')
and t.oper_module in
<foreach collection="request.operModule" index="index" open="(" close=")" separator="," item="item">
#{item}
</foreach>
</if>
<if test="request.startTime != null and request.endTime != null">