|
@@ -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)
|