Prechádzať zdrojové kódy

添加医生查看的字段。

xiaochan 4 rokov pred
rodič
commit
c92015ab89

+ 4 - 3
src/main/java/thyyxxk/webserver/service/querydata/QueryDataServer.java

@@ -53,7 +53,7 @@ public class QueryDataServer {
         System.out.println();
         IPage<InquiryOfConsultationFee> page =  queryPage(param);
         List<InquiryOfConsultationFee> list = page.getRecords();
-        String[] title = {"住院号","住院次数","科室","收费日期","职位","费用"};
+        String[] title = {"住院号","住院次数","科室","收费日期","医生","职位","费用"};
         String[][] content = new String[list.size()][];
         for (int i = 0; i < list.size(); i++){
             content[i] = new String[title.length];
@@ -62,8 +62,9 @@ public class QueryDataServer {
             content[i][1] = String.valueOf(iof.getAdmissTimes());
             content[i][2] = iof.getDept();
             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的内容