日志模块 查询对象修改
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<mapper namespace="com.adc.da.slrs.sysLog.dao.SysLogDao">
|
||||
|
||||
<select id="queryAllLog" parameterType="com.adc.da.slrs.sysLog.vo.SysLogReqDTO" resultType="com.adc.da.slrs.sysLog.entity.SysLog">
|
||||
select ts_user.account,ts_institution.name dept,sys_log.oper_time,sys_log.oper,sys_log.oper_location from sys_log
|
||||
select ts_user.account,ts_institution.name dept,sys_log.oper_time,sys_log.oper,sys_log.special from sys_log
|
||||
left join ts_user on sys_log.user_id = ts_user.usid
|
||||
left join ts_institution on ts_user.institution_id = ts_institution.id
|
||||
WHERE 1=1
|
||||
@@ -20,7 +20,7 @@
|
||||
and sys_log.oper = #{sysLogReqDTO.oper}
|
||||
</if>
|
||||
<if test="sysLogReqDTO.content != null and sysLogReqDTO.content != ''">
|
||||
and sys_log.oper_location like concat(concat('%',#{sysLogReqDTO.content}),'%')
|
||||
and sys_log.special like concat(concat('%',#{sysLogReqDTO.content}),'%')
|
||||
</if>
|
||||
order by sys_log.oper_time desc
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user