Преглед на файлове

Merge branch 'master' of http://git.shengws.com/csx/gdyb

csx преди 3 години
родител
ревизия
9cbd96feb1
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      controllers/sg/his_api_controller.go

+ 3 - 1
controllers/sg/his_api_controller.go Целия файл

@@ -2616,7 +2616,7 @@ type ResultThirteen struct {
2616 2616
 type ResultThirteen10265 struct {
2617 2617
 	ErrMsg      string `json:"err_msg"`
2618 2618
 	InfRefmsgid string `json:"inf_refmsgid"`
2619
-	Infcode     int64  `json:"infcode"`
2619
+	Infcode     string `json:"infcode"`
2620 2620
 	Output      struct {
2621 2621
 		Result struct {
2622 2622
 			TrtDclaDetlSn string `json:"trt_dcla_detl_sn"`
@@ -7821,6 +7821,8 @@ func (c *HisApiController) PsnPutNCDSOnRecord() {
7821 7821
 				return
7822 7822
 			}
7823 7823
 			res2.ErrMsg = res10265.ErrMsg
7824
+			infocode, _ := strconv.ParseInt(res10265.Infcode, 10, 64)
7825
+			res2.Infcode = infocode
7824 7826
 			res2.Output = res10265.Output
7825 7827
 			res2.InfRefmsgid = res10265.InfRefmsgid
7826 7828