hujing 5 vuotta sitten
vanhempi
commit
0167a91a15

+ 3 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/threelevelward/THR02911.java

@@ -79,6 +79,9 @@ public class THR02911 extends QCCatalogue {
             Date operatorEndDate = StringUtil.parseDateTime(operatorEndDateStr);
             if (operatorEndDate != null) {
                 long timeDifference = timeDifference(operatorEndDate, recordDate);
+                if (timeDifference == 0){
+                    continue;
+                }
                 if (timeDiff == 0 || timeDiff > timeDifference) {
                     /* 取距离此次主刀医师查房最近的一次手术时间 */
                     timeDiff = timeDifference;

+ 3 - 0
kernel/src/main/java/com/lantone/qc/kernel/util/CatalogueUtil.java

@@ -449,6 +449,9 @@ public class CatalogueUtil {
                 Date operatorEndDate = StringUtil.parseDateTime(operatorEndDateStr);
                 if (operatorEndDate != null) {
                     long timeDifference = timeDifference(operatorEndDate, recordDate);
+                    if (timeDifference == 0){
+                        continue;
+                    }
                     if (timeDiff == 0 || timeDiff > timeDifference) {
                         /* 取距离此次主刀医师查房最近的一次手术时间 */
                         timeDiff = timeDifference;

+ 3 - 0
trans/src/main/java/com/lantone/qc/trans/changx/ChangxThreeLevelWardDocTrans.java

@@ -254,6 +254,9 @@ public class ChangxThreeLevelWardDocTrans extends ModelDocTrans {
                 Date operatorEndDate = StringUtil.parseDateTime(operatorEndDateStr);
                 if (operatorEndDate != null) {
                     long timeDifference = timeDifference(operatorEndDate, recordDate);
+                    if (timeDifference == 0){
+                        continue;
+                    }
                     if (timeDiff == 0 || timeDiff > timeDifference) {
                         /* 取距离此次主刀医师查房最近的一次手术时间 */
                         timeDiff = timeDifference;