张保健 3 år sedan
förälder
incheckning
10161f9994
1 ändrade filer med 4 tillägg och 2 borttagningar
  1. 4 2
      controllers/sg/his_api_controller.go

+ 4 - 2
controllers/sg/his_api_controller.go Visa fil

@@ -1948,7 +1948,7 @@ func (c *HisApiController) GetRegisterInfo() {
1948 1948
 				insutype = "310"
1949 1949
 			}
1950 1950
 
1951
-			insutype = "390"
1951
+			// insutype = "390"
1952 1952
 			var resThree ResultThree
1953 1953
 			if miConfig.MdtrtareaAdmvs == "421300" {
1954 1954
 				api := "http://127.0.0.1:9533/" + "hbyb/2201?psn_no=" + res.Output.Baseinfo.PsnNo + "&insutype=" + insutype + "&cert_no=" + res.Output.Baseinfo.Certno + "&ipt_otp_no=" + ipt_otp_no +
@@ -1992,6 +1992,8 @@ func (c *HisApiController) GetRegisterInfo() {
1992 1992
 				}
1993 1993
 			}
1994 1994
 
1995
+			utils.InfoLog("resThree%v", resThree)
1996
+
1995 1997
 			if resThree.Infcode != 0 {
1996 1998
 				adminUser := c.GetAdminUserInfo()
1997 1999
 				errlog := &models.HisOrderError{
@@ -2535,7 +2537,7 @@ func (c *HisApiController) GetUploadInfo() {
2535 2537
 							insutype = "310"
2536 2538
 						}
2537 2539
 
2538
-						insutype = "390"
2540
+						// insutype = "390"
2539 2541
 						if his.IdCardType == 1 {
2540 2542
 							// cert_no = his.MedicalInsuranceNumber
2541 2543
 							cert_no = his.Certno