|
@@ -10,6 +10,7 @@ import com.lantone.qc.pub.model.doc.ThreeLevelWardDoc;
|
|
|
import com.lantone.qc.pub.util.StringUtil;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
+import java.text.SimpleDateFormat;
|
|
|
import java.util.Date;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
@@ -37,10 +38,12 @@ public class THR02931 extends QCCatalogue {
|
|
|
if (StringUtil.isBlank(leaveDateStr)) {
|
|
|
return;
|
|
|
}
|
|
|
+ leaveDateStr = leaveDateStr.split(" ")[0];
|
|
|
Date leaveDate = StringUtil.parseDateTime(leaveDateStr);
|
|
|
if (leaveDate == null) {
|
|
|
return;
|
|
|
}
|
|
|
+
|
|
|
List<ThreeLevelWardDoc> allDoctorWradDocs = inputInfo.getThreeLevelWardDocs().get(0).getAllDoctorWradDocs();
|
|
|
if (allDoctorWradDocs.size() == 0) {
|
|
|
return;
|
|
@@ -56,6 +59,7 @@ public class THR02931 extends QCCatalogue {
|
|
|
}
|
|
|
String recordDateStr = structureMap.get("查房日期");
|
|
|
if (StringUtil.isNotBlank(recordDateStr)) {
|
|
|
+ recordDateStr = recordDateStr.split(" ")[0];
|
|
|
Date recordDate = StringUtil.parseDateTime(recordDateStr);
|
|
|
if (recordDate != null && recordDate.after(leaveDate)) {
|
|
|
status.set("-1");
|