|
@@ -39,7 +39,7 @@ public class MedLisInfoServiceImpl extends ServiceImpl<MedLisInfoMapper, MedLisI
|
|
|
Set<String> infoSet = new HashSet<>();
|
|
|
for (String s : infos) {
|
|
|
if (s.contains("化验:")) {
|
|
|
- String[] split = s.split("、");
|
|
|
+ String[] split = s.split("-");
|
|
|
for (String info : split) {
|
|
|
String[] targetInfos = info.split(":");
|
|
|
for (String targetInfo : targetInfos) {
|
|
@@ -53,10 +53,12 @@ public class MedLisInfoServiceImpl extends ServiceImpl<MedLisInfoMapper, MedLisI
|
|
|
|
|
|
//获取病人进出院时间
|
|
|
Map<String, Object> timeMap = this.baseMapper.getTime(examineInfoVO);
|
|
|
- Date behospital_date = (Date) timeMap.get("behospital_date");
|
|
|
- examineInfoVO.setBehospitalDate(behospital_date);
|
|
|
- Date leaveHospitalDate = (Date) timeMap.get("leave_hospital_date");
|
|
|
- examineInfoVO.setLeaveHospitalDate(leaveHospitalDate);
|
|
|
+ if (null != timeMap) {
|
|
|
+ Date behospital_date = (Date) timeMap.get("behospital_date");
|
|
|
+ examineInfoVO.setBehospitalDate(behospital_date);
|
|
|
+ Date leaveHospitalDate = (Date) timeMap.get("leave_hospital_date");
|
|
|
+ examineInfoVO.setLeaveHospitalDate(leaveHospitalDate);
|
|
|
+ }
|
|
|
|
|
|
String behospitalCode = examineInfoVO.getBehospitalCode();
|
|
|
if(2l == examineInfoVO.getHospitalId()){
|