瀏覽代碼

提交代码

陈少旭 1 年之前
父節點
當前提交
3567077dd9
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      controllers/his_api_controller.go

+ 2 - 2
controllers/his_api_controller.go 查看文件

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