|
|
|
@ -123,9 +123,9 @@ public class signListController {
|
|
|
|
|
signList.setMasterID(master.get(0).getId());
|
|
|
|
|
signList.setPid(master.get(0).getPatientId());
|
|
|
|
|
|
|
|
|
|
Subject currentUser = SecurityUtils.getSubject();
|
|
|
|
|
Session session = currentUser.getSession();
|
|
|
|
|
signList.setC1((String) session.getAttribute("userSession"));
|
|
|
|
|
Power_User user = (Power_User) request.getSession().getAttribute("CURRENT_USER");
|
|
|
|
|
String username = user.getUserName();
|
|
|
|
|
signList.setC1(username);
|
|
|
|
|
signList.setC5("1");
|
|
|
|
|
|
|
|
|
|
signList.setId(IDHelper.NewID());
|
|
|
|
@ -172,9 +172,9 @@ public class signListController {
|
|
|
|
|
signList.setSysFlag(1);
|
|
|
|
|
signList.setMasterID(master.get(0).getId());
|
|
|
|
|
signList.setPid(master.get(0).getPatientId());
|
|
|
|
|
Subject currentUser = SecurityUtils.getSubject();
|
|
|
|
|
Session session = currentUser.getSession();
|
|
|
|
|
signList.setC1((String) session.getAttribute("userSession"));
|
|
|
|
|
Power_User user = (Power_User) request.getSession().getAttribute("CURRENT_USER");
|
|
|
|
|
String username = user.getUserName();
|
|
|
|
|
signList.setC1(username);
|
|
|
|
|
signList.setC5("1");
|
|
|
|
|
signList.setId(IDHelper.NewID());
|
|
|
|
|
signList.setCreatedtime(sdf.format(new Date()));
|
|
|
|
@ -249,16 +249,13 @@ public class signListController {
|
|
|
|
|
int doctorFlagNum = 0;
|
|
|
|
|
int nurseFlagNum = 0;
|
|
|
|
|
if (list != null && list.size() > 0) {
|
|
|
|
|
// 从session获取用户名
|
|
|
|
|
Subject currentUser = SecurityUtils.getSubject();
|
|
|
|
|
Session session = currentUser.getSession();
|
|
|
|
|
String username = (String) session.getAttribute("userSession");//获取前面登录的用户名
|
|
|
|
|
SimpleDateFormat format1 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
|
|
String nowTime = format1.format(new Date());
|
|
|
|
|
|
|
|
|
|
//2021-01-30
|
|
|
|
|
Power_User user = (Power_User) request.getSession().getAttribute("CURRENT_USER");
|
|
|
|
|
String handleName = user.getUserPosition();//姓名
|
|
|
|
|
String username = user.getUserName();//获取前面登录的用户名
|
|
|
|
|
Archive_Master_Following archive_master_following = new Archive_Master_Following();
|
|
|
|
|
archive_master_following.setMasterId(emrFaultDetail.getArchiveDetailId());
|
|
|
|
|
if (emrFaultDetail.getState().equals("主任退回")) {
|
|
|
|
@ -347,9 +344,8 @@ public class signListController {
|
|
|
|
|
//添加初审内容
|
|
|
|
|
if (bol == 1) {
|
|
|
|
|
// 从session获取用户名
|
|
|
|
|
Subject currentUser = SecurityUtils.getSubject();
|
|
|
|
|
Session session = currentUser.getSession();
|
|
|
|
|
String username = (String) session.getAttribute("userSession");//获取前面登录的用户名
|
|
|
|
|
Power_User user = (Power_User) request.getSession().getAttribute("CURRENT_USER");
|
|
|
|
|
String username = user.getUserName();//获取前面登录的用户名
|
|
|
|
|
|
|
|
|
|
SimpleDateFormat format1 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
|
|
String nowTime = format1.format(new Date());
|
|
|
|
@ -372,7 +368,6 @@ public class signListController {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//初审成功日志
|
|
|
|
|
Power_User user = (Power_User) request.getSession().getAttribute("CURRENT_USER");
|
|
|
|
|
String handleName = user.getUserPosition();//姓名
|
|
|
|
|
Archive_Master_Following archive_master_following = new Archive_Master_Following();
|
|
|
|
|
archive_master_following.setMasterId(emrFaultDetail.getArchiveDetailId());
|
|
|
|
@ -401,9 +396,8 @@ public class signListController {
|
|
|
|
|
archiveMaster = list.get(0);
|
|
|
|
|
if (archiveMaster.getIsSign() != isSign) {
|
|
|
|
|
// 从session获取用户名
|
|
|
|
|
Subject currentUser = SecurityUtils.getSubject();
|
|
|
|
|
Session session = currentUser.getSession();
|
|
|
|
|
String username = (String) session.getAttribute("userSession");//获取前面登录的用户名
|
|
|
|
|
Power_User user = (Power_User) request.getSession().getAttribute("CURRENT_USER");
|
|
|
|
|
String username = user.getUserName(); //获取前面登录的用户名
|
|
|
|
|
|
|
|
|
|
//参数输入
|
|
|
|
|
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
|
@ -436,8 +430,7 @@ public class signListController {
|
|
|
|
|
followingType = "14";
|
|
|
|
|
}
|
|
|
|
|
//2021-05-13 following表中添加签收操作记录
|
|
|
|
|
Power_User user = (Power_User) request.getSession().getAttribute("CURRENT_USER");
|
|
|
|
|
String handleName = user.getUserPosition();//姓名
|
|
|
|
|
String handleName = user.getUserPosition();//姓名
|
|
|
|
|
Archive_Master_Following archive_master_following = new Archive_Master_Following();
|
|
|
|
|
archive_master_following.setMasterId(archiveMaster.getId());
|
|
|
|
|
archive_master_following.setFollowingType(followingType);
|
|
|
|
@ -661,8 +654,8 @@ public class signListController {
|
|
|
|
|
response.setCharacterEncoding("utf-8");
|
|
|
|
|
request.setCharacterEncoding("utf-8");
|
|
|
|
|
// 从session获取用户名
|
|
|
|
|
Subject currentUser = SecurityUtils.getSubject();
|
|
|
|
|
Session session = currentUser.getSession();
|
|
|
|
|
Power_User user = (Power_User) request.getSession().getAttribute("CURRENT_USER");
|
|
|
|
|
String username = user.getUserName();//工号
|
|
|
|
|
String result = "";
|
|
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
|
|
|
|
|
|
@ -704,7 +697,7 @@ public class signListController {
|
|
|
|
|
}else{
|
|
|
|
|
signList.setId(IDHelper.NewID());
|
|
|
|
|
signList.setCreatedtime(sdf.format(new Date()));
|
|
|
|
|
signList.setC1((String) session.getAttribute("userSession"));
|
|
|
|
|
signList.setC1(username);
|
|
|
|
|
signList.setIsFullText("0");
|
|
|
|
|
signListService.insertSignList(signList);
|
|
|
|
|
return "采集计划已生成!";
|
|
|
|
|