| | |
| | | List<Map<String, Object>> results = this.workflowMapper.find(condition); |
| | | Long totalCount = this.workflowMapper.count(condition); |
| | | int totalPage = (int) Math.ceil((totalCount - 1) / pageable.getPageSize()) + 1; |
| | | List<WorkflowVo> workflowVos = ConvertUtil.convertListToListClass(results, WorkflowVo.class); |
| | | List<WorkflowVo> workflowVos = ConvertUtil.convertListToListClass(results, WorkflowVo.class); //workflow 리스트 |
| | | // 워크플로우를 사용하는 이슈 유형 정보를 추가한다. |
| | | this.setIssueTypeVos(workflowVos); |
| | | |
| | |
| | | |
| | | function detail() { |
| | | UserWorkspace.userDepartmentDetail($resourceProvider.getContent( |
| | | $scope.vm.search, |
| | | $scope.vm, |
| | | $resourceProvider.getPageContent(0, 1))).then(function (result) { |
| | | |
| | | if (result.data.message.status === "success") { |
| | |
| | | return deferred.promise; |
| | | } |
| | | |
| | | function getDepartmentList(query, excludeList, page, callBack) { |
| | | function getDepartmentList(query, excludeList, page, callBack) { //체크 필요 |
| | | var conditions = { |
| | | departmentName : query, |
| | | userId : (function () { |
| | | var userId = ""; |
| | | |
| | | if ($rootScope.isDefined($scope.vm.form)) { |
| | | angular.forEach($scope.vm.form.users, function (user) { |
| | | userId = user.id; |
| | | }); |
| | | } |
| | | return userId; |
| | | })(), |
| | | excludeIds : (function () { //어떤 역할? |
| | | excludeIds : (function () { //어떤 역할? 체크 필요 |
| | | var excludeIds = []; |
| | | |
| | | angular.forEach(excludeList, function (exclude) { |
| | | excludeIds.push(exclude.id); |
| | | }); |