|
@@ -673,7 +673,7 @@ func AutoDrugDeliverInfo(orgID int64, prescribingNumber int64, warehouseout *mod
|
673
|
673
|
}
|
674
|
674
|
|
675
|
675
|
// 耗材出库
|
676
|
|
-func ConsumablesDeliveryTotal(orgID int64, patient_id int64, record_time int64, goods []*models.DialysisBeforePrepareGoods, goodOne []*models.NewDialysisBeforePrepareGoods) (err error) {
|
|
676
|
+func ConsumablesDeliveryTotal(orgID int64, patient_id int64, record_time int64, goods []*models.DialysisBeforePrepareGoods, goodOne []*models.NewDialysisBeforePrepareGoods, creator int64) (err error) {
|
677
|
677
|
|
678
|
678
|
//查询该患者当天已经出库的耗材信息
|
679
|
679
|
goods_yc, _ := FindConsumablesByDateTwo(orgID, patient_id, record_time)
|
|
@@ -731,7 +731,7 @@ func ConsumablesDeliveryTotal(orgID int64, patient_id int64, record_time int64,
|
731
|
731
|
WarehouseOutOrderNumber: warehousing_out_order,
|
732
|
732
|
OperationTime: time.Now().Unix(),
|
733
|
733
|
OrgId: orgID,
|
734
|
|
- Creater: 0,
|
|
734
|
+ Creater: creator,
|
735
|
735
|
Ctime: time.Now().Unix(),
|
736
|
736
|
Status: 1,
|
737
|
737
|
WarehouseOutTime: record_time,
|