Pārlūkot izejas kodu

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

csx 3 gadus atpakaļ
vecāks
revīzija
8a4d5b6755
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3 1
      controllers/sg/his_api_controller.go

+ 3 - 1
controllers/sg/his_api_controller.go Parādīt failu

@@ -6397,7 +6397,9 @@ func (c *HisApiController) GetCheckAccount() {
6397 6397
 	adminUser := c.GetAdminUserInfo()
6398 6398
 	miConfig, _ := service.FindMedicalInsuranceInfo(adminUser.CurrentOrgId)
6399 6399
 	config, _ := service.GetMedicalInsuranceConfig(adminUser.CurrentOrgId)
6400
-
6400
+	if len(clr_org) == 0 {
6401
+		clr_org = miConfig.MdtrtareaAdmvs
6402
+	}
6401 6403
 	timeLayout := "2006-01-02"
6402 6404
 	loc, _ := time.LoadLocation("Local")
6403 6405
 	startime, _ := time.ParseInLocation(timeLayout+" 15:04:05", start_time+" 00:00:00", loc)