Skip to content

Commit

Permalink
feat: turbo后台信息国际化 TencentBlueKing#86
Browse files Browse the repository at this point in the history
  • Loading branch information
eazence committed Jul 4, 2023
1 parent c14c8b0 commit d9ebc9b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,8 @@ class TurboPlanService @Autowired constructor(
val turboPlanEntity = findTurboPlanById(planId)
val turboPlanDetailVO = TurboPlanDetailVO()
if (turboPlanEntity != null) {
BeanUtils.copyProperties(turboPlanEntity, turboPlanDetailVO)
BeanUtils.copyProperties(turboPlanEntity, turboPlanDetailVO, "engineName")
turboPlanDetailVO.engineName = I18NUtil.getMessage("${turboPlanDetailVO.engineCode}.engineName")
turboPlanDetailVO.planId = planId
}
return turboPlanDetailVO
Expand Down

0 comments on commit d9ebc9b

Please sign in to comment.