| | |
| | | * @return IssueHosting |
| | | */ |
| | | private IssueHosting CreateIssueHosting(HostingFieldForm hostingFieldForm, Issue issue) { |
| | | IssueHosting issueHosting = ConvertUtil.copyProperties(hostingFieldForm, IssueHosting.class); |
| | | IssueHosting issueHosting = ConvertUtil.copyProperties(hostingFieldForm, IssueHosting.class, "id"); |
| | | issueHosting.setIssue(issue); |
| | | if (hostingFieldForm.getId() != null && hostingFieldForm.getId() != -1) { |
| | | HostingField hostingField = this.hostingFieldService.getHosting(hostingFieldForm.getId()); |
| | |
| | | if (issueHostingFields != null && issueHostingFields.size() > 0) { |
| | | Map<String, Object> param = issueHostingFields.get(0); |
| | | |
| | | if (issueHosting != null) { //수정 시 |
| | | // 변경 이력 남기고 issueHosting에 set 해주기 |
| | | // 변경 이력 남기고 issueHosting에 se |
| | | if (issueHosting != null) { //수정 시t 해주기 |
| | | issueHistoryService.detectIssueHosting(IssueHistoryType.MODIFY, param, null, issueHosting, sb); |
| | | |
| | | issueHosting.setName(MapUtil.getString(param, "name")); |