fetch:取消serach模块

This commit is contained in:
root
2021-06-30 14:01:31 +08:00
parent 52015144b5
commit bad0f16f90
2 changed files with 4 additions and 4 deletions
@@ -158,13 +158,13 @@ public class TsRoleServiceImpl extends ServiceImpl<TsRoleDao, TsRole> implements
List<String> oldMenuIds=tsRoleDao.getMenuIds(tsRoleMenuVO.getRoleId());
Map<String,List<String>> updateMenuIds= ListUtil.difList(tsRoleMenuVO.getMenuIds(),oldMenuIds);
List<String> insertIds=updateMenuIds.get("insert");
List<String> deleteIds=updateMenuIds.get("update");
if(insertIds!=null&&insertIds.size()>1){
List<String> deleteIds=updateMenuIds.get("delete");
if(insertIds!=null&&insertIds.size()>0){
for(String menuId:insertIds){
tsRoleDao.addMenu(tsRoleMenuVO.getRoleId(),menuId);
}
}
if(deleteIds!=null&&deleteIds.size()>1){
if(deleteIds!=null&&deleteIds.size()>0){
for(String menuId:deleteIds){
tsRoleDao.delMenu(tsRoleMenuVO.getRoleId(),menuId);
}
+1 -1
View File
@@ -39,7 +39,7 @@
<module>adc-da-search</module>
<module>adc-da-slrs</module>
<module>adc-da-activiti</module>
<module>adc-da-search</module>
<!-- <module>adc-da-search</module>-->
</modules>
<repositories>