1、调整策略修改方法,和新增入参一致
2、删除策略新增必填时间计划
This commit is contained in:
@@ -54,12 +54,14 @@ PolicyParamsOpertion
|
||||
${return} ${isValid} Run Keyword And Ignore Error Set Variable ${policyList}[isValid]
|
||||
Run Keyword If "${return}"=="FAIL" or "${isValid}"=="${EMPTY}" Set To Dictionary ${policyList} isValid=${Default_IsValid}
|
||||
${return} ${scheduleId} Run Keyword And Ignore Error Set Variable ${policyList}[scheduleId]
|
||||
${scheduleIdV} Run Keyword If "${return}"=="FAIL" or "${scheduleId}"=="${EMPTY}" Evaluate list(map(int, re.split('[,]', '${Default_ScheduleId}'))) re
|
||||
... ELSE Evaluate list(map(int, re.split('[,]', '${scheduleId}'))) re
|
||||
#${scheduleIdV} Run Keyword If "${return}"=="FAIL" or "${scheduleId}"=="${EMPTY}" Evaluate list(map(int, re.split('[,]', '${Default_ScheduleId}'))) re
|
||||
# ... ELSE Evaluate list(map(int, re.split('[,]', '${scheduleId}'))) re
|
||||
${scheduleIdV} Run Keyword If "${return}"!="FAIL" and "${scheduleId}"!="${EMPTY}" and "${scheduleId}"!="${None}" Evaluate list(map(int, re.split('[,]', '${scheduleId}'))) re
|
||||
... ELSE Set Variable ${emptyList}
|
||||
Set To Dictionary ${policyList} scheduleId=${scheduleIdV}
|
||||
${return} ${appObjectIdArray} Run Keyword And Ignore Error Set Variable ${policyList}[appObjectIdArray]
|
||||
${appObjectIdArrayV} Run Keyword If "${return}"=="FAIL" or "${appObjectIdArray}"=="${EMPTY}" Evaluate list(map(int, re.split('[,]', '${Default_AppObjectIdArray}'))) re
|
||||
... ELSE Evaluate list(map(int, re.split('[,]', '${appObjectIdArray}'))) re
|
||||
Set To Dictionary ${policyList} scheduleId=${scheduleIdV}
|
||||
... ELSE Evaluate list(map(int, re.split('[,]', '${appObjectIdArray}'))) re
|
||||
Set To Dictionary ${policyList} appObjectIdArray=${appObjectIdArrayV}
|
||||
# 固定值
|
||||
Set To Dictionary ${policyList} policyId= doBlacklist=${0}
|
||||
|
||||
Reference in New Issue
Block a user