维护产品类型表 jsh_materialcategory
序列号表 jsh_serial_number 用户表 jsh_user 机构表 jsh_organization 机构用户关系表 jsh_orga_user_rel 对应的删除标记
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
|
||||
<select id="selectByConditionLog" parameterType="com.jsh.erp.datasource.entities.LogExample" resultMap="ResultExMap">
|
||||
select l.*,u.username userName
|
||||
FROM jsh_log l left join jsh_user u
|
||||
on l.userID = u.id
|
||||
FROM jsh_log l
|
||||
left join jsh_user u on l.userID = u.id and ifnull(u.status,'0') not in('1','2')
|
||||
where 1=1
|
||||
<if test="operation != null">
|
||||
and l.operation like '%${operation}%'
|
||||
|
||||
Reference in New Issue
Block a user