1、TaskCommandIndo删去了depart,使用taskCreateDepart,修改mapper也同步使用taskCreateDepart
2、新增静态规则批量审核功能,post请求body为id和auditStatus的Map,入库使用sqlSessionWrapper,test已通过 3、动态任务接收alertmessage,查询DynamicTaskInfos生成command时,新增关联t_strategy_template表,select查询新增查询局点dynamic_rule_range、事件类型strategy_template_name字段
This commit is contained in:
@@ -180,7 +180,7 @@ public class StaticRuleController implements StaticRuleControllerApi {
|
||||
*/
|
||||
@PostMapping("/auditbatch")
|
||||
public ResponseResult updateStaticRuleAuditStatusBatch(@RequestBody Map<Integer, Integer> idsWithAuditStatusMap) {
|
||||
List<Integer> errorIds = new ArrayList<Integer>();
|
||||
List<Integer> errorIds = new ArrayList<>();
|
||||
for (Map.Entry<Integer, Integer> entry: idsWithAuditStatusMap.entrySet()) {
|
||||
Integer id = entry.getKey();
|
||||
Integer auditStatus = entry.getValue();
|
||||
|
||||
Reference in New Issue
Block a user