Commit f3ffdf70 by guojuxing

应用列表接口调整:区分是gic应用还是好办应用

parent cc8b73a9
......@@ -983,6 +983,10 @@ public class MenuApiServiceImpl implements MenuApiService {
setMenuVersion(app.getPropDTOList(), app.getServeExpanList(), menuDTO);
// setMenuAuthType(menuDTO);
setNormalFieldValue(menuDTO);
//3:好办应用
Integer appType = app.getAppType();
boolean isGicApp = appType == null || app.getAppType() == 0;
menuDTO.setPlatformType(isGicApp ? 0 : 3);
menuService.savePage(menuDTO);
}
}
......
......@@ -581,7 +581,7 @@
update tab_sys_menu set delete_flag = ${@com.gic.auth.constant.DeleteFlagConstants@DELETE_STATUS}
where delete_flag = ${@com.gic.auth.constant.DeleteFlagConstants@NORMAL_STATUS}
and project != 'gic'
and platform_type = 0
and project NOT IN
<foreach close=")" collection="list" index="index" item="item" open="(" separator=",">
#{item}
......
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