Commit 178121a9 authored by 徐俊's avatar 徐俊

xujun

parent 75ae2ca5
...@@ -210,7 +210,7 @@ public class ComProjectController extends BaseController<ComProjectService, ComP ...@@ -210,7 +210,7 @@ public class ComProjectController extends BaseController<ComProjectService, ComP
return ResponseDataModel.ok(comProjectService.projectImport(list)); return ResponseDataModel.ok(comProjectService.projectImport(list));
} }
@ApiOperation(value = "项目信息导出", httpMethod = "POST", notes = "项目信息导出") @ApiOperation(value = "项目信息导出1", httpMethod = "POST", notes = "项目信息导出1")
@RequestMapping("/projectExport/{id}") @RequestMapping("/projectExport/{id}")
@PostMapping @PostMapping
public ResponseDataModel<String> projectExport(@PathVariable String id) throws DocumentException, IOException { public ResponseDataModel<String> projectExport(@PathVariable String id) throws DocumentException, IOException {
......
...@@ -21,6 +21,8 @@ public class ProjectInfoToPDF { ...@@ -21,6 +21,8 @@ public class ProjectInfoToPDF {
// 宋体 // 宋体
BaseFont bfChinese = loadChineseFont("/fonts/simsun.ttc"); BaseFont bfChinese = loadChineseFont("/fonts/simsun.ttc");
// 仿宋
BaseFont fsChinese = loadChineseFont("/fonts/方正仿宋简体.ttf");
Font labelFont = new Font(bfChinese, 16, Font.NORMAL); Font labelFont = new Font(bfChinese, 16, Font.NORMAL);
Font valueFont = new Font(bfChinese, 16, Font.NORMAL); Font valueFont = new Font(bfChinese, 16, Font.NORMAL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment