|
@@ -17,10 +17,10 @@ import thyyxxk.webserver.config.exception.ExceptionEnum;
|
|
|
import thyyxxk.webserver.constants.GetDateFormat;
|
|
|
import thyyxxk.webserver.constants.Message;
|
|
|
import thyyxxk.webserver.constants.sidicts.*;
|
|
|
+import thyyxxk.webserver.dao.his.inpatient.DismissDao;
|
|
|
import thyyxxk.webserver.dao.his.medicalinsurance.SiLogDao;
|
|
|
import thyyxxk.webserver.dao.his.medicalinsurance.SiQueryDao;
|
|
|
import thyyxxk.webserver.dao.his.medicalinsurance.UpIdCollectionDao;
|
|
|
-import thyyxxk.webserver.dao.his.inpatient.DismissDao;
|
|
|
import thyyxxk.webserver.entity.ResultVo;
|
|
|
import thyyxxk.webserver.entity.datamodify.GetDropdownBox;
|
|
|
import thyyxxk.webserver.entity.datamodify.TYbSetModifyTime;
|
|
@@ -831,7 +831,6 @@ public class SetlListUpldService {
|
|
|
int currentPage = (int) Math.ceil(param.getTotal() / (double) 100);
|
|
|
List<SiSetlinfoTemp> list = new ArrayList<>();
|
|
|
JSONObject obj = new JSONObject();
|
|
|
- obj.put("name", "jdtMessage");
|
|
|
obj.put("jdtType", "download");
|
|
|
obj.put("jdtTitle", "导出Excel");
|
|
|
obj.put("total", param.getTotal());
|
|
@@ -839,9 +838,12 @@ public class SetlListUpldService {
|
|
|
param.setCurrentPage(i + 1);
|
|
|
list.addAll(huoQuJieSuanRenYuan(param).getData().getRecords());
|
|
|
obj.put("index", list.size());
|
|
|
- WebSocketServer.sendMessageByUserCode(TokenUtil.getTokenUserId(), obj.toString());
|
|
|
+ WebSocketServer.sendMessageByUserCode(TokenUtil.getTokenUserId(), SocketMsg.socketVo(Message.JDT_MESSAGE, obj));
|
|
|
}
|
|
|
- String[] title = {"姓名", "审核状态", "申报类型", "出院科室", "住院号/门诊号", "性别", "住院天数", "诊断编码", "诊断名称", "治疗方式", "总费用", "报销金额", "险种类型", "人员类别", "结算时间", "医疗类别", "清算机构", "管床医生", "转科室", "转科次数", "申请备注"};
|
|
|
+ String[] title = {"姓名", "审核状态", "申报类型", "出院科室", "住院号/门诊号", "性别",
|
|
|
+ "住院天数", "诊断编码", "诊断名称", "治疗方式", "总费用", "报销金额",
|
|
|
+ "险种类型", "人员类别", "结算时间", "医疗类别", "清算机构", "参保地",
|
|
|
+ "管床医生", "转科室", "转科次数", "申请备注"};
|
|
|
String[][] content = new String[list.size()][];
|
|
|
for (int i = 0; i < list.size(); i++) {
|
|
|
content[i] = new String[title.length];
|
|
@@ -863,10 +865,11 @@ public class SetlListUpldService {
|
|
|
content[i][14] = DateUtil.formatDatetime(pojo.getSetlTime(), GetDateFormat.DATE_TIME);
|
|
|
content[i][15] = pojo.getMedTypeName();
|
|
|
content[i][16] = pojo.getClrOptinsName();
|
|
|
- content[i][17] = pojo.getReferPhysicianName();
|
|
|
- content[i][18] = pojo.getZhuanKeName() == null ? "" : pojo.getZhuanKeName().toString();
|
|
|
- content[i][19] = pojo.getZhuanKeAmount() == null ? "" : pojo.getZhuanKeAmount().toString();
|
|
|
- content[i][20] = pojo.getReqRemark();
|
|
|
+ content[i][17] = pojo.getInsuplcAdmdvsName();
|
|
|
+ content[i][18] = pojo.getReferPhysicianName();
|
|
|
+ content[i][19] = pojo.getZhuanKeName() == null ? "" : pojo.getZhuanKeName().toString();
|
|
|
+ content[i][20] = pojo.getZhuanKeAmount() == null ? "" : pojo.getZhuanKeAmount().toString();
|
|
|
+ content[i][21] = pojo.getReqRemark();
|
|
|
}
|
|
|
//传三个参数 一个是 固定的 response ,excel的头部信息,excel的内容
|
|
|
ExcelUtil.exportExcel(response, title, content);
|