| | |
| | | @ApiModelProperty("分类id") |
| | | private Integer classifyId; |
| | | |
| | | @ApiModelProperty("分类id父id") |
| | | private Integer parentClassifyId; |
| | | |
| | | @ApiModelProperty("搜索数据类型1.办事部门2.办事指南 3.推荐办事指南4.分类") |
| | | private Integer type; |
| | | |
| | |
| | | </select> |
| | | |
| | | <select id="selectSearchList" resultType="com.dg.core.db.manual.pojo.Search"> |
| | | select id, title, content,classify_id, type from ( select id,matter_name title,concat((select classify_name from automessage_classify_administration |
| | | select id, title, content,classify_id, type,parentClassifyId from ( select id,matter_name title,concat((select classify_name from automessage_classify_administration |
| | | 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,classify_id, |
| | | '/',(select classify_name from automessage_classify_administration where id=automessage_transaction_event.classify_id)) content, |
| | | classify_id,(select parent_id from automessage_classify_administration where id=automessage_transaction_event.classify_id) parentClassifyId, |
| | | 2 type from automessage_transaction_event) k |
| | | where k.title like concat('%',#{keyWord}, '%') or k.content like concat('%',#{keyWord}, '%') |
| | | </select> |