|
|
@@ -39,6 +39,8 @@ public class SmartAuthorGroupServiceImpl extends ServiceImpl<SmartAuthorGroupMap
|
|
|
public SmartApplyMapper smartApplyMapper;
|
|
|
@Autowired
|
|
|
public SmartDepartmentMapper smartDepartmentMapper;
|
|
|
+ @Autowired
|
|
|
+ public SmartMenuMapper smartMenuMapper;
|
|
|
|
|
|
@Override
|
|
|
public int insertSmartAuthorGroup(SmartAuthorGroup sa) {
|
|
|
@@ -106,11 +108,11 @@ public class SmartAuthorGroupServiceImpl extends ServiceImpl<SmartAuthorGroupMap
|
|
|
List<SmartUser> list1 = smartUserMapper.selectList(queryWrapper1);
|
|
|
JSONObject jsonObject1 = new JSONObject();
|
|
|
jsonObject1.put("data", list1);
|
|
|
- QueryWrapper<SmartApply> queryWrapper2 = new QueryWrapper<>();
|
|
|
+ QueryWrapper<SmartMenu> queryWrapper2 = new QueryWrapper<>();
|
|
|
queryWrapper2.eq("deleted", 0);
|
|
|
List<String> applyIds = Arrays.asList(data.getApplyId().split(","));
|
|
|
queryWrapper2.in("id", applyIds);
|
|
|
- List<SmartApply> list2 = smartApplyMapper.selectList(queryWrapper2);
|
|
|
+ List<SmartMenu> list2 = smartMenuMapper.selectList(queryWrapper2);
|
|
|
JSONObject jsonObject2 = new JSONObject();
|
|
|
jsonObject2.put("data", list2);
|
|
|
AuthorListGroup item = AuthorListGroup.builder()
|