解决FLAG=1跳转归档和归档审核调用oracle

master
zengwh 3 years ago
parent 78f7853bc6
commit dbe8ef3ef4

@ -102,7 +102,7 @@ public class LoginController {
}
String contextPath = request.getScheme()+"://"+request.getServerName()+":"
+request.getServerPort() + request.getContextPath();
if("1".equals(flag)){
if("2".equals(flag)){
return "redirect:" + contextPath + "/font/recordPage";
}else {
return "redirect:" + contextPath + "/index";

@ -935,7 +935,7 @@ public class Archive_MasterServiceImpl implements Archive_MasterService {
//添加进流转记录
ArchiveFlowInfo flowInfo = flowInfoService.insertFlowInfo(masterId,remark,currentRoleAndNextRole.get(0),currentRoleAndNextRole.get(1),new Date());
//插入退回信息
backInsertOracle(0,flowInfo);
//backInsertOracle(0,flowInfo);
//修改退回信息
updateOracle(roleIndex,emrFaultDetail.getArchiveDetailId());
emrFaultDetail.setParentId(flowInfo.getId());
@ -1144,7 +1144,7 @@ public class Archive_MasterServiceImpl implements Archive_MasterService {
//添加进流转记录
ArchiveFlowInfo flowInfo = flowInfoService.insertFlowInfo(masterId,remark,currentRoleAndNextRole.get(0),currentRoleAndNextRole.get(1),new Date());
//处于初始状态的添加进第三方oracle库里
insertOracle(code,flowInfo);
//insertOracle(code,flowInfo);
}
/**
@ -1255,7 +1255,7 @@ public class Archive_MasterServiceImpl implements Archive_MasterService {
List<ArchiveFlowRole> currentRoleAndNextRole = flowInfoService.getCurrentRoleAndNextRole(currentStatus, EnumVerify.DocState.MedicalRoomCheck.getCode(),archiveFlowRoles);
//添加流转节点
ArchiveFlowInfo flowInfo = flowInfoService.insertFlowInfo(master.getId(), master.getRemark(), currentRoleAndNextRole.get(0), currentRoleAndNextRole.get(1), sumbitDate);
insertOracle(0,flowInfo);
//insertOracle(0,flowInfo);
//添加纸质位置
paperPostionService.savePaperPostion(master);
}

Loading…
Cancel
Save