作者 tangxvhui

bug 修复

@@ -42,10 +42,10 @@ func GetAuditListForExcel(param protocol.RequestAuditList, companyid int64, user @@ -42,10 +42,10 @@ func GetAuditListForExcel(param protocol.RequestAuditList, companyid int64, user
42 // JOIN user AS d ON c.user_id = d.id 42 // JOIN user AS d ON c.user_id = d.id
43 //进行数据整理 43 //进行数据整理
44 var ( 44 var (
45 - reserveTypeCache map[string]*models.ChanceReserveType  
46 - chanceTypeCache map[string]*models.ChanceType  
47 - auditTemplateCache map[string]*models.AuditTemplate  
48 - departmentCache map[string]*models.Department 45 + reserveTypeCache = make(map[string]*models.ChanceReserveType)
  46 + chanceTypeCache = make(map[string]*models.ChanceType)
  47 + auditTemplateCache = make(map[string]*models.AuditTemplate)
  48 + departmentCache = make(map[string]*models.Department)
49 ) 49 )
50 for i := range soureData { 50 for i := range soureData {
51 storeTypeS := fmt.Sprint(soureData[i]["type"]) 51 storeTypeS := fmt.Sprint(soureData[i]["type"])