|
@@ -1860,6 +1860,11 @@ func (c *HisApiController) setAdviceWithJSON(advice *models.HisDoctorAdviceInfo,
|
1860
|
1860
|
}
|
1861
|
1861
|
}
|
1862
|
1862
|
|
|
1863
|
+ if json["groupno"] != nil || reflect.TypeOf(json["groupno"]).String() == "float64" {
|
|
1864
|
+ groupno := int64(json["groupno"].(float64))
|
|
1865
|
+ advice.Groupno = groupno
|
|
1866
|
+ }
|
|
1867
|
+
|
1863
|
1868
|
if json["prescribing_number"] != nil && reflect.TypeOf(json["prescribing_number"]).String() == "string" {
|
1864
|
1869
|
prescribingNumber, _ := strconv.ParseFloat(json["prescribing_number"].(string), 64)
|
1865
|
1870
|
advice.PrescribingNumber = prescribingNumber
|
|
@@ -1884,6 +1889,7 @@ func (c *HisApiController) setAdviceWithJSON(advice *models.HisDoctorAdviceInfo,
|
1884
|
1889
|
advice.Checker = hisAdvice.Checker
|
1885
|
1890
|
advice.CheckState = hisAdvice.CheckState
|
1886
|
1891
|
advice.StartTime = hisAdvice.StartTime
|
|
1892
|
+ advice.Groupno = hisAdvice.Groupno
|
1887
|
1893
|
|
1888
|
1894
|
}
|
1889
|
1895
|
}
|