| | |
| | | |
| | | void detailIssueTableConfig(Map<String, Object> resJsonData); |
| | | |
| | | void detailRelationIssueTableConfig(Long issueId, Map<String, Object> resJsonData); |
| | | void detailRelationIssueTableConfig(Map<String, Object> params, Map<String, Object> resJsonData); |
| | | |
| | | void detailDownIssueTableConfig(Long issueId, Map<String, Object> resJsonData); |
| | | void detailDownIssueTableConfig(Map<String, Object> params, Map<String, Object> resJsonData); |
| | | |
| | | IssueTableConfig findByUserIdAndWorkspaceIdAndIssueIdAndIssueTableType(Long issueId, int issueTableType); |
| | | |
| | |
| | | } |
| | | // 저장된 연관 이슈 테이블 설정 조회 |
| | | @Override |
| | | public void detailRelationIssueTableConfig(Long issueId, Map<String, Object> resJsonData) { |
| | | public void detailRelationIssueTableConfig(Map<String, Object> params, Map<String, Object> resJsonData) { |
| | | issueTableType = 2; |
| | | issueId = MapUtil.getLong(params, "issueId"); |
| | | this.detailMultipleCode(resJsonData, issueId, issueTableType); |
| | | } |
| | | // 저장된 하위 이슈 테이블 설정 조회 |
| | | @Override |
| | | public void detailDownIssueTableConfig(Long issueId, Map<String, Object> resJsonData) { |
| | | public void detailDownIssueTableConfig(Map<String, Object> params, Map<String, Object> resJsonData) { |
| | | issueTableType = 3; |
| | | issueId = MapUtil.getLong(params, "issueId"); |
| | | this.detailMultipleCode(resJsonData, issueId, issueTableType); |
| | | } |
| | | |
| | |
| | | @RequestMapping(value = "/issueTableConfig/relationDetail", produces = MediaType.APPLICATION_JSON_VALUE) |
| | | public |
| | | @ResponseBody |
| | | Map<String, Object> relationDetail(@RequestBody Long issueId) { |
| | | Map<String, Object> relationDetail(@RequestBody Map<String, Object> params) { |
| | | Map<String, Object> resJsonData = new HashMap<>(); |
| | | this.issueTableConfigService.detailRelationIssueTableConfig(issueId,resJsonData); |
| | | this.issueTableConfigService.detailRelationIssueTableConfig(params,resJsonData); |
| | | |
| | | return this.setSuccessMessage(resJsonData); |
| | | } |
| | |
| | | @RequestMapping(value = "/issueTableConfig/downDetail", produces = MediaType.APPLICATION_JSON_VALUE) |
| | | public |
| | | @ResponseBody |
| | | Map<String, Object> downDetail(@RequestBody Long issueId) { |
| | | Map<String, Object> downDetail(@RequestBody Map<String, Object> params) { |
| | | Map<String, Object> resJsonData = new HashMap<>(); |
| | | this.issueTableConfigService.detailDownIssueTableConfig(issueId,resJsonData); |
| | | this.issueTableConfigService.detailDownIssueTableConfig(params,resJsonData); |
| | | |
| | | return this.setSuccessMessage(resJsonData); |
| | | } |
| | |
| | | // 이슈 목록 테이블 설정 정보를 가져온다. |
| | | function getIssueTableConfigs() { |
| | | var deferred = $q.defer(); |
| | | var content = { |
| | | issueId : $rootScope.currentDetailIssueId, |
| | | issueTableConfigs : JSON.stringify($scope.vm.issueTableConfigs) |
| | | }; |
| | | |
| | | IssueTableConfig.downDetail($resourceProvider.getContent(content, |
| | | $resourceProvider.getPageContent(0, 1000))).then(function (result) { |
| | |
| | | function getIssueTableConfigs() { |
| | | var deferred = $q.defer(); |
| | | |
| | | var content = { |
| | | issueId : $rootScope.currentDetailIssueId, |
| | | issueTableConfigs : JSON.stringify($scope.vm.issueTableConfigs) |
| | | }; |
| | | |
| | | IssueTableConfig.relationDetail($resourceProvider.getContent(content, |
| | | $resourceProvider.getPageContent(0, 1000))).then(function (result) { |
| | | if (result.data.message.status !== "success") { |