|
@@ -9,6 +9,7 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import com.diagbot.vo.CheckInfoVO;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
+import javax.validation.constraints.NotBlank;
|
|
|
import java.util.*;
|
|
|
|
|
|
/**
|
|
@@ -52,10 +53,9 @@ public class MedPacsInfoServiceImpl extends ServiceImpl<MedPacsInfoMapper, MedPa
|
|
|
Date leaveHospitalDate = (Date) timeMap.get("leave_hospital_date");
|
|
|
checkInfoVO.setLeaveHospitalDate(leaveHospitalDate);
|
|
|
}
|
|
|
- //邵逸夫病历号处理
|
|
|
- if("2".equals(checkInfoVO.getHospitalId())){
|
|
|
- String s = checkInfoVO.getBehospitalCode();
|
|
|
- checkInfoVO.setBehospitalCode(s.split("_")[0]);
|
|
|
+ String behospitalCode = checkInfoVO.getBehospitalCode();
|
|
|
+ if(2l == checkInfoVO.getHospitalId()){
|
|
|
+ checkInfoVO.setBehospitalCode(behospitalCode.split("_")[0]);
|
|
|
}
|
|
|
|
|
|
IPage<CheckInfoDTO> page = this.baseMapper.getCheckInfo(checkInfoVO, infoSet);
|