|
@@ -4,6 +4,7 @@ import java.io.IOException;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
import cn.hutool.extra.cglib.CglibUtil;
|
|
import cn.hutool.extra.cglib.CglibUtil;
|
|
|
|
+import com.pj.tb_group.TbGroup;
|
|
import com.pj.tb_people.dto.StartStopDto;
|
|
import com.pj.tb_people.dto.StartStopDto;
|
|
import com.pj.tb_people.vo.ApplyPeopleVo;
|
|
import com.pj.tb_people.vo.ApplyPeopleVo;
|
|
import com.pj.utils.so.SoMap;
|
|
import com.pj.utils.so.SoMap;
|
|
@@ -135,9 +136,10 @@ public class TbPeopleController {
|
|
*/
|
|
*/
|
|
@RequestMapping("getApplyList")
|
|
@RequestMapping("getApplyList")
|
|
public AjaxJson getApplyList(@RequestParam("leaderId") Long leaderId){
|
|
public AjaxJson getApplyList(@RequestParam("leaderId") Long leaderId){
|
|
- List<TbPeople> list = tbPeopleService.getApplyList(leaderId);
|
|
|
|
- List<ApplyPeopleVo> resList = CglibUtil.copyList(list, ApplyPeopleVo::new);
|
|
|
|
- return AjaxJson.getSuccess( "返回申请人列表",resList);
|
|
|
|
|
|
+ SoMap so = SoMap.getRequestSoMap();
|
|
|
|
+ so.set("leader_id",leaderId);
|
|
|
|
+ AjaxJson ajaxJson = tbPeopleService.getApplyList(so);
|
|
|
|
+ return ajaxJson;
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
*组长是否同意申请
|
|
*组长是否同意申请
|
|
@@ -152,7 +154,20 @@ public class TbPeopleController {
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
|
|
+ /**
|
|
|
|
+ *查看互助组内成员列表
|
|
|
|
+ *
|
|
|
|
+ * @author loovi
|
|
|
|
+ * @date
|
|
|
|
+ */
|
|
|
|
+ @RequestMapping("getMemberList")
|
|
|
|
+// @SaCheckPermission(TbGroup.PERMISSION_CODE_EDIT)
|
|
|
|
+ public AjaxJson getMemberList(@RequestParam("leaderId") Long leaderId){
|
|
|
|
+ SoMap so = SoMap.getRequestSoMap();
|
|
|
|
+ so.set("leader_id",leaderId);
|
|
|
|
+ AjaxJson ajaxJson = tbPeopleService.getMemberList(so);
|
|
|
|
+ return ajaxJson;
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
|
|
|