| | |
| | | config.setUpdateBy(getUsername()); |
| | | int i = configService.updateConfig(config); |
| | | if (i > 0) { |
| | | if (config.getConfigId() == 113) { |
| | | SysMenu byId = menuService.getById(2305); |
| | | if ("Y".equals(configValue)) { |
| | | byId.setVisible("0"); |
| | | } |
| | | if ("N".equals(configValue)) { |
| | | byId.setVisible("1"); |
| | | } |
| | | menuService.updateById(byId); |
| | | } |
| | | // if (config.getConfigId() == 113) { |
| | | // SysMenu byId = menuService.getById(2305); |
| | | // if ("Y".equals(configValue)) { |
| | | // byId.setVisible("0"); |
| | | // } |
| | | // if ("N".equals(configValue)) { |
| | | // byId.setVisible("1"); |
| | | // } |
| | | // menuService.updateById(byId); |
| | | // } |
| | | } |
| | | return toAjax(i); |
| | | } |