moduleType查询添加
This commit is contained in:
parent
c969bc7ecd
commit
9d96e8b249
@ -41,6 +41,9 @@
|
|||||||
INNER JOIN base_menu t3 ON a1.menu_id=t3.menu_id
|
INNER JOIN base_menu t3 ON a1.menu_id=t3.menu_id
|
||||||
INNER JOIN base_module t4 ON t3.module_id=t4.module_id
|
INNER JOIN base_module t4 ON t3.module_id=t4.module_id
|
||||||
WHERE t1.project_sn=#{projectSn} AND t.user_id=#{userId} and t3.status=1 and t4.style_type=#{styleType}
|
WHERE t1.project_sn=#{projectSn} AND t.user_id=#{userId} and t3.status=1 and t4.style_type=#{styleType}
|
||||||
|
<if test="moduleType != null and moduleType != ''">
|
||||||
|
and t4.module_type = #{moduleType}
|
||||||
|
</if>
|
||||||
ORDER BY t4.module_type,t4.label_sort_num,t4.label_name,t4.module_id
|
ORDER BY t4.module_type,t4.label_sort_num,t4.label_name,t4.module_id
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
@ -945,6 +945,7 @@ public class SystemUserServiceImpl extends ServiceImpl<SystemUserMapper, SystemU
|
|||||||
} else if (accountType == 6) {
|
} else if (accountType == 6) {
|
||||||
param.put("projectSn", sn);
|
param.put("projectSn", sn);
|
||||||
param.put("userId", userId);
|
param.put("userId", userId);
|
||||||
|
param.put("moduleType", moduleType);
|
||||||
moduleList = baseModuleMapper.getProjectUserModuleList(param);
|
moduleList = baseModuleMapper.getProjectUserModuleList(param);
|
||||||
menuList = baseMenuService.getProjectUserMenuList(param);
|
menuList = baseMenuService.getProjectUserMenuList(param);
|
||||||
actionList = baseActionMapper.getProjectUserActionList(param);
|
actionList = baseActionMapper.getProjectUserActionList(param);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user