补充addMessage().

This commit is contained in:
zhangwq
2018-12-15 18:05:30 +08:00
parent b50a740dbe
commit f8d1a49b9d
25 changed files with 73 additions and 2 deletions

View File

@@ -128,6 +128,7 @@ public class AppFeatureCfgController extends BaseController {
entity.setAppCode(specificService.getSpecServiceCode());
}
appMultiFeatureCfgService.saveOrUpdateAppFeatureCfg(entity);
addMessage(redirectAttributes,"success", "save_success");
} catch (Exception e) {
e.printStackTrace();
if(e instanceof MaatConvertException) {
@@ -169,6 +170,7 @@ public class AppFeatureCfgController extends BaseController {
entity.setFunctionId(functionId);
try {
appMultiFeatureCfgService.auditAppFeatureCfg(entity,isAudit);
addMessage(redirectAttributes,"success", "audit_success");
} catch (MaatConvertException e) {
e.printStackTrace();
logger.error("app 特征配置下发失败:"+e.getMessage());
@@ -186,6 +188,7 @@ public class AppFeatureCfgController extends BaseController {
try {
BeanUtils.copyProperties(searchPage, auditPage);
auditAll(auditPage,isValid , cfg);
addMessage(redirectAttributes,"success", "audit_success");
} catch (Exception e) {
logger.error("配置下发失败:",e);
if(e instanceof MaatConvertException) {