|
|
|
@ -3,6 +3,7 @@ package com.emr.controller;
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
|
|
import com.alibaba.fastjson.JSONArray;
|
|
|
|
|
import com.emr.dao.Emr_DictionaryMapper;
|
|
|
|
|
import com.emr.dao.RecordMapper;
|
|
|
|
|
import com.emr.dao.TPrintinfoMapper;
|
|
|
|
|
import com.emr.entity.*;
|
|
|
|
|
import com.emr.service.Archive_DetailService;
|
|
|
|
@ -41,6 +42,8 @@ import org.springframework.ui.Model;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
import org.springframework.web.context.request.RequestContextHolder;
|
|
|
|
|
import org.springframework.web.context.request.ServletRequestAttributes;
|
|
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
@ -58,7 +61,7 @@ import java.util.*;
|
|
|
|
|
public class FontController {
|
|
|
|
|
@Value("${pdfWater}")
|
|
|
|
|
private String pdfWater;
|
|
|
|
|
@Value("${RoomDetailsUrl}")
|
|
|
|
|
@Value("${RoomDetailsUrl}")
|
|
|
|
|
private String RoomDetailsUrl;
|
|
|
|
|
@Value("${RoomDetailsUrlName}")
|
|
|
|
|
private String RoomDetailsUrlName;
|
|
|
|
@ -84,6 +87,8 @@ public class FontController {
|
|
|
|
|
private ArchiveOtherExtService archiveOtherExtService;
|
|
|
|
|
@Autowired
|
|
|
|
|
private TPrintinfoMapper tPrintinfoMapper;
|
|
|
|
|
@Autowired
|
|
|
|
|
private RecordMapper recordMapper;
|
|
|
|
|
|
|
|
|
|
@RequestMapping("selectIsPrintByPatienId")
|
|
|
|
|
@ResponseBody
|
|
|
|
@ -751,6 +756,10 @@ public class FontController {
|
|
|
|
|
@RequestMapping(value = "getMaster")
|
|
|
|
|
@ResponseBody
|
|
|
|
|
public OffsetLimitPage getMaster(Archive_Master_Vo archiveMasterVo, Integer offset, Integer limit) throws Exception {
|
|
|
|
|
HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest();
|
|
|
|
|
Power_User user = (Power_User)request.getSession().getAttribute("CURRENT_USER");
|
|
|
|
|
String deptCode = user.getDeptCode();
|
|
|
|
|
archiveMasterVo.setDeptCode(deptCode);
|
|
|
|
|
return archiveMasterService.selectByCol(archiveMasterVo, offset, limit);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -888,7 +897,7 @@ public class FontController {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* *//*
|
|
|
|
|
/* *//*
|
|
|
|
|
* <Request>
|
|
|
|
|
<Header>
|
|
|
|
|
<SourceSystem>HIS</SourceSystem>
|
|
|
|
|