Commit 3ea9af11 by 徐高华

sql

parent 3117bd6d
...@@ -233,7 +233,7 @@ public class HaobanRoleApiServiceImpl implements HaobanRoleApiService { ...@@ -233,7 +233,7 @@ public class HaobanRoleApiServiceImpl implements HaobanRoleApiService {
} }
} }
for(HaobanMenuBO item : allMenuList) { for(HaobanMenuBO item : allMenuList) {
String code = item.getMenuCode() ; String code = item.getBtnCodeRel() ;
if(0==item.getAuthControl() && StringUtils.isNotEmpty(item.getBtnCodeRel()) && menuCodes.contains(code)) { if(0==item.getAuthControl() && StringUtils.isNotEmpty(item.getBtnCodeRel()) && menuCodes.contains(code)) {
haobanMenuList.add(item) ; haobanMenuList.add(item) ;
menuCodes.add(code) ; menuCodes.add(code) ;
......
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
<if test="systemFlag != null"> <if test="systemFlag != null">
and b.system_flag = #{systemFlag} and b.system_flag = #{systemFlag}
</if> </if>
and a.auth_control = 1 and c.auth_control = 1
order by c.menu_sort order by c.menu_sort
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment