| | |
| | | id, menu_name, menu_sort, create_by, create_time, is_delete |
| | | </sql> |
| | | <select id="allert" resultMap="tree"> |
| | | SELECT tt.id as tid, tt.titile_name,tm.id,tm.major_name |
| | | SELECT tt.id as tid, tt.titile_name |
| | | FROM t_technical_title tt |
| | | LEFT JOIN t_title_major tm on tm.technical_id = tt.id |
| | | WHERE 1=1 and tt.is_delete = 0 and tm.is_delete = 0 |
| | | WHERE 1=1 and tt.is_delete = 0 |
| | | <if test="cityCode != null and cityCode.size() > 0"> |
| | | <foreach collection="cityCode" item="id" separator=","> |
| | | OR FIND_IN_SET(#{id}, tm.region_ids) |
| | | and FIND_IN_SET(#{id}, tt.region_ids) |
| | | </foreach> |
| | | </if> |
| | | |
| | | |
| | | </select> |
| | | <select id="userUp" resultType="java.util.Map"> |
| | | SELECT |