浏览代码

Merge branch 'crm/crm_16.7' of http://8.136.199.33:3000/hongze/hz_crm_api into debug

zhangchuanxing 6 天之前
父节点
当前提交
44c49d4043
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      controllers/statistic/rai_data_summary.go

+ 2 - 2
controllers/statistic/rai_data_summary.go

@@ -535,7 +535,7 @@ func (this *StatisticRaiDataSummaryController) RaiDataSummaryList() {
 				}
 				sellerItem.NewCustomerInvoicingCount = utils.SubFloatToString(mapNewCustomerInvoicingMoney[keyMap], 2)               // "新客开票-(数据)"
 				sellerItem.NewCustomerPaymentsReceivedCount = utils.SubFloatToString(mapNewCustomerPaymentsReceivedMoney[keyMap], 2) // "新客到款-(数据)"
-				if developButton || serverButton {
+				if developButton || serverButton || adminId != "" {
 					item.DataList = append(item.DataList, sellerItem)
 				}
 			}
@@ -650,7 +650,7 @@ func (this *StatisticRaiDataSummaryController) RaiDataSummaryList() {
 				}
 				sellerItem.NewCustomerInvoicingCount = utils.SubFloatToString(mapNewCustomerInvoicingMoney[keyMap], 2)               // "新客开票-(数据)"
 				sellerItem.NewCustomerPaymentsReceivedCount = utils.SubFloatToString(mapNewCustomerPaymentsReceivedMoney[keyMap], 2) // "新客到款-(数据)"
-				if developButton || serverButton {
+				if developButton || serverButton || serviceAdminId != "" {
 					item.DataList = append(item.DataList, sellerItem)
 				}
 			}