| | |
| | | * |
| | | */ |
| | | @PostMapping("/clone") |
| | | @VciBusinessLog(operateName = "删除表单/表格") |
| | | @VciBusinessLog(operateName = "克隆表单/表格") |
| | | public BaseResult clone(@RequestBody ClonePortalVIDTOList portalVIDTOList){ |
| | | try { |
| | | return portalVIServiceI.clone(portalVIDTOList) ? BaseResult.success("克隆成功!"):BaseResult.fail("克隆失败!"); |
| | |
| | | /** |
| | | * 导出数据库的表信息到excel |
| | | * @param response 响应对象 |
| | | * @param btmTypeIds 业务类型的编号,用逗号分割 |
| | | * @param ids 业务类型的编号,用逗号分割 |
| | | */ |
| | | @PostMapping("/exportExcel") |
| | | @VciBusinessLog(operateName = "导出表单/表格到excel中") |
| | | public void exportExcel(String btmTypeIds,HttpServletResponse response){ |
| | | String excelFileName = portalVIServiceI.exportToExcel(VciBaseUtil.str2List(btmTypeIds)); |
| | | public void exportExcel(String ids,HttpServletResponse response){ |
| | | String excelFileName = portalVIServiceI.exportToExcel(VciBaseUtil.str2List(ids)); |
| | | try { |
| | | ControllerUtil.writeFileToResponse(response,excelFileName); |
| | | } catch (IOException e) { |
| | |
| | | * 获取超链接弹出方法 |
| | | */ |
| | | @GetMapping("/getItemDblList") |
| | | @VciBusinessLog(operateName = "属性字段类型") |
| | | @VciBusinessLog(operateName = "超链接类型") |
| | | public BaseResult<List<KeyValue>> getItemDblList(){ |
| | | return BaseResult.dataList(ItemDblEnum.getEnumAll()); |
| | | } |