Ver código fonte

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

csx 3 anos atrás
pai
commit
317a24efaa
1 arquivos alterados com 4 adições e 4 exclusões
  1. 4 4
      controllers/sg/his_api_controller.go

+ 4 - 4
controllers/sg/his_api_controller.go Ver arquivo

@@ -8952,14 +8952,14 @@ func (c *HisApiController) GetCheckAccount() {
8952 8952
 	adminUser := c.GetAdminUserInfo()
8953 8953
 	miConfig, _ := service.FindMedicalInsuranceInfo(adminUser.CurrentOrgId)
8954 8954
 	config, _ := service.GetMedicalInsuranceConfig(adminUser.CurrentOrgId)
8955
-	//if len(clr_org) == 0 {
8956
-	//	clr_org = miConfig.MdtrtareaAdmvs
8957
-	//}
8955
+	if len(clr_org) == 0 {
8956
+		clr_org = miConfig.MdtrtareaAdmvs
8957
+	}
8958 8958
 	timeLayout := "2006-01-02"
8959 8959
 	loc, _ := time.LoadLocation("Local")
8960 8960
 	startime, _ := time.ParseInLocation(timeLayout+" 15:04:05", start_time+" 00:00:00", loc)
8961 8961
 	endtime, _ := time.ParseInLocation(timeLayout+" 15:04:05", end_time+" 23:59:59", loc)
8962
-	orders, _ := service.GetOrderByTime(startime.Unix(), endtime.Unix(), adminUser.CurrentOrgId, insutype, clr_org, clr_type)
8962
+	orders, _ := service.GetOrderByTime(startime.Unix(), endtime.Unix(), adminUser.CurrentOrgId, insutype, "", clr_type)
8963 8963
 	fixmedins_setl_cnt := int64(len(orders))
8964 8964
 	var medfee_sumamt float64
8965 8965
 	var acct_pay float64