Browse Source

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

csx 3 years ago
parent
commit
d74ada5127
1 changed files with 4 additions and 2 deletions
  1. 4 2
      controllers/sg/his_api_controller.go

+ 4 - 2
controllers/sg/his_api_controller.go View File

@@ -3160,9 +3160,11 @@ func (c *HisApiController) GetCheckDetailAccount() {
3160 3160
 			c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeDataException)
3161 3161
 			return
3162 3162
 		}
3163
+
3163 3164
 		if res.Infcode == 0 {
3165
+			fileNo := res.Output.FileQuryNo
3164 3166
 			api := "http://127.0.0.1:9532/" + "gdyb/twelve?" +
3165
-				"file_qury_no=" + res.Output.FileQuryNo +
3167
+				"file_qury_no=" + fileNo +
3166 3168
 				"&setl_optins=" + "定点医保中心" +
3167 3169
 				"&stmt_begndate=" + start_time +
3168 3170
 				"&stm_enddate=" + end_time +
@@ -3204,7 +3206,7 @@ func (c *HisApiController) GetCheckDetailAccount() {
3204 3206
 			}
3205 3207
 
3206 3208
 			if res.Infcode == 0 {
3207
-				service.Gdyb9102(baseParams, zip_name, res.Output.FileQuryNo)
3209
+				service.Gdyb9102(baseParams, zip_name, fileNo)
3208 3210
 
3209 3211
 				micc := &models.MedicalInsuranceCostCompare{
3210 3212
 					StartTime: startime.Unix(),