|
@@ -7942,6 +7942,7 @@ func (c *HisApiController) RefundDetail() {
|
7942
|
7942
|
number := c.GetString("number")
|
7943
|
7943
|
record_time := c.GetString("record_time")
|
7944
|
7944
|
patient_id, _ := c.GetInt64("patient_id")
|
|
7945
|
+ //med_type, _ := c.GetInt64("med_type")
|
7945
|
7946
|
|
7946
|
7947
|
timeLayout := "2006-01-02"
|
7947
|
7948
|
loc, _ := time.LoadLocation("Local")
|
|
@@ -7962,13 +7963,7 @@ func (c *HisApiController) RefundDetail() {
|
7962
|
7963
|
|
7963
|
7964
|
var order models.HisOrder
|
7964
|
7965
|
order, _ = service.GetHisOrderByID(order_id)
|
7965
|
|
-
|
7966
|
|
- if order.ID == 0 {
|
7967
|
|
- order, _ = service.GetHisOrderThree(recordDateTime, patient_id, adminUser.CurrentOrgId)
|
7968
|
|
-
|
7969
|
|
- }
|
7970
|
7966
|
his, _ := service.GetHisPatientByNumber(order.MdtrtId)
|
7971
|
|
-
|
7972
|
7967
|
if config.IsOpen == 1 { //对接了医保,走医保流程
|
7973
|
7968
|
var res2 ResultSix
|
7974
|
7969
|
|