修复病案室终审批量审核bug

master
zengwh 4 years ago
parent 55ebdef488
commit 1bfe538bb7

@ -1150,13 +1150,17 @@ public class Archive_MasterServiceImpl implements Archive_MasterService {
SimpleDateFormat format1 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
String ids = master.getId();
String[] idList = ids.split(",");
String patientId = master.getPatientId();
String[] patientIdList = patientId.split(",");
List<ArchiveFlowRole> archiveFlowRoles = flowRoleMapper.selectAll();
for(String id : idList) {
for(int i = 0;i < idList.length;i++) {
String id = idList[i];
if(StringUtils.isNotBlank(id)) {
//修改病案归档状态
Archive_Master archiveMaster = new Archive_Master();
master.setId(id);
//拷贝对象
master.setPatientId(patientIdList[i]);
BeanUtils.copyProperties(master, archiveMaster);
//定义提交时间
//设置审核时间

Loading…
Cancel
Save