|
|
|
|
2586
|
func (c *HisApiController) RefundNumber() {
|
2586
|
func (c *HisApiController) RefundNumber() {
|
2587
|
record_time := c.GetString("record_time")
|
2587
|
record_time := c.GetString("record_time")
|
2588
|
patient_id, _ := c.GetInt64("patient_id")
|
2588
|
patient_id, _ := c.GetInt64("patient_id")
|
|
|
2589
|
+ admin_user_id, _ := c.GetInt64("admin_user_id")
|
|
|
2590
|
+
|
2589
|
timeLayout := "2006-01-02"
|
2591
|
timeLayout := "2006-01-02"
|
2590
|
loc, _ := time.LoadLocation("Local")
|
2592
|
loc, _ := time.LoadLocation("Local")
|
2591
|
adminUser := c.GetAdminUserInfo()
|
2593
|
adminUser := c.GetAdminUserInfo()
|
|
|
|
|
2601
|
//order, _ := service.GetHisOrderByID(order_id)
|
2603
|
//order, _ := service.GetHisOrderByID(order_id)
|
2602
|
miConfig, _ := service.FindMedicalInsuranceInfo(adminUser.CurrentOrgId)
|
2604
|
miConfig, _ := service.FindMedicalInsuranceInfo(adminUser.CurrentOrgId)
|
2603
|
config, _ := service.GetMedicalInsuranceConfig(adminUser.CurrentOrgId)
|
2605
|
config, _ := service.GetMedicalInsuranceConfig(adminUser.CurrentOrgId)
|
|
|
2606
|
+ roles, _ := service.GetAdminUserInfoByID(adminUser.CurrentOrgId, admin_user_id)
|
2604
|
|
2607
|
|
2605
|
if config.IsOpen == 1 { //对接了医保,走医保流程
|
2608
|
if config.IsOpen == 1 { //对接了医保,走医保流程
|
2606
|
|
2609
|
|