Browse Source

履职评价增加专家ID

tags/24080901
WendyYang 1 year ago
parent
commit
78821214e2
2 changed files with 3 additions and 0 deletions
  1. +2
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/meeting/entity/domain/MeetingExpertJudge.java
  2. +1
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/meeting/manage/MeetingExpertJudgeManage.java

+ 2
- 0
pmapi/src/main/java/com/ningdatech/pmapi/meeting/entity/domain/MeetingExpertJudge.java View File

@@ -30,6 +30,8 @@ public class MeetingExpertJudge implements Serializable {
@ApiModelProperty("会议ID")
private Long meetingId;

private Long expertId;

@ApiModelProperty("会议专家ID")
private Long meetingExpertId;



+ 1
- 0
pmapi/src/main/java/com/ningdatech/pmapi/meeting/manage/MeetingExpertJudgeManage.java View File

@@ -63,6 +63,7 @@ public class MeetingExpertJudgeManage {
throw BizException.wrap("履职评价已提交");
}
MeetingExpertJudge entity = BeanUtil.copyProperties(req, MeetingExpertJudge.class);
entity.setExpertId(expert.getExpertId());
expertJudgeService.save(entity);
} finally {
distributedLock.releaseLock(key);


Loading…
Cancel
Save