陈少旭 1 vuosi sitten
vanhempi
commit
3567077dd9
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      controllers/his_api_controller.go

+ 2 - 2
controllers/his_api_controller.go Näytä tiedosto

@@ -4822,7 +4822,7 @@ func (c *HisApiController) DeleteProject() {
4822 4822
 	service.DeletePrintInfo(id)
4823 4823
 	label, _ := service.GetProjectById(adminInfo.CurrentOrgId, id, project.RecordDate, project.PatientId)
4824 4824
 	label.Status = 0
4825
-	service.CreateHisLabelRecord(&label)
4825
+	service.CreateHisLabelRecordTwo(&label)
4826 4826
 
4827 4827
 	fmt.Println(goodOutConfig.IsOpen)
4828 4828
 	if goodOutConfig.IsOpen != 1 {
@@ -11293,7 +11293,7 @@ func (this *HisApiController) ChangeMedType() {
11293 11293
 		id, _ := strconv.ParseInt(ids_arr[0], 10, 64)
11294 11294
 		prescription, _ := service.GetPrescriptionById(id, this.GetAdminUserInfo().CurrentOrgId)
11295 11295
 		prescription.MedType = med_type
11296
-		err := service.SaveHisPrescription(&prescription)
11296
+		err := service.SaveHisPrescriptionTwo(&prescription)
11297 11297
 
11298 11298
 		if err == nil {
11299 11299
 			this.ServeSuccessJSON(map[string]interface{}{