| | |
| | | <result column="create_time" property="createTime" /> |
| | | <result column="update_time" property="updateTime" /> |
| | | <result column="category" property="category" /> |
| | | <result column="point_tag" property="pointTagString" /> |
| | | <result column="province_tag" property="provinceTag" /> |
| | | <result column="important_tag" property="importantTag" /> |
| | | </resultMap> |
| | | |
| | | <select id="selectData" resultType="com.ycl.platform.base.BaseSelect"> |
| | |
| | | SELECT |
| | | typ.id, |
| | | typ.point_name, |
| | | typ.point_tag, |
| | | typ.start_time, |
| | | typ.end_time, |
| | | typ.unit_id, |
| | |
| | | typ.remark, |
| | | typ.create_time, |
| | | typ.update_time, |
| | | typ.point_tag, |
| | | typ.important_tag, |
| | | typ.province_tag, |
| | | typ.category |
| | | FROM |
| | | t_yw_point typ |
| | |
| | | select * from t_yw_point |
| | | <where> |
| | | <if test="important!=null and important!= '' "> |
| | | and point_tag like concat('%', #{important}, '%') |
| | | and important_tag = #{important} |
| | | </if> |
| | | <if test="province!=null and province!= '' "> |
| | | and point_tag like concat('%', #{province}, '%') |
| | | and province_tag = #{province} |
| | | </if> |
| | | </where> |
| | | </select> |