|
@@ -6212,6 +6212,7 @@ func (c *HisApiController) GetHisOrderList() {
|
6212
|
6212
|
charge_type, _ := c.GetInt64("charge_type", 0)
|
6213
|
6213
|
sch_type, _ := c.GetInt64("sch_type", 0)
|
6214
|
6214
|
zone_type, _ := c.GetInt64("zone_type", 0)
|
|
6215
|
+ med_type, _ := c.GetInt64("med_type", 0)
|
6215
|
6216
|
|
6216
|
6217
|
timeLayout := "2006-01-02"
|
6217
|
6218
|
loc, _ := time.LoadLocation("Local")
|
|
@@ -6238,7 +6239,7 @@ func (c *HisApiController) GetHisOrderList() {
|
6238
|
6239
|
|
6239
|
6240
|
adminUser := c.GetAdminUserInfo()
|
6240
|
6241
|
org_id := adminUser.CurrentOrgId
|
6241
|
|
- order, err, total := service.GetHisOrderList(org_id, page, limit, startTime, endTime, types, keywords, p_type, sort_type, start_time, end_time, charge_type, sch_type, zone_type)
|
|
6242
|
+ order, err, total := service.GetHisOrderList(org_id, page, limit, startTime, endTime, types, keywords, p_type, sort_type, start_time, end_time, charge_type, sch_type, zone_type, med_type)
|
6242
|
6243
|
|
6243
|
6244
|
for _, item := range order {
|
6244
|
6245
|
info, _ := service.GetHisPrescriptionByPatientID(item.PatientId, item.UserOrgId)
|