工作评议打分改为手动输入
This commit is contained in:
parent
f09745b4f5
commit
ccb49fd72b
|
@ -174,6 +174,8 @@ public class ApiReviewWorkController extends ApiBaseController {
|
|||
render(Ret.ok().data(ReviewWorkWrapper.build().entityVO(review)));
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ApiOperation("打分")
|
||||
@PostMapping("check")
|
||||
@ResponseBody
|
||||
|
|
|
@ -184,4 +184,7 @@ public class Appoint extends BaseEntity {
|
|||
*/
|
||||
@ApiModelProperty(value = "是否通过")
|
||||
private Boolean status;
|
||||
|
||||
@ApiModelProperty(value = "打分分数")
|
||||
String score;
|
||||
}
|
||||
|
|
|
@ -37,4 +37,6 @@ public class AppointPerformStateRequest {
|
|||
String performAttachmentConferenceId;
|
||||
@ApiModelProperty(value = "附件关联会议名称 英文逗号间隔")
|
||||
String performAttachmentConferenceName;
|
||||
@ApiModelProperty(value = "打分分数")
|
||||
String score;
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue