csx преди 3 години
родител
ревизия
3f5d36e81f
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      service/gdyb_service.go

+ 2 - 2
service/gdyb_service.go Целия файл

@@ -1240,7 +1240,7 @@ func Gdyb2503(psnNo string, insutype string, org_name string, doctor string, fix
1240 1240
 	timestamp := time.Now().Unix()
1241 1241
 	signature := setSignature(timestamp, nonce, secret_key)
1242 1242
 	tempTime := time.Unix(timestamp, 0)
1243
-	timeFormatOne := tempTime.Format("2006-01-02 15:04:05")
1243
+	//timeFormatOne := tempTime.Format("2006-01-02 15:04:05")
1244 1244
 
1245 1245
 	timeFormatTwo := tempTime.Format("2006-01-02")
1246 1246
 
@@ -1259,7 +1259,7 @@ func Gdyb2503(psnNo string, insutype string, org_name string, doctor string, fix
1259 1259
 	inputData["hosp_ide_date"] = timeFormatTwo     // 险种类型(来自1101接口返回)
1260 1260
 	inputData["diag_dr_codg"] = doctor_id          // 开始时间
1261 1261
 	inputData["diag_dr_name"] = doctor             // 开始时间
1262
-	inputData["begndate"] = timeFormatOne          // 医师编码
1262
+	inputData["begndate"] = timeFormatTwo          // 医师编码
1263 1263
 	inputData["tel"] = ""                          // 医师编码
1264 1264
 	inputData["addr"] = ""                         // 医师编码
1265 1265
 	inputData["enddate"] = ""                      // 医师编码