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