Browse Source

绩效结果考核申报驳回修改信息问题

hlf 9 months ago
parent
commit
c20645c32b

+ 1 - 2
ims-service/ims-eval/src/main/java/com/ims/eval/controller/DeptAssessmentDeclarationController.java

@@ -687,8 +687,7 @@ public class DeptAssessmentDeclarationController {
 		boolean b = false;
 		JSONObject jsonArr = userService.getLoginNameByUserInfo(employeeNo, request);
 		JSONObject data = (JSONObject) jsonArr.get("data");
-		JSONObject msg = (JSONObject) jsonArr.get("msg");
-		if ("操作成功".equals(String.valueOf(msg))) {
+		if (!data.isEmpty()){
 			DeptAssessmentDeclaration deptAssessmentDeclaration = deptAssessmentDeclarationService.getById(id);
 			if (null != deptAssessmentDeclaration) {
 				deptAssessmentDeclaration.setSeconderId(String.valueOf(data.get("id")));