|
@ -41,6 +41,17 @@ public class BaseDiseaseHospitalController extends EnvelopRestEndpoint {
|
|
|
@Autowired
|
|
|
private ExportUtl exportUtl;
|
|
|
|
|
|
@GetMapping(value = "diseaseDeptList")
|
|
|
@ApiOperation(value = " 病种关联科室")
|
|
|
public ListEnvelop diseaseDeptList() {
|
|
|
try {
|
|
|
return ListEnvelop.getSuccess("查询成功",baseDiseaseHospitalService.diseaseDeptList());
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
return failedListEnvelopException(e);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@GetMapping(value = "open/exportExcel/exportSurveyRecord")
|
|
|
@ApiOperation(value = " 导出筛查患者管理")
|
|
|
public ListEnvelop exportSurveyRecord(
|
|
@ -74,7 +85,7 @@ public class BaseDiseaseHospitalController extends EnvelopRestEndpoint {
|
|
|
WritableSheet ws;
|
|
|
ws = wwb.createSheet("sheet", 1);
|
|
|
|
|
|
String[] header = {"姓名", "联系电话", "证件号码", "病种名称", "关联科室", "接待状态", "操作时间","操作人"};
|
|
|
String[] header = {"姓名", "联系电话", "证件号码", "病种名称", "关联科室", "接待状态", "操作时间","操作人","短信内容"};
|
|
|
int k = 0;
|
|
|
for (String h : header) {
|
|
|
exportUtl.addCell(ws, 0, k, h);//表名,行,列,header
|
|
@ -91,6 +102,7 @@ public class BaseDiseaseHospitalController extends EnvelopRestEndpoint {
|
|
|
exportUtl.addCell(ws, i, 5, m.getStatusName());
|
|
|
exportUtl.addCell(ws, i, 6, m.getOperateTime());
|
|
|
exportUtl.addCell(ws, i, 7, m.getDoctorName());
|
|
|
exportUtl.addCell(ws, i, 8, m.getContent());
|
|
|
i++;
|
|
|
}
|
|
|
wwb.write();
|