工作评议打分改为手动输入

This commit is contained in:
lijiaqi 2022-09-22 09:50:10 +08:00
parent f09745b4f5
commit ccb49fd72b
4 changed files with 8 additions and 0 deletions

View File

@ -174,6 +174,8 @@ public class ApiReviewWorkController extends ApiBaseController {
render(Ret.ok().data(ReviewWorkWrapper.build().entityVO(review)));
}
@ApiOperation("打分")
@PostMapping("check")
@ResponseBody

View File

@ -184,4 +184,7 @@ public class Appoint extends BaseEntity {
*/
@ApiModelProperty(value = "是否通过")
private Boolean status;
@ApiModelProperty(value = "打分分数")
String score;
}

View File

@ -37,4 +37,6 @@ public class AppointPerformStateRequest {
String performAttachmentConferenceId;
@ApiModelProperty(value = "附件关联会议名称 英文逗号间隔")
String performAttachmentConferenceName;
@ApiModelProperty(value = "打分分数")
String score;
}

View File

@ -225,6 +225,7 @@ public class AppointService extends BaseService<AppointMapper, Appoint> {
Assert.notNull(appoint, "未找到该记录");
BeanUtil.copyProperties(appointPerformRequest, appoint);
appoint.setUpdatedId(loginUser.getId());
appoint.setState(Appoint.STATE_END);
saveOrUpdate(appoint);
saveAppointAttachment(appoint.getId(), appointPerformRequest.getPerformAttachmentName(),
appointPerformRequest.getPerformAttachmentPath(), loginUser, Appoint.STATE_PERFORM,