Browse Source

增加导出创建人名称

wangxingcheng 2 years ago
parent
commit
cb859accf6
1 changed files with 3 additions and 0 deletions
  1. 3 0
      opms_parent/app/service/cust/cust_customer.go

+ 3 - 0
opms_parent/app/service/cust/cust_customer.go

@@ -633,6 +633,9 @@ func (s *CustomerService) Export(req *model.CustCustomerExport) (content *model.
 					}
 					f.SetCellValue("Sheet1", service.Div(index+1)+strconv.Itoa(ck+2), CustStatus)
 				}
+				if v == "创建人" {
+					f.SetCellValue("Sheet1", service.Div(index+1)+strconv.Itoa(ck+2), item.CreatedName)
+				}
 				if v == "最后跟进时间" {
 					f.SetCellValue("Sheet1", service.Div(index+1)+strconv.Itoa(ck+2), item.FollowUpDate)
 				}