fuliqi
2024-08-07 f0b9fe73049ff873a6da7127c60fd3e4f5b6f212
ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml
@@ -17,7 +17,8 @@
        <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">
@@ -28,7 +29,6 @@
        SELECT
               typ.id,
               typ.point_name,
               typ.point_tag,
               typ.start_time,
               typ.end_time,
               typ.unit_id,
@@ -39,7 +39,8 @@
               typ.remark,
               typ.create_time,
               typ.update_time,
               typ.point_tag,
               typ.important_tag,
               typ.province_tag,
               typ.category
        FROM
             t_yw_point typ
@@ -67,10 +68,10 @@
        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>