Commit 0a883855 by 刘宇峰

特约店用户接口

1 parent 99ffc5e4
......@@ -211,8 +211,9 @@ public class TrialDriveShopService {
SimpleTreeModel treeModel = new SimpleTreeModel();
treeModel.setId(o.getId());
treeModel.setLabel(o.getOrgName());
treeModel.setType(0);
R<List<User>> userListR = userService.findByUser(new FindUserRequest().setOrgId(o.getId()));
R<List<User>> userListR = userService.findByOrg(new FindUserRequest().setOrgId(o.getId()));
List<User> list = userListR.getDataList(new TypeToken<List<User>>() {
}.getType());
......@@ -232,6 +233,7 @@ public class TrialDriveShopService {
SimpleTreeModel treeModel = new SimpleTreeModel();
treeModel.setId(u.getId());
treeModel.setLabel(u.getUsername());
treeModel.setType(1);
treeModelList.add(treeModel);
});
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!