|
|
|
@ -2,6 +2,7 @@ package com.emr.controller;
|
|
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
|
|
import com.emr.dao.Emr_DictionaryMapper;
|
|
|
|
|
import com.emr.dao.TPrintinfoMapper;
|
|
|
|
|
import com.emr.entity.*;
|
|
|
|
|
import com.emr.service.Archive_DetailService;
|
|
|
|
|
import com.emr.service.Archive_MasterService;
|
|
|
|
@ -61,6 +62,8 @@ public class FontController {
|
|
|
|
|
private ArchiveFlowInfoService archiveFlowInfoService;
|
|
|
|
|
@Autowired
|
|
|
|
|
private ArchiveOtherExtService archiveOtherExtService;
|
|
|
|
|
@Autowired
|
|
|
|
|
private TPrintinfoMapper tPrintinfoMapper;
|
|
|
|
|
|
|
|
|
|
@RequestMapping("selectIsPrintByPatienId")
|
|
|
|
|
@ResponseBody
|
|
|
|
@ -111,6 +114,8 @@ public class FontController {
|
|
|
|
|
ExceptionPrintUtil.printException(e);
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|
}
|
|
|
|
|
List<TPrintinfo> tPrintinfos = tPrintinfoMapper.selectIsPrintByPatienId(patientId);
|
|
|
|
|
model.addAttribute("printCount",tPrintinfos.size());
|
|
|
|
|
model.addAttribute("patientId",list.get(0).getId());
|
|
|
|
|
model.addAttribute("accountNumber",list.get(0).getPatientId());
|
|
|
|
|
model.addAttribute("assortIds",assortIds);
|
|
|
|
|