Merge branch 'test' of http://gitlab.fjmaimaimai.com/allied-creation/performance into test
正在显示
3 个修改的文件
包含
7 行增加
和
6 行删除
@@ -1598,8 +1598,8 @@ func (srv *SummaryEvaluationService) updateItemValuePriority( | @@ -1598,8 +1598,8 @@ func (srv *SummaryEvaluationService) updateItemValuePriority( | ||
1598 | return newItemValues, nil | 1598 | return newItemValues, nil |
1599 | } | 1599 | } |
1600 | 1600 | ||
1601 | -// GetTargetUserEvaluationSuper 按照周期和被评估的人 获取上级评估详情 | ||
1602 | -func (srv *SummaryEvaluationService) GetTargetUserEvaluationSuper(param *command.QueryEvaluation) (*adapter.EvaluationInfoSuperAdapter, error) { | 1601 | +// GetTargetEvaluationResult 按照周期和被评估的人 获取考核结果 |
1602 | +func (srv *SummaryEvaluationService) GetTargetEvaluationResult(param *command.QueryEvaluation) (*adapter.EvaluationInfoSuperAdapter, error) { | ||
1603 | transactionContext, err := factory.ValidateStartTransaction(param) | 1603 | transactionContext, err := factory.ValidateStartTransaction(param) |
1604 | if err != nil { | 1604 | if err != nil { |
1605 | return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error()) | 1605 | return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error()) |
@@ -304,8 +304,8 @@ func (c *SummaryEvaluationController) ConfirmScoreEvaluation() { | @@ -304,8 +304,8 @@ func (c *SummaryEvaluationController) ConfirmScoreEvaluation() { | ||
304 | c.Response(nil, err) | 304 | c.Response(nil, err) |
305 | } | 305 | } |
306 | 306 | ||
307 | -// GetTargetUserEvaluationSuper 根据被评估人和周期获取 上级评估 | ||
308 | -func (c *SummaryEvaluationController) GetTargetUserEvaluationSuper() { | 307 | +// GetTargetEvaluationResult 按照周期和被评估的人 获取考核结果 |
308 | +func (c *SummaryEvaluationController) GetTargetEvaluationResult() { | ||
309 | srv := service.NewSummaryEvaluationService() | 309 | srv := service.NewSummaryEvaluationService() |
310 | paramReq := &command.QueryEvaluation{} | 310 | paramReq := &command.QueryEvaluation{} |
311 | err := c.BindJSON(paramReq) | 311 | err := c.BindJSON(paramReq) |
@@ -316,7 +316,7 @@ func (c *SummaryEvaluationController) GetTargetUserEvaluationSuper() { | @@ -316,7 +316,7 @@ func (c *SummaryEvaluationController) GetTargetUserEvaluationSuper() { | ||
316 | } | 316 | } |
317 | userReq := middlewares.GetUser(c.Ctx) | 317 | userReq := middlewares.GetUser(c.Ctx) |
318 | paramReq.CompanyId = int(userReq.CompanyId) | 318 | paramReq.CompanyId = int(userReq.CompanyId) |
319 | - data, err := srv.GetTargetUserEvaluationSuper(paramReq) | 319 | + data, err := srv.GetTargetEvaluationResult(paramReq) |
320 | c.Response(data, err) | 320 | c.Response(data, err) |
321 | } | 321 | } |
322 | 322 |
@@ -28,7 +28,8 @@ func init() { | @@ -28,7 +28,8 @@ func init() { | ||
28 | web.NSCtrlPost("/evaluation-super/edit", (*controllers.SummaryEvaluationController).EditEvaluationSuper), | 28 | web.NSCtrlPost("/evaluation-super/edit", (*controllers.SummaryEvaluationController).EditEvaluationSuper), |
29 | web.NSCtrlPost("/evaluation-super/list", (*controllers.SummaryEvaluationController).ListExecutorEvaluationSuper), | 29 | web.NSCtrlPost("/evaluation-super/list", (*controllers.SummaryEvaluationController).ListExecutorEvaluationSuper), |
30 | web.NSCtrlPost("/evaluation-super/confirm", (*controllers.SummaryEvaluationController).ConfirmScoreEvaluation), | 30 | web.NSCtrlPost("/evaluation-super/confirm", (*controllers.SummaryEvaluationController).ConfirmScoreEvaluation), |
31 | - web.NSCtrlPost("/target_user/evaluation-super", (*controllers.SummaryEvaluationController).GetTargetUserEvaluationSuper), | 31 | + web.NSCtrlPost("/evaluation-result", (*controllers.SummaryEvaluationController).GetTargetEvaluationResult), |
32 | + //web.NSCtrlPost("/target_user/evaluation-super", (*controllers.SummaryEvaluationController).GetTargetEvaluationResult), | ||
32 | // web.NSCtrlPost("/evaluation-super/all", (*controllers.SummaryEvaluationController).ListAllEvaluationSuper), | 33 | // web.NSCtrlPost("/evaluation-super/all", (*controllers.SummaryEvaluationController).ListAllEvaluationSuper), |
33 | web.NSCtrlPost("/evaluation-finish/all", (*controllers.SummaryEvaluationController).ListAllEvaluationFinish), | 34 | web.NSCtrlPost("/evaluation-finish/all", (*controllers.SummaryEvaluationController).ListAllEvaluationFinish), |
34 | // web.NSCtrlPost("/evaluation-super/all/export", (*controllers.SummaryEvaluationController).ExportAllEvaluationSuper), | 35 | // web.NSCtrlPost("/evaluation-super/all/export", (*controllers.SummaryEvaluationController).ExportAllEvaluationSuper), |
-
请 注册 或 登录 后发表评论