|
@@ -66,7 +66,10 @@ public class DeptAssessmentDeclarationServiceImpl extends ServiceImpl<DeptAssess
|
|
|
deptAssessmentDeclaration.setCreateTime(DateUtil.date());
|
|
|
List<DeptAssessmentDeclarationContent> deptAssessmentDeclarationContentList = new ArrayList<>();
|
|
|
JSONObject jsonArr = userService.pageList(1, 500, deptAssessmentDeclaration.getDeptId(), "", "", "", "", "", request);
|
|
|
- JSONArray array = JSONUtil.parseArray(jsonArr);
|
|
|
+ JSONObject jsonArr1 = (JSONObject) jsonArr.get("data");
|
|
|
+ System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>--------------------------------------------------" + jsonArr1);
|
|
|
+ System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" + jsonArr1.get("records"));
|
|
|
+ JSONArray array = JSONUtil.parseArray(jsonArr.get("records"));
|
|
|
List<UserDTO> userList = JSONUtil.toList(array, UserDTO.class);
|
|
|
for (int i = 0; i < userList.size(); i++) {
|
|
|
DeptAssessmentDeclarationContent deptAssessmentDeclarationContent = new DeptAssessmentDeclarationContent();
|