Commit fdd8323e by 谢海旭

学习中心:编辑培训计划

1 parent fef83b6e
...@@ -103,8 +103,14 @@ public class TrainingPlanController { ...@@ -103,8 +103,14 @@ public class TrainingPlanController {
@ApiOperation("培训计划-编辑") @ApiOperation("培训计划-编辑")
@ServiceMethod(method = "risk.manage.api.training.plan.update", needInSession = NeedInSessionType.YES) @ServiceMethod(method = "risk.manage.api.training.plan.update", needInSession = NeedInSessionType.YES)
public RopResponse<String> updateTrainingPlan(TrainingPlanUpdateRequest request) { public RopResponse<String> updateTrainingPlan(TrainingPlanUpdateRequest request) {
LoginUserDTO loginUser = CommonUtil.getLoginUser();
String loginAccout = loginUser.getLoginAccout();
TrainingPlanDetailDTO requestDTO = CommonUtil.convertRequest(TrainingPlanDetailDTO.class);
requestDTO.setUpdatedBy(loginAccout);
try { try {
return RopResponse.success(null); RpcResponse<String> response = trainingPlanRemote.updateTrainingPlan(requestDTO);
return CommonUtil.convertRopResponse(response);
} catch (RpcServiceException e) { } catch (RpcServiceException e) {
log.info("risk.manage.api.training.plan.update.exception!", e); log.info("risk.manage.api.training.plan.update.exception!", e);
return RopResponse.error(e); return RopResponse.error(e);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!