Commit ae949e11 by guojuxing

gic版本字段数据格式调整:加上下划线,以便与查询

parent 80378b3c
......@@ -120,6 +120,7 @@ public class MenuApiServiceImpl implements MenuApiService {
if (!paramsValid.isSuccess()) {
return paramsValid;
}
menuDTO.setMenuVersion("_" + menuDTO.getMenuVersion().replaceAll(",", "_") + "_");
//sort
int maxSort = menuService.getMaxSortByParentId(MenuLevelConstants.FIRST_LEVEL_PARENT_ID, menuDTO.getProject());
menuDTO.setSort(maxSort + 1);
......@@ -163,6 +164,7 @@ public class MenuApiServiceImpl implements MenuApiService {
if (!paramsValid.isSuccess()) {
return paramsValid;
}
menuDTO.setMenuVersion("_" + menuDTO.getMenuVersion().replaceAll(",", "_") + "_");
menuService.updatePage(menuDTO);
return ServiceResponse.success();
}
......
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