add
This commit is contained in:
@ -33,7 +33,7 @@
|
||||
</select>
|
||||
|
||||
<select id="selectByUserId" resultType="com.qiaoba.api.system.entity.vo.SysMenuVo">
|
||||
select distinct t1.menu_id, t1.parent_id, t1.menu_name, t1.path, t1.component, t1.`query`, t1.is_visible, t1.perms, t1.is_frame, t1.is_cache, t1.menu_type, t1.icon, t1.order_num, t1.create_time
|
||||
select distinct t1.menu_id, t1.parent_id, t1.menu_name, t1.path, t1.component, t1.query, t1.is_visible, t1.perms, t1.is_frame, t1.is_cache, t1.menu_type, t1.icon, t1.order_num, t1.create_time
|
||||
from sys_menu t1
|
||||
LEFT JOIN sys_role_menu t2
|
||||
on t2.menu_id = t1.menu_id
|
||||
|
||||
@ -59,10 +59,10 @@
|
||||
<if test="param.phone != null and param.phone != ''">
|
||||
AND u.phone like concat('%', #{param.phone}, '%')
|
||||
</if>
|
||||
<if test="param.beginTime != null and param.beginTime != ''">
|
||||
<if test="param.beginTime != null">
|
||||
AND u.create_time >= #{param.beginTime}
|
||||
</if>
|
||||
<if test="param.endTime != null and param.endTime != ''">
|
||||
<if test="param.endTime != null">
|
||||
AND u.create_time <= #{param.endTime}
|
||||
</if>
|
||||
${param.dataScope}
|
||||
|
||||
Reference in New Issue
Block a user