|
@@ -833,7 +833,7 @@ func GetPartionId(bed_id int64, org_id int64) (models.XtDeviceNumber, error) {
|
833
|
833
|
|
834
|
834
|
func UpdateScheduleById(id int64, schedule models.Schedule) error {
|
835
|
835
|
|
836
|
|
- err := XTWriteDB().Model(&models.Schedule{}).Where("id = ? and status =1", id).Update(map[string]interface{}{"patient_id": schedule.PatientId, "mode_id": schedule.ModeId}).Error
|
|
836
|
+ err := XTWriteDB().Model(&models.Schedule{}).Where("id = ? and status =1", id).Update(map[string]interface{}{"patient_id": schedule.PatientId, "mode_id": schedule.ModeId, "is_export": 10000}).Error
|
837
|
837
|
return err
|
838
|
838
|
}
|
839
|
839
|
|