|
@@ -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")));
|