|
@@ -400,6 +400,17 @@ func (this *StaffScheduleApiController) GetAllZonePb() {
|
400
|
400
|
}
|
401
|
401
|
}
|
402
|
402
|
|
|
403
|
+ //针对百霖和贝尔
|
|
404
|
+ if orgid == 10138 || orgid == 10278 || orgid == 3877 {
|
|
405
|
+ //获取今日的排班数据
|
|
406
|
+ list, _ := service.GetMobileScheduleListByScheduleDate(orgid, startTime)
|
|
407
|
+ for _, item := range list {
|
|
408
|
+ solution, _ := service.GetLongSolutionByModeId(item.PatientId, item.ModeId, item.UserOrgId)
|
|
409
|
+ var str = solution.DialysisDialyszers + "/" + solution.DialysisIrrigation
|
|
410
|
+ service.UpdateScheduleByDialysis(item.PatientId, item.ModeId, item.ScheduleDate, item.UserOrgId, str, item.ScheduleType)
|
|
411
|
+ }
|
|
412
|
+ }
|
|
413
|
+
|
403
|
414
|
// stockType, _ := service.GetStockType(orgid)
|
404
|
415
|
//zonelist, _ := service.GetPatientScheduleListByZone(startTime, classtype, orgid)
|
405
|
416
|
// if err != nil {
|