库管员绑定页面支持按库管员进行查询
This commit is contained in:
parent
ecbb572cf0
commit
65cc304229
|
|
@ -34,6 +34,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
LEFT JOIN ma_type_keeper mtk ON mtk.type_id = mt.type_id
|
||||
LEFT JOIN sys_user su ON su.user_id = mtk.user_id
|
||||
WHERE mt.`level` = '4' AND mt.`del_flag` = '0'
|
||||
<if test="userId != null and userId != ''">
|
||||
AND su.user_id = #{userId}
|
||||
</if>
|
||||
<if test="typeName != null and typeName != ''">
|
||||
AND mt2.type_name like concat('%', #{typeName}, '%')
|
||||
</if>
|
||||
|
|
|
|||
Loading…
Reference in New Issue