|
|
@ -247,6 +247,9 @@ func (impl *ScanRuleInfoServiceImplement) Insert(user *models.Usertab, entities |
|
|
|
item.StepNo = operation.StepNo |
|
|
|
item.ProjectId = operation.ProjectId |
|
|
|
item.StepDesc = operation.StepDesc |
|
|
|
if item.RuleType == model.SCAN_RULE_TYPE_OTHER { |
|
|
|
item.SRCtrlPara1 = model.SCAN_RULE_SERIALORDER |
|
|
|
} |
|
|
|
li[index] = item |
|
|
|
} |
|
|
|
if len(li) != 0 { |
|
|
|