药品、处方列表关联药房信息
This commit is contained in:
@@ -247,9 +247,15 @@ func (r *OrderService) ReportPreProduct(orderProductId, adminUserId int64) (bool
|
||||
|
||||
presRequests[0] = presRequest
|
||||
|
||||
// 终端代码:优先使用订单关联药房的代码,未配置则使用全局配置
|
||||
terminalCode := config.C.Pre.PrePlatTerminalCode
|
||||
if orderProduct.PharmacyCode != "" {
|
||||
terminalCode = orderProduct.PharmacyCode
|
||||
}
|
||||
|
||||
// 处理上传数据-基础数据
|
||||
ReportPreRequest := prescription.ReportPreRequest{
|
||||
TerminalCode: config.C.Pre.PrePlatTerminalCode,
|
||||
TerminalCode: terminalCode,
|
||||
OrderNo: orderProduct.OrderProductNo, // 订单编号
|
||||
TransactNo: orderProduct.EscrowTradeNo, // 流水单号
|
||||
PayDate: time.Time(orderProduct.PayTime).Format("2006-01-02 15:04:05"), // 支付时间
|
||||
|
||||
Reference in New Issue
Block a user