<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.system.mapper.task.TkChengyunTaskMapper">
  <resultMap id="BaseResultMap" type="com.ruoyi.system.domain.task.TkChengyunTask">
    <id column="cedEventCode" jdbcType="VARCHAR" property="cedeventcode" />
    <result column="name" jdbcType="VARCHAR" property="name" />
    <result column="fsdz" jdbcType="VARCHAR" property="fsdz" />
    <result column="longitude" jdbcType="VARCHAR" property="longitude" />
    <result column="latitude" jdbcType="VARCHAR" property="latitude" />
    <result column="SFSJ" jdbcType="VARCHAR" property="sfsj" />
    <result column="complaints_person" jdbcType="VARCHAR" property="complaintsPerson" />
    <result column="complaints_phone" jdbcType="VARCHAR" property="complaintsPhone" />
    <result column="townStreet" jdbcType="VARCHAR" property="townstreet" />
    <result column="type" jdbcType="VARCHAR" property="type" />
    <result column="namespace" jdbcType="VARCHAR" property="namespace" />
    <result column="townStreetCode" jdbcType="VARCHAR" property="townstreetcode" />
    <result column="ISPUSH" jdbcType="INTEGER" property="ispush" />
    <result column="cedResponseEndTime" jdbcType="VARCHAR" property="cedresponseendtime" />
    <result column="ISSYNC" jdbcType="INTEGER" property="issync" />
    <result column="come_from" jdbcType="VARCHAR" property="comeFrom" />
    <result column="create_time" jdbcType="VARCHAR" property="createTime" />
    <result column="BASEID" jdbcType="VARCHAR" property="baseid" />
    <result column="ylzd1" jdbcType="VARCHAR" property="ylzd1" />
    <result column="ylzd2" jdbcType="VARCHAR" property="ylzd2" />
    <result column="ylzd3" jdbcType="VARCHAR" property="ylzd3" />
    <result column="ylzd4" jdbcType="VARCHAR" property="ylzd4" />
    <result column="ylzd5" jdbcType="VARCHAR" property="ylzd5" />
    <result column="end_time" jdbcType="VARCHAR" property="endTime" />
    <result column="delayDays" jdbcType="VARCHAR" property="delaydays" />
    <result column="delayUnit" jdbcType="VARCHAR" property="delayunit" />
    <result column="isback" jdbcType="INTEGER" property="isback" />
    <result column="approveDelay" jdbcType="VARCHAR" property="approvedelay" />
  </resultMap>
  <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.ruoyi.system.domain.task.TkChengyunTask">
    <result column="name_detail" jdbcType="LONGVARCHAR" property="nameDetail" />
    <result column="imgs" jdbcType="LONGVARCHAR" property="imgs" />
    <result column="file_path" jdbcType="LONGVARCHAR" property="filePath" />
    <result column="cedEventCompleteConclusion" jdbcType="LONGVARCHAR" property="cedeventcompleteconclusion" />
    <result column="cedResponse_path" jdbcType="LONGVARCHAR" property="cedresponsePath" />
    <result column="reason" jdbcType="LONGVARCHAR" property="reason" />
    <result column="approveOption" jdbcType="LONGVARCHAR" property="approveoption" />
  </resultMap>
  <sql id="Example_Where_Clause">
    <where>
      <foreach collection="oredCriteria" item="criteria" separator="or">
        <if test="criteria.valid">
          <trim prefix="(" prefixOverrides="and" suffix=")">
            <foreach collection="criteria.criteria" item="criterion">
              <choose>
                <when test="criterion.noValue">
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue">
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue">
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue">
                  and ${criterion.condition}
                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Update_By_Example_Where_Clause">
    <where>
      <foreach collection="example.oredCriteria" item="criteria" separator="or">
        <if test="criteria.valid">
          <trim prefix="(" prefixOverrides="and" suffix=")">
            <foreach collection="criteria.criteria" item="criterion">
              <choose>
                <when test="criterion.noValue">
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue">
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue">
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue">
                  and ${criterion.condition}
                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Base_Column_List">
    cedEventCode, name, fsdz, longitude, latitude, SFSJ, complaints_person, complaints_phone, 
    townStreet, type, namespace, townStreetCode, ISPUSH, cedResponseEndTime, ISSYNC, 
    come_from, create_time, BASEID, ylzd1, ylzd2, ylzd3, ylzd4, ylzd5, end_time, delayDays, 
    delayUnit, isback, approveDelay
  </sql>
  <sql id="Blob_Column_List">
    name_detail, imgs, file_path, cedEventCompleteConclusion, cedResponse_path, reason, 
    approveOption
  </sql>
  <select id="selectByExampleWithBLOBs" parameterType="com.ruoyi.system.domain.task.TkChengyunTaskExample" resultMap="ResultMapWithBLOBs">
    select
    <if test="distinct">
      distinct
    </if>
    <include refid="Base_Column_List" />
    ,
    <include refid="Blob_Column_List" />
    from tk_chengyun_task
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null">
      order by ${orderByClause}
    </if>
  </select>
  <select id="selectByExample" parameterType="com.ruoyi.system.domain.task.TkChengyunTaskExample" resultMap="BaseResultMap">
    select
    <if test="distinct">
      distinct
    </if>
    <include refid="Base_Column_List" />
    from tk_chengyun_task
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null">
      order by ${orderByClause}
    </if>
  </select>
  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="ResultMapWithBLOBs">
    select 
    <include refid="Base_Column_List" />
    ,
    <include refid="Blob_Column_List" />
    from tk_chengyun_task
    where cedEventCode = #{cedeventcode,jdbcType=VARCHAR}
  </select>
  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
    delete from tk_chengyun_task
    where cedEventCode = #{cedeventcode,jdbcType=VARCHAR}
  </delete>
  <delete id="deleteByExample" parameterType="com.ruoyi.system.domain.task.TkChengyunTaskExample">
    delete from tk_chengyun_task
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </delete>
  <insert id="insert" parameterType="com.ruoyi.system.domain.task.TkChengyunTask">
    insert into tk_chengyun_task (cedEventCode, name, fsdz,
      longitude, latitude, SFSJ, 
      complaints_person, complaints_phone, townStreet, 
      type, namespace, townStreetCode, 
      ISPUSH, cedResponseEndTime, ISSYNC, 
      come_from, create_time, BASEID, 
      ylzd1, ylzd2, ylzd3, 
      ylzd4, ylzd5, end_time, 
      delayDays, delayUnit, isback, 
      approveDelay, name_detail, imgs, 
      file_path, cedEventCompleteConclusion, 
      cedResponse_path, reason, approveOption
      )
    values (#{cedeventcode,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{fsdz,jdbcType=VARCHAR}, 
      #{longitude,jdbcType=VARCHAR}, #{latitude,jdbcType=VARCHAR}, #{sfsj,jdbcType=VARCHAR}, 
      #{complaintsPerson,jdbcType=VARCHAR}, #{complaintsPhone,jdbcType=VARCHAR}, #{townstreet,jdbcType=VARCHAR}, 
      #{type,jdbcType=VARCHAR}, #{namespace,jdbcType=VARCHAR}, #{townstreetcode,jdbcType=VARCHAR}, 
      #{ispush,jdbcType=INTEGER}, #{cedresponseendtime,jdbcType=VARCHAR}, #{issync,jdbcType=INTEGER}, 
      #{comeFrom,jdbcType=VARCHAR}, #{createTime,jdbcType=VARCHAR}, #{baseid,jdbcType=VARCHAR}, 
      #{ylzd1,jdbcType=VARCHAR}, #{ylzd2,jdbcType=VARCHAR}, #{ylzd3,jdbcType=VARCHAR}, 
      #{ylzd4,jdbcType=VARCHAR}, #{ylzd5,jdbcType=VARCHAR}, #{endTime,jdbcType=VARCHAR}, 
      #{delaydays,jdbcType=VARCHAR}, #{delayunit,jdbcType=VARCHAR}, #{isback,jdbcType=INTEGER}, 
      #{approvedelay,jdbcType=VARCHAR}, #{nameDetail,jdbcType=LONGVARCHAR}, #{imgs,jdbcType=LONGVARCHAR}, 
      #{filePath,jdbcType=LONGVARCHAR}, #{cedeventcompleteconclusion,jdbcType=LONGVARCHAR}, 
      #{cedresponsePath,jdbcType=LONGVARCHAR}, #{reason,jdbcType=LONGVARCHAR}, #{approveoption,jdbcType=LONGVARCHAR}
      )
  </insert>
  <insert id="insertSelective" parameterType="com.ruoyi.system.domain.task.TkChengyunTask">
    insert into tk_chengyun_task
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="cedeventcode != null">
        cedEventCode,
      </if>
      <if test="name != null">
        name,
      </if>
      <if test="fsdz != null">
        fsdz,
      </if>
      <if test="longitude != null">
        longitude,
      </if>
      <if test="latitude != null">
        latitude,
      </if>
      <if test="sfsj != null">
        SFSJ,
      </if>
      <if test="complaintsPerson != null">
        complaints_person,
      </if>
      <if test="complaintsPhone != null">
        complaints_phone,
      </if>
      <if test="townstreet != null">
        townStreet,
      </if>
      <if test="type != null">
        type,
      </if>
      <if test="namespace != null">
        namespace,
      </if>
      <if test="townstreetcode != null">
        townStreetCode,
      </if>
      <if test="ispush != null">
        ISPUSH,
      </if>
      <if test="cedresponseendtime != null">
        cedResponseEndTime,
      </if>
      <if test="issync != null">
        ISSYNC,
      </if>
      <if test="comeFrom != null">
        come_from,
      </if>
      <if test="createTime != null">
        create_time,
      </if>
      <if test="baseid != null">
        BASEID,
      </if>
      <if test="ylzd1 != null">
        ylzd1,
      </if>
      <if test="ylzd2 != null">
        ylzd2,
      </if>
      <if test="ylzd3 != null">
        ylzd3,
      </if>
      <if test="ylzd4 != null">
        ylzd4,
      </if>
      <if test="ylzd5 != null">
        ylzd5,
      </if>
      <if test="endTime != null">
        end_time,
      </if>
      <if test="delaydays != null">
        delayDays,
      </if>
      <if test="delayunit != null">
        delayUnit,
      </if>
      <if test="isback != null">
        isback,
      </if>
      <if test="approvedelay != null">
        approveDelay,
      </if>
      <if test="nameDetail != null">
        name_detail,
      </if>
      <if test="imgs != null">
        imgs,
      </if>
      <if test="filePath != null">
        file_path,
      </if>
      <if test="cedeventcompleteconclusion != null">
        cedEventCompleteConclusion,
      </if>
      <if test="cedresponsePath != null">
        cedResponse_path,
      </if>
      <if test="reason != null">
        reason,
      </if>
      <if test="approveoption != null">
        approveOption,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides=",">
      <if test="cedeventcode != null">
        #{cedeventcode,jdbcType=VARCHAR},
      </if>
      <if test="name != null">
        #{name,jdbcType=VARCHAR},
      </if>
      <if test="fsdz != null">
        #{fsdz,jdbcType=VARCHAR},
      </if>
      <if test="longitude != null">
        #{longitude,jdbcType=VARCHAR},
      </if>
      <if test="latitude != null">
        #{latitude,jdbcType=VARCHAR},
      </if>
      <if test="sfsj != null">
        #{sfsj,jdbcType=VARCHAR},
      </if>
      <if test="complaintsPerson != null">
        #{complaintsPerson,jdbcType=VARCHAR},
      </if>
      <if test="complaintsPhone != null">
        #{complaintsPhone,jdbcType=VARCHAR},
      </if>
      <if test="townstreet != null">
        #{townstreet,jdbcType=VARCHAR},
      </if>
      <if test="type != null">
        #{type,jdbcType=VARCHAR},
      </if>
      <if test="namespace != null">
        #{namespace,jdbcType=VARCHAR},
      </if>
      <if test="townstreetcode != null">
        #{townstreetcode,jdbcType=VARCHAR},
      </if>
      <if test="ispush != null">
        #{ispush,jdbcType=INTEGER},
      </if>
      <if test="cedresponseendtime != null">
        #{cedresponseendtime,jdbcType=VARCHAR},
      </if>
      <if test="issync != null">
        #{issync,jdbcType=INTEGER},
      </if>
      <if test="comeFrom != null">
        #{comeFrom,jdbcType=VARCHAR},
      </if>
      <if test="createTime != null">
        #{createTime,jdbcType=VARCHAR},
      </if>
      <if test="baseid != null">
        #{baseid,jdbcType=VARCHAR},
      </if>
      <if test="ylzd1 != null">
        #{ylzd1,jdbcType=VARCHAR},
      </if>
      <if test="ylzd2 != null">
        #{ylzd2,jdbcType=VARCHAR},
      </if>
      <if test="ylzd3 != null">
        #{ylzd3,jdbcType=VARCHAR},
      </if>
      <if test="ylzd4 != null">
        #{ylzd4,jdbcType=VARCHAR},
      </if>
      <if test="ylzd5 != null">
        #{ylzd5,jdbcType=VARCHAR},
      </if>
      <if test="endTime != null">
        #{endTime,jdbcType=VARCHAR},
      </if>
      <if test="delaydays != null">
        #{delaydays,jdbcType=VARCHAR},
      </if>
      <if test="delayunit != null">
        #{delayunit,jdbcType=VARCHAR},
      </if>
      <if test="isback != null">
        #{isback,jdbcType=INTEGER},
      </if>
      <if test="approvedelay != null">
        #{approvedelay,jdbcType=VARCHAR},
      </if>
      <if test="nameDetail != null">
        #{nameDetail,jdbcType=LONGVARCHAR},
      </if>
      <if test="imgs != null">
        #{imgs,jdbcType=LONGVARCHAR},
      </if>
      <if test="filePath != null">
        #{filePath,jdbcType=LONGVARCHAR},
      </if>
      <if test="cedeventcompleteconclusion != null">
        #{cedeventcompleteconclusion,jdbcType=LONGVARCHAR},
      </if>
      <if test="cedresponsePath != null">
        #{cedresponsePath,jdbcType=LONGVARCHAR},
      </if>
      <if test="reason != null">
        #{reason,jdbcType=LONGVARCHAR},
      </if>
      <if test="approveoption != null">
        #{approveoption,jdbcType=LONGVARCHAR},
      </if>
    </trim>
  </insert>
  <select id="countByExample" parameterType="com.ruoyi.system.domain.task.TkChengyunTaskExample" resultType="java.lang.Long">
    select count(*) from tk_chengyun_task
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </select>
  <update id="updateByExampleSelective" parameterType="map">
    update tk_chengyun_task
    <set>
      <if test="record.cedeventcode != null">
        cedEventCode = #{record.cedeventcode,jdbcType=VARCHAR},
      </if>
      <if test="record.name != null">
        name = #{record.name,jdbcType=VARCHAR},
      </if>
      <if test="record.fsdz != null">
        fsdz = #{record.fsdz,jdbcType=VARCHAR},
      </if>
      <if test="record.longitude != null">
        longitude = #{record.longitude,jdbcType=VARCHAR},
      </if>
      <if test="record.latitude != null">
        latitude = #{record.latitude,jdbcType=VARCHAR},
      </if>
      <if test="record.sfsj != null">
        SFSJ = #{record.sfsj,jdbcType=VARCHAR},
      </if>
      <if test="record.complaintsPerson != null">
        complaints_person = #{record.complaintsPerson,jdbcType=VARCHAR},
      </if>
      <if test="record.complaintsPhone != null">
        complaints_phone = #{record.complaintsPhone,jdbcType=VARCHAR},
      </if>
      <if test="record.townstreet != null">
        townStreet = #{record.townstreet,jdbcType=VARCHAR},
      </if>
      <if test="record.type != null">
        type = #{record.type,jdbcType=VARCHAR},
      </if>
      <if test="record.namespace != null">
        namespace = #{record.namespace,jdbcType=VARCHAR},
      </if>
      <if test="record.townstreetcode != null">
        townStreetCode = #{record.townstreetcode,jdbcType=VARCHAR},
      </if>
      <if test="record.ispush != null">
        ISPUSH = #{record.ispush,jdbcType=INTEGER},
      </if>
      <if test="record.cedresponseendtime != null">
        cedResponseEndTime = #{record.cedresponseendtime,jdbcType=VARCHAR},
      </if>
      <if test="record.issync != null">
        ISSYNC = #{record.issync,jdbcType=INTEGER},
      </if>
      <if test="record.comeFrom != null">
        come_from = #{record.comeFrom,jdbcType=VARCHAR},
      </if>
      <if test="record.createTime != null">
        create_time = #{record.createTime,jdbcType=VARCHAR},
      </if>
      <if test="record.baseid != null">
        BASEID = #{record.baseid,jdbcType=VARCHAR},
      </if>
      <if test="record.ylzd1 != null">
        ylzd1 = #{record.ylzd1,jdbcType=VARCHAR},
      </if>
      <if test="record.ylzd2 != null">
        ylzd2 = #{record.ylzd2,jdbcType=VARCHAR},
      </if>
      <if test="record.ylzd3 != null">
        ylzd3 = #{record.ylzd3,jdbcType=VARCHAR},
      </if>
      <if test="record.ylzd4 != null">
        ylzd4 = #{record.ylzd4,jdbcType=VARCHAR},
      </if>
      <if test="record.ylzd5 != null">
        ylzd5 = #{record.ylzd5,jdbcType=VARCHAR},
      </if>
      <if test="record.endTime != null">
        end_time = #{record.endTime,jdbcType=VARCHAR},
      </if>
      <if test="record.delaydays != null">
        delayDays = #{record.delaydays,jdbcType=VARCHAR},
      </if>
      <if test="record.delayunit != null">
        delayUnit = #{record.delayunit,jdbcType=VARCHAR},
      </if>
      <if test="record.isback != null">
        isback = #{record.isback,jdbcType=INTEGER},
      </if>
      <if test="record.approvedelay != null">
        approveDelay = #{record.approvedelay,jdbcType=VARCHAR},
      </if>
      <if test="record.nameDetail != null">
        name_detail = #{record.nameDetail,jdbcType=LONGVARCHAR},
      </if>
      <if test="record.imgs != null">
        imgs = #{record.imgs,jdbcType=LONGVARCHAR},
      </if>
      <if test="record.filePath != null">
        file_path = #{record.filePath,jdbcType=LONGVARCHAR},
      </if>
      <if test="record.cedeventcompleteconclusion != null">
        cedEventCompleteConclusion = #{record.cedeventcompleteconclusion,jdbcType=LONGVARCHAR},
      </if>
      <if test="record.cedresponsePath != null">
        cedResponse_path = #{record.cedresponsePath,jdbcType=LONGVARCHAR},
      </if>
      <if test="record.reason != null">
        reason = #{record.reason,jdbcType=LONGVARCHAR},
      </if>
      <if test="record.approveoption != null">
        approveOption = #{record.approveoption,jdbcType=LONGVARCHAR},
      </if>
    </set>
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByExampleWithBLOBs" parameterType="map">
    update tk_chengyun_task
    set cedEventCode = #{record.cedeventcode,jdbcType=VARCHAR},
      name = #{record.name,jdbcType=VARCHAR},
      fsdz = #{record.fsdz,jdbcType=VARCHAR},
      longitude = #{record.longitude,jdbcType=VARCHAR},
      latitude = #{record.latitude,jdbcType=VARCHAR},
      SFSJ = #{record.sfsj,jdbcType=VARCHAR},
      complaints_person = #{record.complaintsPerson,jdbcType=VARCHAR},
      complaints_phone = #{record.complaintsPhone,jdbcType=VARCHAR},
      townStreet = #{record.townstreet,jdbcType=VARCHAR},
      type = #{record.type,jdbcType=VARCHAR},
      namespace = #{record.namespace,jdbcType=VARCHAR},
      townStreetCode = #{record.townstreetcode,jdbcType=VARCHAR},
      ISPUSH = #{record.ispush,jdbcType=INTEGER},
      cedResponseEndTime = #{record.cedresponseendtime,jdbcType=VARCHAR},
      ISSYNC = #{record.issync,jdbcType=INTEGER},
      come_from = #{record.comeFrom,jdbcType=VARCHAR},
      create_time = #{record.createTime,jdbcType=VARCHAR},
      BASEID = #{record.baseid,jdbcType=VARCHAR},
      ylzd1 = #{record.ylzd1,jdbcType=VARCHAR},
      ylzd2 = #{record.ylzd2,jdbcType=VARCHAR},
      ylzd3 = #{record.ylzd3,jdbcType=VARCHAR},
      ylzd4 = #{record.ylzd4,jdbcType=VARCHAR},
      ylzd5 = #{record.ylzd5,jdbcType=VARCHAR},
      end_time = #{record.endTime,jdbcType=VARCHAR},
      delayDays = #{record.delaydays,jdbcType=VARCHAR},
      delayUnit = #{record.delayunit,jdbcType=VARCHAR},
      isback = #{record.isback,jdbcType=INTEGER},
      approveDelay = #{record.approvedelay,jdbcType=VARCHAR},
      name_detail = #{record.nameDetail,jdbcType=LONGVARCHAR},
      imgs = #{record.imgs,jdbcType=LONGVARCHAR},
      file_path = #{record.filePath,jdbcType=LONGVARCHAR},
      cedEventCompleteConclusion = #{record.cedeventcompleteconclusion,jdbcType=LONGVARCHAR},
      cedResponse_path = #{record.cedresponsePath,jdbcType=LONGVARCHAR},
      reason = #{record.reason,jdbcType=LONGVARCHAR},
      approveOption = #{record.approveoption,jdbcType=LONGVARCHAR}
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByExample" parameterType="map">
    update tk_chengyun_task
    set cedEventCode = #{record.cedeventcode,jdbcType=VARCHAR},
      name = #{record.name,jdbcType=VARCHAR},
      fsdz = #{record.fsdz,jdbcType=VARCHAR},
      longitude = #{record.longitude,jdbcType=VARCHAR},
      latitude = #{record.latitude,jdbcType=VARCHAR},
      SFSJ = #{record.sfsj,jdbcType=VARCHAR},
      complaints_person = #{record.complaintsPerson,jdbcType=VARCHAR},
      complaints_phone = #{record.complaintsPhone,jdbcType=VARCHAR},
      townStreet = #{record.townstreet,jdbcType=VARCHAR},
      type = #{record.type,jdbcType=VARCHAR},
      namespace = #{record.namespace,jdbcType=VARCHAR},
      townStreetCode = #{record.townstreetcode,jdbcType=VARCHAR},
      ISPUSH = #{record.ispush,jdbcType=INTEGER},
      cedResponseEndTime = #{record.cedresponseendtime,jdbcType=VARCHAR},
      ISSYNC = #{record.issync,jdbcType=INTEGER},
      come_from = #{record.comeFrom,jdbcType=VARCHAR},
      create_time = #{record.createTime,jdbcType=VARCHAR},
      BASEID = #{record.baseid,jdbcType=VARCHAR},
      ylzd1 = #{record.ylzd1,jdbcType=VARCHAR},
      ylzd2 = #{record.ylzd2,jdbcType=VARCHAR},
      ylzd3 = #{record.ylzd3,jdbcType=VARCHAR},
      ylzd4 = #{record.ylzd4,jdbcType=VARCHAR},
      ylzd5 = #{record.ylzd5,jdbcType=VARCHAR},
      end_time = #{record.endTime,jdbcType=VARCHAR},
      delayDays = #{record.delaydays,jdbcType=VARCHAR},
      delayUnit = #{record.delayunit,jdbcType=VARCHAR},
      isback = #{record.isback,jdbcType=INTEGER},
      approveDelay = #{record.approvedelay,jdbcType=VARCHAR}
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByPrimaryKeySelective" parameterType="com.ruoyi.system.domain.task.TkChengyunTask">
    update tk_chengyun_task
    <set>
      <if test="name != null">
        name = #{name,jdbcType=VARCHAR},
      </if>
      <if test="fsdz != null">
        fsdz = #{fsdz,jdbcType=VARCHAR},
      </if>
      <if test="longitude != null">
        longitude = #{longitude,jdbcType=VARCHAR},
      </if>
      <if test="latitude != null">
        latitude = #{latitude,jdbcType=VARCHAR},
      </if>
      <if test="sfsj != null">
        SFSJ = #{sfsj,jdbcType=VARCHAR},
      </if>
      <if test="complaintsPerson != null">
        complaints_person = #{complaintsPerson,jdbcType=VARCHAR},
      </if>
      <if test="complaintsPhone != null">
        complaints_phone = #{complaintsPhone,jdbcType=VARCHAR},
      </if>
      <if test="townstreet != null">
        townStreet = #{townstreet,jdbcType=VARCHAR},
      </if>
      <if test="type != null">
        type = #{type,jdbcType=VARCHAR},
      </if>
      <if test="namespace != null">
        namespace = #{namespace,jdbcType=VARCHAR},
      </if>
      <if test="townstreetcode != null">
        townStreetCode = #{townstreetcode,jdbcType=VARCHAR},
      </if>
      <if test="ispush != null">
        ISPUSH = #{ispush,jdbcType=INTEGER},
      </if>
      <if test="cedresponseendtime != null">
        cedResponseEndTime = #{cedresponseendtime,jdbcType=VARCHAR},
      </if>
      <if test="issync != null">
        ISSYNC = #{issync,jdbcType=INTEGER},
      </if>
      <if test="comeFrom != null">
        come_from = #{comeFrom,jdbcType=VARCHAR},
      </if>
      <if test="createTime != null">
        create_time = #{createTime,jdbcType=VARCHAR},
      </if>
      <if test="baseid != null">
        BASEID = #{baseid,jdbcType=VARCHAR},
      </if>
      <if test="ylzd1 != null">
        ylzd1 = #{ylzd1,jdbcType=VARCHAR},
      </if>
      <if test="ylzd2 != null">
        ylzd2 = #{ylzd2,jdbcType=VARCHAR},
      </if>
      <if test="ylzd3 != null">
        ylzd3 = #{ylzd3,jdbcType=VARCHAR},
      </if>
      <if test="ylzd4 != null">
        ylzd4 = #{ylzd4,jdbcType=VARCHAR},
      </if>
      <if test="ylzd5 != null">
        ylzd5 = #{ylzd5,jdbcType=VARCHAR},
      </if>
      <if test="endTime != null">
        end_time = #{endTime,jdbcType=VARCHAR},
      </if>
      <if test="delaydays != null">
        delayDays = #{delaydays,jdbcType=VARCHAR},
      </if>
      <if test="delayunit != null">
        delayUnit = #{delayunit,jdbcType=VARCHAR},
      </if>
      <if test="isback != null">
        isback = #{isback,jdbcType=INTEGER},
      </if>
      <if test="approvedelay != null">
        approveDelay = #{approvedelay,jdbcType=VARCHAR},
      </if>
      <if test="nameDetail != null">
        name_detail = #{nameDetail,jdbcType=LONGVARCHAR},
      </if>
      <if test="imgs != null">
        imgs = #{imgs,jdbcType=LONGVARCHAR},
      </if>
      <if test="filePath != null">
        file_path = #{filePath,jdbcType=LONGVARCHAR},
      </if>
      <if test="cedeventcompleteconclusion != null">
        cedEventCompleteConclusion = #{cedeventcompleteconclusion,jdbcType=LONGVARCHAR},
      </if>
      <if test="cedresponsePath != null">
        cedResponse_path = #{cedresponsePath,jdbcType=LONGVARCHAR},
      </if>
      <if test="reason != null">
        reason = #{reason,jdbcType=LONGVARCHAR},
      </if>
      <if test="approveoption != null">
        approveOption = #{approveoption,jdbcType=LONGVARCHAR},
      </if>
    </set>
    where cedEventCode = #{cedeventcode,jdbcType=VARCHAR}
  </update>
  <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.ruoyi.system.domain.task.TkChengyunTask">
    update tk_chengyun_task
    set name = #{name,jdbcType=VARCHAR},
      fsdz = #{fsdz,jdbcType=VARCHAR},
      longitude = #{longitude,jdbcType=VARCHAR},
      latitude = #{latitude,jdbcType=VARCHAR},
      SFSJ = #{sfsj,jdbcType=VARCHAR},
      complaints_person = #{complaintsPerson,jdbcType=VARCHAR},
      complaints_phone = #{complaintsPhone,jdbcType=VARCHAR},
      townStreet = #{townstreet,jdbcType=VARCHAR},
      type = #{type,jdbcType=VARCHAR},
      namespace = #{namespace,jdbcType=VARCHAR},
      townStreetCode = #{townstreetcode,jdbcType=VARCHAR},
      ISPUSH = #{ispush,jdbcType=INTEGER},
      cedResponseEndTime = #{cedresponseendtime,jdbcType=VARCHAR},
      ISSYNC = #{issync,jdbcType=INTEGER},
      come_from = #{comeFrom,jdbcType=VARCHAR},
      create_time = #{createTime,jdbcType=VARCHAR},
      BASEID = #{baseid,jdbcType=VARCHAR},
      ylzd1 = #{ylzd1,jdbcType=VARCHAR},
      ylzd2 = #{ylzd2,jdbcType=VARCHAR},
      ylzd3 = #{ylzd3,jdbcType=VARCHAR},
      ylzd4 = #{ylzd4,jdbcType=VARCHAR},
      ylzd5 = #{ylzd5,jdbcType=VARCHAR},
      end_time = #{endTime,jdbcType=VARCHAR},
      delayDays = #{delaydays,jdbcType=VARCHAR},
      delayUnit = #{delayunit,jdbcType=VARCHAR},
      isback = #{isback,jdbcType=INTEGER},
      approveDelay = #{approvedelay,jdbcType=VARCHAR},
      name_detail = #{nameDetail,jdbcType=LONGVARCHAR},
      imgs = #{imgs,jdbcType=LONGVARCHAR},
      file_path = #{filePath,jdbcType=LONGVARCHAR},
      cedEventCompleteConclusion = #{cedeventcompleteconclusion,jdbcType=LONGVARCHAR},
      cedResponse_path = #{cedresponsePath,jdbcType=LONGVARCHAR},
      reason = #{reason,jdbcType=LONGVARCHAR},
      approveOption = #{approveoption,jdbcType=LONGVARCHAR}
    where cedEventCode = #{cedeventcode,jdbcType=VARCHAR}
  </update>
  <update id="updateByPrimaryKey" parameterType="com.ruoyi.system.domain.task.TkChengyunTask">
    update tk_chengyun_task
    set name = #{name,jdbcType=VARCHAR},
      fsdz = #{fsdz,jdbcType=VARCHAR},
      longitude = #{longitude,jdbcType=VARCHAR},
      latitude = #{latitude,jdbcType=VARCHAR},
      SFSJ = #{sfsj,jdbcType=VARCHAR},
      complaints_person = #{complaintsPerson,jdbcType=VARCHAR},
      complaints_phone = #{complaintsPhone,jdbcType=VARCHAR},
      townStreet = #{townstreet,jdbcType=VARCHAR},
      type = #{type,jdbcType=VARCHAR},
      namespace = #{namespace,jdbcType=VARCHAR},
      townStreetCode = #{townstreetcode,jdbcType=VARCHAR},
      ISPUSH = #{ispush,jdbcType=INTEGER},
      cedResponseEndTime = #{cedresponseendtime,jdbcType=VARCHAR},
      ISSYNC = #{issync,jdbcType=INTEGER},
      come_from = #{comeFrom,jdbcType=VARCHAR},
      create_time = #{createTime,jdbcType=VARCHAR},
      BASEID = #{baseid,jdbcType=VARCHAR},
      ylzd1 = #{ylzd1,jdbcType=VARCHAR},
      ylzd2 = #{ylzd2,jdbcType=VARCHAR},
      ylzd3 = #{ylzd3,jdbcType=VARCHAR},
      ylzd4 = #{ylzd4,jdbcType=VARCHAR},
      ylzd5 = #{ylzd5,jdbcType=VARCHAR},
      end_time = #{endTime,jdbcType=VARCHAR},
      delayDays = #{delaydays,jdbcType=VARCHAR},
      delayUnit = #{delayunit,jdbcType=VARCHAR},
      isback = #{isback,jdbcType=INTEGER},
      approveDelay = #{approvedelay,jdbcType=VARCHAR}
    where cedEventCode = #{cedeventcode,jdbcType=VARCHAR}
  </update>
</mapper>