diff --git a/src/main/java/neatlogic/framework/autoexec/dao/mapper/AutoexecScriptMapper.xml b/src/main/java/neatlogic/framework/autoexec/dao/mapper/AutoexecScriptMapper.xml index 39f50ce755a417f16a56f77724de9d566c3e991e..af216db9a85de3cc3bcf247b771efdaffaa10ff9 100644 --- a/src/main/java/neatlogic/framework/autoexec/dao/mapper/AutoexecScriptMapper.xml +++ b/src/main/java/neatlogic/framework/autoexec/dao/mapper/AutoexecScriptMapper.xml @@ -776,56 +776,45 @@ - and ( - `name` like CONCAT('%', #{keyword}, '%') - or `description` like CONCAT('%', #{keyword}, '%') - or exists (select 1 from `fulltextindex_word` fw - join `fulltextindex_field_autoexec` ff on fw.`id` = ff.`word_id` - join `autoexec_script_version` asv on ff.`target_id` = asv.`id` - where a.`id` = asv.`script_id` and fw.`word` in - - #{k} - - ) - ) + and a.`name` like CONCAT('%', #{keyword}, '%') - and `exec_mode` = #{execMode} + and a.`exec_mode` = #{execMode} - and `is_lib` = #{isLib} + and a.`is_lib` = #{isLib} - and `type_id` in + and a.`type_id` in #{item} - and `catalog_id` in + and a.`catalog_id` in #{item} - and `risk_id` in + and a.`risk_id` in #{item} - and `id` not in + and a.`id` not in #{item} - and `customtemplate_id` is not null + and a.`customtemplate_id` is not null - and `customtemplate_id` in + and a.`customtemplate_id` in #{item} @@ -848,7 +837,7 @@ @@ -864,9 +853,6 @@ - - - @@ -877,25 +863,19 @@