| | |
| | | } |
| | | } |
| | | |
| | | // 新增安置情况模板 |
| | | @GetMapping(UrlConstants.STATE_SETTLEMENT_IMPORT_TEMPLATE) |
| | | public void importStateHouseholdTemplate(@RequestParam Integer compensationType, HttpServletResponse response) { |
| | | |
| | |
| | | |
| | | } |
| | | |
| | | // 实施明细导出 |
| | | @PostMapping(UrlConstants.STATE_SETTLEMENT_LIST_EXPORT) |
| | | public AjaxResult<Void> exportSettlementDetail(@RequestBody(required = false) StateExecutionBO executionBO, HttpServletResponse response) { |
| | | try { |
| | |
| | | public AjaxResult<Map<String, Map<Integer, ProjectExecutionSumVO>>> listProjectExecution(@RequestBody List<String> projectIdList) { |
| | | return AjaxResult.success(settlementService.listProjectExecutionByProjectId(projectIdList, null)); |
| | | } |
| | | |
| | | // 新增安置情况 - 提交审核 |
| | | @PostMapping(UrlConstants.STATE_SETTLEMENT_EXECUTION_WORKFLOW_SUBMIT) |
| | | public AjaxResult<Boolean> submitSettle(@RequestBody WorkFlowSubmitBO workFlowSubmitBO) { |
| | | if (Objects.isNull(workFlowSubmitBO.getSettlementIdList()) || workFlowSubmitBO.getSettlementIdList().isEmpty()) { |
| | |
| | | } |
| | | |
| | | /** |
| | | * 新增安置情况 - 安置批次名字 |
| | | * @param projectId |
| | | * @param componsationType |
| | | * @return |
| | |
| | | return AjaxResult.success(settlementService.generateBatchName(projectId, componsationType)); |
| | | } |
| | | |
| | | /** |
| | | * 当前项目安置批次名字列表 |
| | | * @param projectId |
| | | * @return |
| | | */ |
| | | @GetMapping(UrlConstants.STATE_SETTLEMENT_BATCH_NAME_LIST) |
| | | public AjaxResult<List<String>> listBatchName(@RequestParam String projectId) { |
| | | return AjaxResult.success(settlementService.listBatchName(projectId)); |