Преглед на файлове

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

zhangchuanxing преди 2 седмици
родител
ревизия
292733f5f8
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  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)