Browse Source

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

csx 3 years ago
parent
commit
edb0febbd0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      controllers/sz/sz_his_api_controller.go

+ 2 - 2
controllers/sz/sz_his_api_controller.go View File

@@ -2143,7 +2143,7 @@ func (c *SZHisApiController) GetSettleInfo() {
2143 2143
 	admin_user_id, _ := c.GetInt64("admin_user_id")
2144 2144
 
2145 2145
 	his_patient_id, _ := c.GetInt64("his_patient_id")
2146
-
2146
+	fmt.Println(his_patient_id)
2147 2147
 	timestamp := time.Now().Unix()
2148 2148
 	tempTime := time.Unix(timestamp, 0)
2149 2149
 	timeFormat := tempTime.Format("20060102150405")
@@ -2215,7 +2215,7 @@ func (c *SZHisApiController) GetSettleInfo() {
2215 2215
 	adminRole_two, _ := service.GetAdminUserInfoByID(adminUser.CurrentOrgId, patientPrescription.DoctorId)
2216 2216
 
2217 2217
 	adminRole, _ := service.GetAdminUserInfoByID(adminUser.CurrentOrgId, admin_user_id)
2218
-	his, err := service.GetNewHisPatientInfo(adminUser.CurrentOrgId, his_patient_id, recordDateTime)
2218
+	his, err := service.GetHisPatientInfo(adminUser.CurrentOrgId, patient_id, recordDateTime)
2219 2219
 	mz_number := his.Number
2220 2220
 	number := miConfig.Code + year + month + day +
2221 2221
 		fmt.Sprintf("%07v", rand.New(rand.NewSource(time.Now().UnixNano())).Int31n(10000000)) // 定点协议机构编码(5位)+日期(8位)+流水号(7位)