|
@@ -257,9 +257,15 @@ func (this *PrintDataAPIController) ScheduleDialysisRecordPrintData() {
|
257
|
257
|
endTime = theTime.Unix()
|
258
|
258
|
}
|
259
|
259
|
|
|
260
|
+ if item.ScheduleDate < 1740931200 {
|
|
261
|
+
|
|
262
|
+ startTime = 1740326400
|
|
263
|
+
|
|
264
|
+ endTime = 1740844800
|
|
265
|
+ }
|
|
266
|
+
|
260
|
267
|
scheduleDialyCount, _ := service.GetPatientScheduleDialyCount(item.PatientID, startTime, endTime, adminUserInfo.CurrentOrgId)
|
261
|
268
|
|
262
|
|
- fmt.Println("scheduleDialyCount------------------", scheduleDialyCount)
|
263
|
269
|
dialysis_count := len(scheduleDialyCount)
|
264
|
270
|
|
265
|
271
|
var dialysis_count_str = "一周" + strconv.Itoa(dialysis_count) + "次"
|