Explorar o código

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

zhangchuanxing hai 1 semana
pai
achega
292733f5f8
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      controllers/company_apply_v2.go

+ 2 - 0
controllers/company_apply_v2.go

@@ -307,6 +307,7 @@ func (this *CompanyApplyController) ApplyServiceUpdate() {
 			}
 		}
 		go services.UpdateCompanyContractInheritEndDate(int(newId))
+
 		permissionArr := strings.Split(req.PermissionIds, ",")
 		permissionMap := make(map[int]int) //权限id的map集合,用来避免重复添加权限校验
 
@@ -851,6 +852,7 @@ func (this *CompanyApplyController) ApplyTurnPositive() {
 			}
 		}
 		go services.UpdateCompanyContractInheritEndDate(int(newId))
+
 		permissionArr := strings.Split(req.PermissionIds, ",")
 		permissionMap := make(map[int]int) //权限id的map集合,用来避免重复添加权限校验
 		permissionItems := make([]*company.CompanyContractPermission, 0)