|
@@ -3221,7 +3221,7 @@ func (c *HisApiController) RefundNumber() {
|
3221
|
3221
|
info.Status = 0
|
3222
|
3222
|
count, _ := service.GetOrderCountByNumber(c.GetAdminUserInfo().CurrentOrgId, info.PatientId, info.RecordDate, info.Number)
|
3223
|
3223
|
if count > 0 {
|
3224
|
|
- c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeOrderParamWrong)
|
|
3224
|
+ c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeOrderParamWrongTwo)
|
3225
|
3225
|
return
|
3226
|
3226
|
}
|
3227
|
3227
|
|
|
@@ -5012,6 +5012,7 @@ func (c *HisApiController) GetPrivateExpensesInfo() {
|
5012
|
5012
|
c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeOrderParamWrong)
|
5013
|
5013
|
return
|
5014
|
5014
|
}
|
|
5015
|
+ miConfig, _ := service.FindMedicalInsuranceInfo(c.GetAdminUserInfo().CurrentOrgId)
|
5015
|
5016
|
his, _ := service.GetHisPatientByIdThree(his_patient_id)
|
5016
|
5017
|
org_id := c.GetAdminUserInfo().CurrentOrgId
|
5017
|
5018
|
adminInfo, _ := service.GetAdminUserInfoByID(org_id, order.Creator)
|
|
@@ -5024,6 +5025,7 @@ func (c *HisApiController) GetPrivateExpensesInfo() {
|
5024
|
5025
|
"admin_info": adminInfo,
|
5025
|
5026
|
"his": his,
|
5026
|
5027
|
"current_admin": role,
|
|
5028
|
+ "org_config": miConfig,
|
5027
|
5029
|
})
|
5028
|
5030
|
|
5029
|
5031
|
}
|