Commit c34bf441 authored by sml's avatar sml

指定获取未删除数据

parent ca60e482
...@@ -150,10 +150,6 @@ public class DmpNavigationTreeServiceImpl extends BaseService implements DmpNavi ...@@ -150,10 +150,6 @@ public class DmpNavigationTreeServiceImpl extends BaseService implements DmpNavi
if (!StringUtils.isEmpty(dmpNavigationTreeRequest.getIsEnable())) { if (!StringUtils.isEmpty(dmpNavigationTreeRequest.getIsEnable())) {
dmpNavigationTree.setIsEnable(dmpNavigationTreeRequest.getIsEnable()); dmpNavigationTree.setIsEnable(dmpNavigationTreeRequest.getIsEnable());
} }
//数据状态
if (!StringUtils.isEmpty(dmpNavigationTreeRequest.getDataStatus())) {
dmpNavigationTree.setDataStatus(dmpNavigationTreeRequest.getDataStatus());
}
//创建用户ID //创建用户ID
if (!StringUtils.isEmpty(dmpNavigationTreeRequest.getCreateUserId())) { if (!StringUtils.isEmpty(dmpNavigationTreeRequest.getCreateUserId())) {
dmpNavigationTree.setCreateUserId(dmpNavigationTreeRequest.getCreateUserId()); dmpNavigationTree.setCreateUserId(dmpNavigationTreeRequest.getCreateUserId());
...@@ -162,6 +158,8 @@ public class DmpNavigationTreeServiceImpl extends BaseService implements DmpNavi ...@@ -162,6 +158,8 @@ public class DmpNavigationTreeServiceImpl extends BaseService implements DmpNavi
if (!StringUtils.isEmpty(dmpNavigationTreeRequest.getUpdateUserId())) { if (!StringUtils.isEmpty(dmpNavigationTreeRequest.getUpdateUserId())) {
dmpNavigationTree.setUpdateUserId(dmpNavigationTreeRequest.getUpdateUserId()); dmpNavigationTree.setUpdateUserId(dmpNavigationTreeRequest.getUpdateUserId());
} }
//查询未删除数据
dmpNavigationTree.setDataStatus("1");
List<DmpNavigationTree> list = dmpNavigationTreeDao.queryAll(dmpNavigationTree); List<DmpNavigationTree> list = dmpNavigationTreeDao.queryAll(dmpNavigationTree);
......
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