flower_city/src/main/resources/mapper/TransactionEventMapper.xml
@@ -458,8 +458,8 @@
                                                      where id=(select parent_id from  automessage_classify_administration  where id=automessage_transaction_event.classify_id)),
                                                     '>',(select classify_name from  automessage_classify_administration  where id=automessage_transaction_event.classify_id)) content,
                         browse_num views,2 type from automessage_transaction_event UNION
                 SELECT id ,name title,'政策文件' content,null      views,5 type FROM    automessage_policy_documents where type=2     UNION
                 SELECT id ,name title,'法律法规' content,null      views,6 type FROM    automessage_policy_documents where type=1
                 SELECT id ,name title,concat((select organization_name from automessage_organization_chart where id=automessage_policy_documents.department_id ),'>','政策文件') content,null      views,5 type FROM    automessage_policy_documents where type=2     UNION
                 SELECT id ,name title,concat((select organization_name from automessage_organization_chart where id=automessage_policy_documents.department_id ),'>','法律法规') content,null      views,6 type FROM    automessage_policy_documents where type=1
             ) k
        where  k.title like concat('%',#{keyWord}, '%') or k.content  like concat('%', #{keyWord}, '%')
    </select>