fetch:取消serach模块
This commit is contained in:
+3
-3
@@ -158,13 +158,13 @@ public class TsRoleServiceImpl extends ServiceImpl<TsRoleDao, TsRole> implements
|
|||||||
List<String> oldMenuIds=tsRoleDao.getMenuIds(tsRoleMenuVO.getRoleId());
|
List<String> oldMenuIds=tsRoleDao.getMenuIds(tsRoleMenuVO.getRoleId());
|
||||||
Map<String,List<String>> updateMenuIds= ListUtil.difList(tsRoleMenuVO.getMenuIds(),oldMenuIds);
|
Map<String,List<String>> updateMenuIds= ListUtil.difList(tsRoleMenuVO.getMenuIds(),oldMenuIds);
|
||||||
List<String> insertIds=updateMenuIds.get("insert");
|
List<String> insertIds=updateMenuIds.get("insert");
|
||||||
List<String> deleteIds=updateMenuIds.get("update");
|
List<String> deleteIds=updateMenuIds.get("delete");
|
||||||
if(insertIds!=null&&insertIds.size()>1){
|
if(insertIds!=null&&insertIds.size()>0){
|
||||||
for(String menuId:insertIds){
|
for(String menuId:insertIds){
|
||||||
tsRoleDao.addMenu(tsRoleMenuVO.getRoleId(),menuId);
|
tsRoleDao.addMenu(tsRoleMenuVO.getRoleId(),menuId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(deleteIds!=null&&deleteIds.size()>1){
|
if(deleteIds!=null&&deleteIds.size()>0){
|
||||||
for(String menuId:deleteIds){
|
for(String menuId:deleteIds){
|
||||||
tsRoleDao.delMenu(tsRoleMenuVO.getRoleId(),menuId);
|
tsRoleDao.delMenu(tsRoleMenuVO.getRoleId(),menuId);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
<module>adc-da-search</module>
|
<module>adc-da-search</module>
|
||||||
<module>adc-da-slrs</module>
|
<module>adc-da-slrs</module>
|
||||||
<module>adc-da-activiti</module>
|
<module>adc-da-activiti</module>
|
||||||
<module>adc-da-search</module>
|
<!-- <module>adc-da-search</module>-->
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
|
|||||||
Reference in New Issue
Block a user