|
@@ -53,7 +53,7 @@ public class QueryDataServer {
|
|
System.out.println();
|
|
System.out.println();
|
|
IPage<InquiryOfConsultationFee> page = queryPage(param);
|
|
IPage<InquiryOfConsultationFee> page = queryPage(param);
|
|
List<InquiryOfConsultationFee> list = page.getRecords();
|
|
List<InquiryOfConsultationFee> list = page.getRecords();
|
|
- String[] title = {"住院号","住院次数","科室","收费日期","职位","费用"};
|
|
|
|
|
|
+ String[] title = {"住院号","住院次数","科室","收费日期","医生","职位","费用"};
|
|
String[][] content = new String[list.size()][];
|
|
String[][] content = new String[list.size()][];
|
|
for (int i = 0; i < list.size(); i++){
|
|
for (int i = 0; i < list.size(); i++){
|
|
content[i] = new String[title.length];
|
|
content[i] = new String[title.length];
|
|
@@ -62,8 +62,9 @@ public class QueryDataServer {
|
|
content[i][1] = String.valueOf(iof.getAdmissTimes());
|
|
content[i][1] = String.valueOf(iof.getAdmissTimes());
|
|
content[i][2] = iof.getDept();
|
|
content[i][2] = iof.getDept();
|
|
content[i][3] = DateUtil.formatDatetime(iof.getInputDate());
|
|
content[i][3] = DateUtil.formatDatetime(iof.getInputDate());
|
|
- content[i][4] = iof.getPosition();
|
|
|
|
- content[i][5] =iof.getChargeFee();
|
|
|
|
|
|
+ content[i][4] = iof.getDoctor();
|
|
|
|
+ content[i][5] = iof.getPosition();
|
|
|
|
+ content[i][6] =iof.getChargeFee();
|
|
|
|
|
|
}
|
|
}
|
|
//传三个参数 一个是 固定的 response ,excel的头部信息,excel的内容
|
|
//传三个参数 一个是 固定的 response ,excel的头部信息,excel的内容
|