|
@@ -152,8 +152,8 @@ public class SmartAuthorGroupServiceImpl extends ServiceImpl<SmartAuthorGroupMap
|
|
|
if (list1.size()>0){
|
|
if (list1.size()>0){
|
|
|
for (int j = 0; j < list1.size(); j++) {
|
|
for (int j = 0; j < list1.size(); j++) {
|
|
|
JSONObject jsonObject1 = new JSONObject();
|
|
JSONObject jsonObject1 = new JSONObject();
|
|
|
- jsonObject1.put("id", list1.get(i).getId());
|
|
|
|
|
- jsonObject1.put("name", list1.get(i).getName());
|
|
|
|
|
|
|
+ jsonObject1.put("id", list1.get(j).getId());
|
|
|
|
|
+ jsonObject1.put("name", list1.get(j).getName());
|
|
|
departmentManageJson.add(jsonObject1);
|
|
departmentManageJson.add(jsonObject1);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -169,8 +169,8 @@ public class SmartAuthorGroupServiceImpl extends ServiceImpl<SmartAuthorGroupMap
|
|
|
if (list1.size()>0){
|
|
if (list1.size()>0){
|
|
|
for (int j = 0; j < list1.size(); j++) {
|
|
for (int j = 0; j < list1.size(); j++) {
|
|
|
JSONObject jsonObject1 = new JSONObject();
|
|
JSONObject jsonObject1 = new JSONObject();
|
|
|
- jsonObject1.put("id", list1.get(i).getId());
|
|
|
|
|
- jsonObject1.put("name", list1.get(i).getName());
|
|
|
|
|
|
|
+ jsonObject1.put("id", list1.get(j).getId());
|
|
|
|
|
+ jsonObject1.put("name", list1.get(j).getName());
|
|
|
departmentViewJson.add(jsonObject1);
|
|
departmentViewJson.add(jsonObject1);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|