|
|
|
@ -122,7 +122,7 @@ public class FontController {
|
|
|
|
|
* 提供第三方按用户名和记账号查询病历pdf
|
|
|
|
|
* */
|
|
|
|
|
@RequestMapping("showRecordByOpId")
|
|
|
|
|
public String showRecordByPatientId(String userName, String opID,Model model){
|
|
|
|
|
public String showRecordByPatientId(String userName, String opID,Integer delPower,Model model,HttpSession httpSession){
|
|
|
|
|
//判断各参数
|
|
|
|
|
if(StringUtils.isBlank(userName)){
|
|
|
|
|
return retrunErrorPage(model,"工号不能为空!");
|
|
|
|
@ -153,6 +153,11 @@ public class FontController {
|
|
|
|
|
list.get(0).setC8(null);
|
|
|
|
|
}
|
|
|
|
|
model.addAttribute("record",list.get(0));
|
|
|
|
|
if(null == delPower || delPower != 1){
|
|
|
|
|
delPower = 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
model.addAttribute("delPower",delPower);
|
|
|
|
|
return "font/showRecordByOpId";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|