|
|
@@ -1,5 +1,6 @@
|
|
|
package org.thyy.thirdpartapi.inspection.request;
|
|
|
|
|
|
+import cn.hutool.core.util.StrUtil;
|
|
|
import lombok.Data;
|
|
|
import org.thyy.thirdpartapi.inspection.config.Category;
|
|
|
import org.thyy.thirdpartapi.inspection.config.PatientNumType;
|
|
|
@@ -10,6 +11,16 @@ public class ReportIndexInquiry {
|
|
|
private Category reportCategory;
|
|
|
private String patNo;
|
|
|
private String socialNo;
|
|
|
+ private String startDate;
|
|
|
+ private String endDate;
|
|
|
private String reqStartTime;
|
|
|
private String reqEndTime;
|
|
|
+
|
|
|
+ public String getStart() {
|
|
|
+ return StrUtil.isBlank(reqStartTime) ? startDate : reqStartTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getEnd() {
|
|
|
+ return StrUtil.isBlank(reqEndTime) ? endDate : reqEndTime;
|
|
|
+ }
|
|
|
}
|