浏览代码

与qc缺陷格式约定

chengyao 4 年之前
父节点
当前提交
a30fb35419

+ 1 - 1
src/main/java/com/diagbot/service/impl/DoctorAdviceServiceImpl.java

@@ -40,7 +40,7 @@ public class DoctorAdviceServiceImpl extends ServiceImpl<DoctorAdviceMapper, Doc
         Set<String> infoSet = new HashSet<>();
         Set<String> infoSet = new HashSet<>();
         for (String s : infos) {
         for (String s : infos) {
             if (s.contains("医嘱:")) {
             if (s.contains("医嘱:")) {
-                String[] split = s.split("-");
+                String[] split = s.split(".");
                 for (String info : split) {
                 for (String info : split) {
                     String[] targetInfos = info.split(":");
                     String[] targetInfos = info.split(":");
                     for (String target : targetInfos) {
                     for (String target : targetInfos) {

+ 1 - 1
src/main/java/com/diagbot/service/impl/MedLisInfoServiceImpl.java

@@ -39,7 +39,7 @@ public class MedLisInfoServiceImpl extends ServiceImpl<MedLisInfoMapper, MedLisI
         Set<String> infoSet = new HashSet<>();
         Set<String> infoSet = new HashSet<>();
         for (String s : infos) {
         for (String s : infos) {
             if (s.contains("化验:")) {
             if (s.contains("化验:")) {
-                String[] split = s.split("-");
+                String[] split = s.split(".");
                 for (String info : split) {
                 for (String info : split) {
                     String[] targetInfos = info.split(":");
                     String[] targetInfos = info.split(":");
                     for (String targetInfo : targetInfos) {
                     for (String targetInfo : targetInfos) {

+ 1 - 1
src/main/java/com/diagbot/service/impl/MedPacsInfoServiceImpl.java

@@ -31,7 +31,7 @@ public class MedPacsInfoServiceImpl extends ServiceImpl<MedPacsInfoMapper, MedPa
         Set<String> infoSet = new HashSet<>();
         Set<String> infoSet = new HashSet<>();
         for (String s : infos) {
         for (String s : infos) {
             if (s.contains("检查:")) {
             if (s.contains("检查:")) {
-                String[] split = s.split("-");
+                String[] split = s.split(".");
                 for (String info : split) {
                 for (String info : split) {
                     String[] targetInfos = info.split(":");
                     String[] targetInfos = info.split(":");
                     for (String targetInfo : targetInfos) {
                     for (String targetInfo : targetInfos) {

+ 2 - 0
src/main/java/com/diagbot/vo/ExamineInfoVO.java

@@ -57,11 +57,13 @@ public class ExamineInfoVO extends Page {
     /**
     /**
      * 入院时间
      * 入院时间
      */
      */
+    @JsonIgnore
     private Date behospitalDate;
     private Date behospitalDate;
 
 
     /**
     /**
      * 出院时间
      * 出院时间
      */
      */
+    @JsonIgnore
     private Date leaveHospitalDate;
     private Date leaveHospitalDate;
 
 
     /**
     /**