Browse Source

历史排班

28169 9 months ago
parent
commit
d82cc65e4d

BIN
XT_New.exe View File


+ 4 - 0
controllers/mobile_api_controllers/dialysis_api_controller.go View File

@@ -10688,3 +10688,7 @@ func (c *DialysisAPIController) MobileCoverSch() {
10688 10688
 		return
10689 10689
 	}
10690 10690
 }
10691
+
10692
+func BatchExectime() {
10693
+
10694
+}

+ 2 - 0
controllers/mobile_api_controllers/mobile_api_router_register.go View File

@@ -212,4 +212,6 @@ func MobileAPIControllersRegisterRouters() {
212 212
 
213 213
 	beego.Router("/m/api/sch/coversch", &DialysisAPIController{}, "Get:MobileCoverSch")
214 214
 
215
+	beego.Router("/m/api/batchandleexectime", &DialysisAPIController{}, "Get:BatchExectime")
216
+
215 217
 }

+ 2 - 0
models/pharmacy_models.go View File

@@ -59,6 +59,7 @@ type PharmacyContent struct {
59 59
 	ExecutionTime  int64
60 60
 	ExecutionStaff int64
61 61
 	ExecutionState int64
62
+	Price          float64
62 63
 }
63 64
 
64 65
 // 发药明细列表
@@ -259,6 +260,7 @@ type XtDoctorAdviceL struct {
259 260
 	People                int64   `gorm:"column:people" json:"people" form:"people"`
260 261
 	DispensingTime        int64   `gorm:"column:dispensing_time" json:"dispensing_time" form:"dispensing_time"`
261 262
 	DrugId                int64   `gorm:"column:drug_id" json:"drug_id" form:"drug_id"`
263
+	Price                 float64 `gorm:"column:price" json:"price" form:"price"`
262 264
 }
263 265
 
264 266
 func (XtDoctorAdviceL) TableName() string {

+ 2 - 0
service/pharmacy_service.go View File

@@ -269,6 +269,7 @@ func GetPatientMedication(orgid, patient_id, stime, etime, is_medicine int64) (p
269 269
 				DataSources:  "his处方",
270 270
 				Remarks:      v.Remark, //备注
271 271
 				DrugId:       v.DrugId,
272
+				Price:        v.Price,
272 273
 			})
273 274
 		}
274 275
 
@@ -299,6 +300,7 @@ func GetPatientMedication(orgid, patient_id, stime, etime, is_medicine int64) (p
299 300
 				DataSources:  "临时医嘱",
300 301
 				Remarks:      v.Remark,
301 302
 				DrugId:       v.DrugId,
303
+				Price:        v.Price,
302 304
 			})
303 305
 		}
304 306
 		return