|
@@ -335,8 +335,8 @@ public class DeptAssessmentDeclarationController {
|
|
|
deptAssessmentDeclarationContent.setAssessmentDeclarationId(id);
|
|
|
deptAssessmentDeclarationContent.setEmployeeNo(str[0]);
|
|
|
JSONObject jsonArr = userService.getLoginNameByUserInfo(str[0], request);
|
|
|
- JSONObject data = (JSONObject) jsonArr.get("data");
|
|
|
- if ("操作成功".equals(String.valueOf(data.get("msg")))){
|
|
|
+ if ("操作成功".equals(String.valueOf(jsonArr.get("msg")))){
|
|
|
+ JSONObject data = (JSONObject) jsonArr.get("data");
|
|
|
deptAssessmentDeclarationContent.setEmployeeId(String.valueOf(data.get("id")));
|
|
|
deptAssessmentDeclarationContent.setEmployeeName(String.valueOf(data.get("name")));
|
|
|
}
|