|
@@ -2736,10 +2736,12 @@ func (c *HisApiController) GetCheckAccount() {
|
2736
|
2736
|
endtime, _ := time.ParseInLocation(timeLayout+" 15:04:05", end_time+" 23:59:59", loc)
|
2737
|
2737
|
orders, _ := service.GetOrderByTime(startime.Unix(), endtime.Unix(), adminUser.CurrentOrgId, insutype, clr_type)
|
2738
|
2738
|
|
|
2739
|
+ orders_two, _ := service.GetOrderByTimeTwo(startime.Unix(), endtime.Unix(), adminUser.CurrentOrgId, insutype, clr_type)
|
|
2740
|
+
|
2739
|
2741
|
var medfee_sumamt float64
|
2740
|
2742
|
var acct_pay float64
|
2741
|
2743
|
var fund_pay_sumamt float64
|
2742
|
|
- fixmedins_setl_cnt := int64(len(orders))
|
|
2744
|
+ fixmedins_setl_cnt := int64(len(orders_two))
|
2743
|
2745
|
for _, item := range orders {
|
2744
|
2746
|
medfee_sumamt = medfee_sumamt + item.MedfeeSumamt
|
2745
|
2747
|
acct_pay = acct_pay + item.AcctPay
|