<?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.lawcase.CaseLawEnforcementMapper">
  <resultMap id="BaseResultMap" type="com.ruoyi.system.domain.lawcase.CaseLawEnforcement">
    <id column="id" jdbcType="VARCHAR" property="id" />
    <result column="sjqlss" jdbcType="VARCHAR" property="sjqlss" />
    <result column="ajbm" jdbcType="VARCHAR" property="ajbm" />
    <result column="ajly_lx" jdbcType="VARCHAR" property="ajlyLx" />
    <result column="ajly_mc" jdbcType="VARCHAR" property="ajlyMc" />
    <result column="ajly_dz" jdbcType="VARCHAR" property="ajlyDz" />
    <result column="ajly_tel" jdbcType="VARCHAR" property="ajlyTel" />
    <result column="sasj" jdbcType="VARCHAR" property="sasj" />
    <result column="afsj" jdbcType="VARCHAR" property="afsj" />
    <result column="afdd" jdbcType="VARCHAR" property="afdd" />
    <result column="dsr_fr_mc" jdbcType="VARCHAR" property="dsrFrMc" />
    <result column="dsr_fr_xm" jdbcType="VARCHAR" property="dsrFrXm" />
    <result column="dsr_fr_zw" jdbcType="VARCHAR" property="dsrFrZw" />
    <result column="dsr_fr_dz" jdbcType="VARCHAR" property="dsrFrDz" />
    <result column="dsr_fr_tel" jdbcType="VARCHAR" property="dsrFrTel" />
    <result column="dsr_gm_xm" jdbcType="VARCHAR" property="dsrGmXm" />
    <result column="dsr_gm_xb" jdbcType="VARCHAR" property="dsrGmXb" />
    <result column="dsr_gm_nl" jdbcType="VARCHAR" property="dsrGmNl" />
    <result column="dsr_gm_sfz" jdbcType="VARCHAR" property="dsrGmSfz" />
    <result column="dsr_gm_dz" jdbcType="VARCHAR" property="dsrGmDz" />
    <result column="dsr_gm_tel" jdbcType="VARCHAR" property="dsrGmTel" />
    <result column="sajlqm" jdbcType="VARCHAR" property="sajlqm" />
    <result column="create_time" jdbcType="VARCHAR" property="createTime" />
    <result column="create_by" jdbcType="VARCHAR" property="createBy" />
    <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="state7" jdbcType="VARCHAR" property="state7" />
    <result column="creator_name" jdbcType="VARCHAR" property="creatorName" />
    <result column="ajfl" jdbcType="VARCHAR" property="ajfl" />
    <result column="ajyx" jdbcType="VARCHAR" property="ajyx" />
    <result column="is_zdaj" jdbcType="VARCHAR" property="isZdaj" />
    <result column="ylzd25" jdbcType="VARCHAR" property="ylzd25" />
    <result column="execute_condition" jdbcType="VARCHAR" property="executeCondition" />
    <result column="reconsideration" jdbcType="VARCHAR" property="reconsideration" />
    <result column="brief" jdbcType="VARCHAR" property="brief" />
  </resultMap>
  <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.ruoyi.system.domain.lawcase.CaseLawEnforcement">
    <result column="sajl" jdbcType="LONGVARCHAR" property="sajl" />
  </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">
    id, sjqlss, ajbm, ajly_lx, ajly_mc, ajly_dz, ajly_tel, sasj, afsj, afdd, dsr_fr_mc, 
    dsr_fr_xm, dsr_fr_zw, dsr_fr_dz, dsr_fr_tel, dsr_gm_xm, dsr_gm_xb, dsr_gm_nl, dsr_gm_sfz, 
    dsr_gm_dz, dsr_gm_tel, sajlqm, create_time, create_by, ylzd1, ylzd2, ylzd3, ylzd4, 
    ylzd5, state7, creator_name, ajfl, ajyx, is_zdaj, ylzd25, execute_condition, reconsideration, 
    brief
  </sql>
  <sql id="Blob_Column_List">
    sajl
  </sql>
  <select id="selectByExampleWithBLOBs" parameterType="com.ruoyi.system.domain.lawcase.CaseLawEnforcementExample" resultMap="ResultMapWithBLOBs">
    select
    <if test="distinct">
      distinct
    </if>
    <include refid="Base_Column_List" />
    ,
    <include refid="Blob_Column_List" />
    from case_law_enforcement
    <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.lawcase.CaseLawEnforcementExample" resultMap="BaseResultMap">
    select
    <if test="distinct">
      distinct
    </if>
    <include refid="Base_Column_List" />
    from case_law_enforcement
    <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 case_law_enforcement
    where id = #{id,jdbcType=VARCHAR}
  </select>
  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
    delete from case_law_enforcement
    where id = #{id,jdbcType=VARCHAR}
  </delete>
  <delete id="deleteByExample" parameterType="com.ruoyi.system.domain.lawcase.CaseLawEnforcementExample">
    delete from case_law_enforcement
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </delete>
  <insert id="insert" parameterType="com.ruoyi.system.domain.lawcase.CaseLawEnforcement">
    insert into case_law_enforcement (id, sjqlss, ajbm, 
      ajly_lx, ajly_mc, ajly_dz, 
      ajly_tel, sasj, afsj, 
      afdd, dsr_fr_mc, dsr_fr_xm, 
      dsr_fr_zw, dsr_fr_dz, dsr_fr_tel, 
      dsr_gm_xm, dsr_gm_xb, dsr_gm_nl, 
      dsr_gm_sfz, dsr_gm_dz, dsr_gm_tel, 
      sajlqm, create_time, create_by, 
      ylzd1, ylzd2, ylzd3, 
      ylzd4, ylzd5, state7, 
      creator_name, ajfl, ajyx, 
      is_zdaj, ylzd25, execute_condition, 
      reconsideration, brief, sajl
      )
    values (#{id,jdbcType=VARCHAR}, #{sjqlss,jdbcType=VARCHAR}, #{ajbm,jdbcType=VARCHAR}, 
      #{ajlyLx,jdbcType=VARCHAR}, #{ajlyMc,jdbcType=VARCHAR}, #{ajlyDz,jdbcType=VARCHAR}, 
      #{ajlyTel,jdbcType=VARCHAR}, #{sasj,jdbcType=VARCHAR}, #{afsj,jdbcType=VARCHAR}, 
      #{afdd,jdbcType=VARCHAR}, #{dsrFrMc,jdbcType=VARCHAR}, #{dsrFrXm,jdbcType=VARCHAR}, 
      #{dsrFrZw,jdbcType=VARCHAR}, #{dsrFrDz,jdbcType=VARCHAR}, #{dsrFrTel,jdbcType=VARCHAR}, 
      #{dsrGmXm,jdbcType=VARCHAR}, #{dsrGmXb,jdbcType=VARCHAR}, #{dsrGmNl,jdbcType=VARCHAR}, 
      #{dsrGmSfz,jdbcType=VARCHAR}, #{dsrGmDz,jdbcType=VARCHAR}, #{dsrGmTel,jdbcType=VARCHAR}, 
      #{sajlqm,jdbcType=VARCHAR}, #{createTime,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, 
      #{ylzd1,jdbcType=VARCHAR}, #{ylzd2,jdbcType=VARCHAR}, #{ylzd3,jdbcType=VARCHAR}, 
      #{ylzd4,jdbcType=VARCHAR}, #{ylzd5,jdbcType=VARCHAR}, #{state7,jdbcType=VARCHAR}, 
      #{creatorName,jdbcType=VARCHAR}, #{ajfl,jdbcType=VARCHAR}, #{ajyx,jdbcType=VARCHAR}, 
      #{isZdaj,jdbcType=VARCHAR}, #{ylzd25,jdbcType=VARCHAR}, #{executeCondition,jdbcType=VARCHAR}, 
      #{reconsideration,jdbcType=VARCHAR}, #{brief,jdbcType=VARCHAR}, #{sajl,jdbcType=LONGVARCHAR}
      )
  </insert>
  <insert id="insertSelective" parameterType="com.ruoyi.system.domain.lawcase.CaseLawEnforcement">
    insert into case_law_enforcement
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="id != null">
        id,
      </if>
      <if test="sjqlss != null">
        sjqlss,
      </if>
      <if test="ajbm != null">
        ajbm,
      </if>
      <if test="ajlyLx != null">
        ajly_lx,
      </if>
      <if test="ajlyMc != null">
        ajly_mc,
      </if>
      <if test="ajlyDz != null">
        ajly_dz,
      </if>
      <if test="ajlyTel != null">
        ajly_tel,
      </if>
      <if test="sasj != null">
        sasj,
      </if>
      <if test="afsj != null">
        afsj,
      </if>
      <if test="afdd != null">
        afdd,
      </if>
      <if test="dsrFrMc != null">
        dsr_fr_mc,
      </if>
      <if test="dsrFrXm != null">
        dsr_fr_xm,
      </if>
      <if test="dsrFrZw != null">
        dsr_fr_zw,
      </if>
      <if test="dsrFrDz != null">
        dsr_fr_dz,
      </if>
      <if test="dsrFrTel != null">
        dsr_fr_tel,
      </if>
      <if test="dsrGmXm != null">
        dsr_gm_xm,
      </if>
      <if test="dsrGmXb != null">
        dsr_gm_xb,
      </if>
      <if test="dsrGmNl != null">
        dsr_gm_nl,
      </if>
      <if test="dsrGmSfz != null">
        dsr_gm_sfz,
      </if>
      <if test="dsrGmDz != null">
        dsr_gm_dz,
      </if>
      <if test="dsrGmTel != null">
        dsr_gm_tel,
      </if>
      <if test="sajlqm != null">
        sajlqm,
      </if>
      <if test="createTime != null">
        create_time,
      </if>
      <if test="createBy != null">
        create_by,
      </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="state7 != null">
        state7,
      </if>
      <if test="creatorName != null">
        creator_name,
      </if>
      <if test="ajfl != null">
        ajfl,
      </if>
      <if test="ajyx != null">
        ajyx,
      </if>
      <if test="isZdaj != null">
        is_zdaj,
      </if>
      <if test="ylzd25 != null">
        ylzd25,
      </if>
      <if test="executeCondition != null">
        execute_condition,
      </if>
      <if test="reconsideration != null">
        reconsideration,
      </if>
      <if test="brief != null">
        brief,
      </if>
      <if test="sajl != null">
        sajl,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides=",">
      <if test="id != null">
        #{id,jdbcType=VARCHAR},
      </if>
      <if test="sjqlss != null">
        #{sjqlss,jdbcType=VARCHAR},
      </if>
      <if test="ajbm != null">
        #{ajbm,jdbcType=VARCHAR},
      </if>
      <if test="ajlyLx != null">
        #{ajlyLx,jdbcType=VARCHAR},
      </if>
      <if test="ajlyMc != null">
        #{ajlyMc,jdbcType=VARCHAR},
      </if>
      <if test="ajlyDz != null">
        #{ajlyDz,jdbcType=VARCHAR},
      </if>
      <if test="ajlyTel != null">
        #{ajlyTel,jdbcType=VARCHAR},
      </if>
      <if test="sasj != null">
        #{sasj,jdbcType=VARCHAR},
      </if>
      <if test="afsj != null">
        #{afsj,jdbcType=VARCHAR},
      </if>
      <if test="afdd != null">
        #{afdd,jdbcType=VARCHAR},
      </if>
      <if test="dsrFrMc != null">
        #{dsrFrMc,jdbcType=VARCHAR},
      </if>
      <if test="dsrFrXm != null">
        #{dsrFrXm,jdbcType=VARCHAR},
      </if>
      <if test="dsrFrZw != null">
        #{dsrFrZw,jdbcType=VARCHAR},
      </if>
      <if test="dsrFrDz != null">
        #{dsrFrDz,jdbcType=VARCHAR},
      </if>
      <if test="dsrFrTel != null">
        #{dsrFrTel,jdbcType=VARCHAR},
      </if>
      <if test="dsrGmXm != null">
        #{dsrGmXm,jdbcType=VARCHAR},
      </if>
      <if test="dsrGmXb != null">
        #{dsrGmXb,jdbcType=VARCHAR},
      </if>
      <if test="dsrGmNl != null">
        #{dsrGmNl,jdbcType=VARCHAR},
      </if>
      <if test="dsrGmSfz != null">
        #{dsrGmSfz,jdbcType=VARCHAR},
      </if>
      <if test="dsrGmDz != null">
        #{dsrGmDz,jdbcType=VARCHAR},
      </if>
      <if test="dsrGmTel != null">
        #{dsrGmTel,jdbcType=VARCHAR},
      </if>
      <if test="sajlqm != null">
        #{sajlqm,jdbcType=VARCHAR},
      </if>
      <if test="createTime != null">
        #{createTime,jdbcType=VARCHAR},
      </if>
      <if test="createBy != null">
        #{createBy,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="state7 != null">
        #{state7,jdbcType=VARCHAR},
      </if>
      <if test="creatorName != null">
        #{creatorName,jdbcType=VARCHAR},
      </if>
      <if test="ajfl != null">
        #{ajfl,jdbcType=VARCHAR},
      </if>
      <if test="ajyx != null">
        #{ajyx,jdbcType=VARCHAR},
      </if>
      <if test="isZdaj != null">
        #{isZdaj,jdbcType=VARCHAR},
      </if>
      <if test="ylzd25 != null">
        #{ylzd25,jdbcType=VARCHAR},
      </if>
      <if test="executeCondition != null">
        #{executeCondition,jdbcType=VARCHAR},
      </if>
      <if test="reconsideration != null">
        #{reconsideration,jdbcType=VARCHAR},
      </if>
      <if test="brief != null">
        #{brief,jdbcType=VARCHAR},
      </if>
      <if test="sajl != null">
        #{sajl,jdbcType=LONGVARCHAR},
      </if>
    </trim>
  </insert>
  <select id="countByExample" parameterType="com.ruoyi.system.domain.lawcase.CaseLawEnforcementExample" resultType="java.lang.Long">
    select count(*) from case_law_enforcement
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </select>
  <update id="updateByExampleSelective" parameterType="map">
    update case_law_enforcement
    <set>
      <if test="record.id != null">
        id = #{record.id,jdbcType=VARCHAR},
      </if>
      <if test="record.sjqlss != null">
        sjqlss = #{record.sjqlss,jdbcType=VARCHAR},
      </if>
      <if test="record.ajbm != null">
        ajbm = #{record.ajbm,jdbcType=VARCHAR},
      </if>
      <if test="record.ajlyLx != null">
        ajly_lx = #{record.ajlyLx,jdbcType=VARCHAR},
      </if>
      <if test="record.ajlyMc != null">
        ajly_mc = #{record.ajlyMc,jdbcType=VARCHAR},
      </if>
      <if test="record.ajlyDz != null">
        ajly_dz = #{record.ajlyDz,jdbcType=VARCHAR},
      </if>
      <if test="record.ajlyTel != null">
        ajly_tel = #{record.ajlyTel,jdbcType=VARCHAR},
      </if>
      <if test="record.sasj != null">
        sasj = #{record.sasj,jdbcType=VARCHAR},
      </if>
      <if test="record.afsj != null">
        afsj = #{record.afsj,jdbcType=VARCHAR},
      </if>
      <if test="record.afdd != null">
        afdd = #{record.afdd,jdbcType=VARCHAR},
      </if>
      <if test="record.dsrFrMc != null">
        dsr_fr_mc = #{record.dsrFrMc,jdbcType=VARCHAR},
      </if>
      <if test="record.dsrFrXm != null">
        dsr_fr_xm = #{record.dsrFrXm,jdbcType=VARCHAR},
      </if>
      <if test="record.dsrFrZw != null">
        dsr_fr_zw = #{record.dsrFrZw,jdbcType=VARCHAR},
      </if>
      <if test="record.dsrFrDz != null">
        dsr_fr_dz = #{record.dsrFrDz,jdbcType=VARCHAR},
      </if>
      <if test="record.dsrFrTel != null">
        dsr_fr_tel = #{record.dsrFrTel,jdbcType=VARCHAR},
      </if>
      <if test="record.dsrGmXm != null">
        dsr_gm_xm = #{record.dsrGmXm,jdbcType=VARCHAR},
      </if>
      <if test="record.dsrGmXb != null">
        dsr_gm_xb = #{record.dsrGmXb,jdbcType=VARCHAR},
      </if>
      <if test="record.dsrGmNl != null">
        dsr_gm_nl = #{record.dsrGmNl,jdbcType=VARCHAR},
      </if>
      <if test="record.dsrGmSfz != null">
        dsr_gm_sfz = #{record.dsrGmSfz,jdbcType=VARCHAR},
      </if>
      <if test="record.dsrGmDz != null">
        dsr_gm_dz = #{record.dsrGmDz,jdbcType=VARCHAR},
      </if>
      <if test="record.dsrGmTel != null">
        dsr_gm_tel = #{record.dsrGmTel,jdbcType=VARCHAR},
      </if>
      <if test="record.sajlqm != null">
        sajlqm = #{record.sajlqm,jdbcType=VARCHAR},
      </if>
      <if test="record.createTime != null">
        create_time = #{record.createTime,jdbcType=VARCHAR},
      </if>
      <if test="record.createBy != null">
        create_by = #{record.createBy,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.state7 != null">
        state7 = #{record.state7,jdbcType=VARCHAR},
      </if>
      <if test="record.creatorName != null">
        creator_name = #{record.creatorName,jdbcType=VARCHAR},
      </if>
      <if test="record.ajfl != null">
        ajfl = #{record.ajfl,jdbcType=VARCHAR},
      </if>
      <if test="record.ajyx != null">
        ajyx = #{record.ajyx,jdbcType=VARCHAR},
      </if>
      <if test="record.isZdaj != null">
        is_zdaj = #{record.isZdaj,jdbcType=VARCHAR},
      </if>
      <if test="record.ylzd25 != null">
        ylzd25 = #{record.ylzd25,jdbcType=VARCHAR},
      </if>
      <if test="record.executeCondition != null">
        execute_condition = #{record.executeCondition,jdbcType=VARCHAR},
      </if>
      <if test="record.reconsideration != null">
        reconsideration = #{record.reconsideration,jdbcType=VARCHAR},
      </if>
      <if test="record.brief != null">
        brief = #{record.brief,jdbcType=VARCHAR},
      </if>
      <if test="record.sajl != null">
        sajl = #{record.sajl,jdbcType=LONGVARCHAR},
      </if>
    </set>
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByExampleWithBLOBs" parameterType="map">
    update case_law_enforcement
    set id = #{record.id,jdbcType=VARCHAR},
      sjqlss = #{record.sjqlss,jdbcType=VARCHAR},
      ajbm = #{record.ajbm,jdbcType=VARCHAR},
      ajly_lx = #{record.ajlyLx,jdbcType=VARCHAR},
      ajly_mc = #{record.ajlyMc,jdbcType=VARCHAR},
      ajly_dz = #{record.ajlyDz,jdbcType=VARCHAR},
      ajly_tel = #{record.ajlyTel,jdbcType=VARCHAR},
      sasj = #{record.sasj,jdbcType=VARCHAR},
      afsj = #{record.afsj,jdbcType=VARCHAR},
      afdd = #{record.afdd,jdbcType=VARCHAR},
      dsr_fr_mc = #{record.dsrFrMc,jdbcType=VARCHAR},
      dsr_fr_xm = #{record.dsrFrXm,jdbcType=VARCHAR},
      dsr_fr_zw = #{record.dsrFrZw,jdbcType=VARCHAR},
      dsr_fr_dz = #{record.dsrFrDz,jdbcType=VARCHAR},
      dsr_fr_tel = #{record.dsrFrTel,jdbcType=VARCHAR},
      dsr_gm_xm = #{record.dsrGmXm,jdbcType=VARCHAR},
      dsr_gm_xb = #{record.dsrGmXb,jdbcType=VARCHAR},
      dsr_gm_nl = #{record.dsrGmNl,jdbcType=VARCHAR},
      dsr_gm_sfz = #{record.dsrGmSfz,jdbcType=VARCHAR},
      dsr_gm_dz = #{record.dsrGmDz,jdbcType=VARCHAR},
      dsr_gm_tel = #{record.dsrGmTel,jdbcType=VARCHAR},
      sajlqm = #{record.sajlqm,jdbcType=VARCHAR},
      create_time = #{record.createTime,jdbcType=VARCHAR},
      create_by = #{record.createBy,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},
      state7 = #{record.state7,jdbcType=VARCHAR},
      creator_name = #{record.creatorName,jdbcType=VARCHAR},
      ajfl = #{record.ajfl,jdbcType=VARCHAR},
      ajyx = #{record.ajyx,jdbcType=VARCHAR},
      is_zdaj = #{record.isZdaj,jdbcType=VARCHAR},
      ylzd25 = #{record.ylzd25,jdbcType=VARCHAR},
      execute_condition = #{record.executeCondition,jdbcType=VARCHAR},
      reconsideration = #{record.reconsideration,jdbcType=VARCHAR},
      brief = #{record.brief,jdbcType=VARCHAR},
      sajl = #{record.sajl,jdbcType=LONGVARCHAR}
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByExample" parameterType="map">
    update case_law_enforcement
    set id = #{record.id,jdbcType=VARCHAR},
      sjqlss = #{record.sjqlss,jdbcType=VARCHAR},
      ajbm = #{record.ajbm,jdbcType=VARCHAR},
      ajly_lx = #{record.ajlyLx,jdbcType=VARCHAR},
      ajly_mc = #{record.ajlyMc,jdbcType=VARCHAR},
      ajly_dz = #{record.ajlyDz,jdbcType=VARCHAR},
      ajly_tel = #{record.ajlyTel,jdbcType=VARCHAR},
      sasj = #{record.sasj,jdbcType=VARCHAR},
      afsj = #{record.afsj,jdbcType=VARCHAR},
      afdd = #{record.afdd,jdbcType=VARCHAR},
      dsr_fr_mc = #{record.dsrFrMc,jdbcType=VARCHAR},
      dsr_fr_xm = #{record.dsrFrXm,jdbcType=VARCHAR},
      dsr_fr_zw = #{record.dsrFrZw,jdbcType=VARCHAR},
      dsr_fr_dz = #{record.dsrFrDz,jdbcType=VARCHAR},
      dsr_fr_tel = #{record.dsrFrTel,jdbcType=VARCHAR},
      dsr_gm_xm = #{record.dsrGmXm,jdbcType=VARCHAR},
      dsr_gm_xb = #{record.dsrGmXb,jdbcType=VARCHAR},
      dsr_gm_nl = #{record.dsrGmNl,jdbcType=VARCHAR},
      dsr_gm_sfz = #{record.dsrGmSfz,jdbcType=VARCHAR},
      dsr_gm_dz = #{record.dsrGmDz,jdbcType=VARCHAR},
      dsr_gm_tel = #{record.dsrGmTel,jdbcType=VARCHAR},
      sajlqm = #{record.sajlqm,jdbcType=VARCHAR},
      create_time = #{record.createTime,jdbcType=VARCHAR},
      create_by = #{record.createBy,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},
      state7 = #{record.state7,jdbcType=VARCHAR},
      creator_name = #{record.creatorName,jdbcType=VARCHAR},
      ajfl = #{record.ajfl,jdbcType=VARCHAR},
      ajyx = #{record.ajyx,jdbcType=VARCHAR},
      is_zdaj = #{record.isZdaj,jdbcType=VARCHAR},
      ylzd25 = #{record.ylzd25,jdbcType=VARCHAR},
      execute_condition = #{record.executeCondition,jdbcType=VARCHAR},
      reconsideration = #{record.reconsideration,jdbcType=VARCHAR},
      brief = #{record.brief,jdbcType=VARCHAR}
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByPrimaryKeySelective" parameterType="com.ruoyi.system.domain.lawcase.CaseLawEnforcement">
    update case_law_enforcement
    <set>
      <if test="sjqlss != null">
        sjqlss = #{sjqlss,jdbcType=VARCHAR},
      </if>
      <if test="ajbm != null">
        ajbm = #{ajbm,jdbcType=VARCHAR},
      </if>
      <if test="ajlyLx != null">
        ajly_lx = #{ajlyLx,jdbcType=VARCHAR},
      </if>
      <if test="ajlyMc != null">
        ajly_mc = #{ajlyMc,jdbcType=VARCHAR},
      </if>
      <if test="ajlyDz != null">
        ajly_dz = #{ajlyDz,jdbcType=VARCHAR},
      </if>
      <if test="ajlyTel != null">
        ajly_tel = #{ajlyTel,jdbcType=VARCHAR},
      </if>
      <if test="sasj != null">
        sasj = #{sasj,jdbcType=VARCHAR},
      </if>
      <if test="afsj != null">
        afsj = #{afsj,jdbcType=VARCHAR},
      </if>
      <if test="afdd != null">
        afdd = #{afdd,jdbcType=VARCHAR},
      </if>
      <if test="dsrFrMc != null">
        dsr_fr_mc = #{dsrFrMc,jdbcType=VARCHAR},
      </if>
      <if test="dsrFrXm != null">
        dsr_fr_xm = #{dsrFrXm,jdbcType=VARCHAR},
      </if>
      <if test="dsrFrZw != null">
        dsr_fr_zw = #{dsrFrZw,jdbcType=VARCHAR},
      </if>
      <if test="dsrFrDz != null">
        dsr_fr_dz = #{dsrFrDz,jdbcType=VARCHAR},
      </if>
      <if test="dsrFrTel != null">
        dsr_fr_tel = #{dsrFrTel,jdbcType=VARCHAR},
      </if>
      <if test="dsrGmXm != null">
        dsr_gm_xm = #{dsrGmXm,jdbcType=VARCHAR},
      </if>
      <if test="dsrGmXb != null">
        dsr_gm_xb = #{dsrGmXb,jdbcType=VARCHAR},
      </if>
      <if test="dsrGmNl != null">
        dsr_gm_nl = #{dsrGmNl,jdbcType=VARCHAR},
      </if>
      <if test="dsrGmSfz != null">
        dsr_gm_sfz = #{dsrGmSfz,jdbcType=VARCHAR},
      </if>
      <if test="dsrGmDz != null">
        dsr_gm_dz = #{dsrGmDz,jdbcType=VARCHAR},
      </if>
      <if test="dsrGmTel != null">
        dsr_gm_tel = #{dsrGmTel,jdbcType=VARCHAR},
      </if>
      <if test="sajlqm != null">
        sajlqm = #{sajlqm,jdbcType=VARCHAR},
      </if>
      <if test="createTime != null">
        create_time = #{createTime,jdbcType=VARCHAR},
      </if>
      <if test="createBy != null">
        create_by = #{createBy,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="state7 != null">
        state7 = #{state7,jdbcType=VARCHAR},
      </if>
      <if test="creatorName != null">
        creator_name = #{creatorName,jdbcType=VARCHAR},
      </if>
      <if test="ajfl != null">
        ajfl = #{ajfl,jdbcType=VARCHAR},
      </if>
      <if test="ajyx != null">
        ajyx = #{ajyx,jdbcType=VARCHAR},
      </if>
      <if test="isZdaj != null">
        is_zdaj = #{isZdaj,jdbcType=VARCHAR},
      </if>
      <if test="ylzd25 != null">
        ylzd25 = #{ylzd25,jdbcType=VARCHAR},
      </if>
      <if test="executeCondition != null">
        execute_condition = #{executeCondition,jdbcType=VARCHAR},
      </if>
      <if test="reconsideration != null">
        reconsideration = #{reconsideration,jdbcType=VARCHAR},
      </if>
      <if test="brief != null">
        brief = #{brief,jdbcType=VARCHAR},
      </if>
      <if test="sajl != null">
        sajl = #{sajl,jdbcType=LONGVARCHAR},
      </if>
    </set>
    where id = #{id,jdbcType=VARCHAR}
  </update>
  <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.ruoyi.system.domain.lawcase.CaseLawEnforcement">
    update case_law_enforcement
    set sjqlss = #{sjqlss,jdbcType=VARCHAR},
      ajbm = #{ajbm,jdbcType=VARCHAR},
      ajly_lx = #{ajlyLx,jdbcType=VARCHAR},
      ajly_mc = #{ajlyMc,jdbcType=VARCHAR},
      ajly_dz = #{ajlyDz,jdbcType=VARCHAR},
      ajly_tel = #{ajlyTel,jdbcType=VARCHAR},
      sasj = #{sasj,jdbcType=VARCHAR},
      afsj = #{afsj,jdbcType=VARCHAR},
      afdd = #{afdd,jdbcType=VARCHAR},
      dsr_fr_mc = #{dsrFrMc,jdbcType=VARCHAR},
      dsr_fr_xm = #{dsrFrXm,jdbcType=VARCHAR},
      dsr_fr_zw = #{dsrFrZw,jdbcType=VARCHAR},
      dsr_fr_dz = #{dsrFrDz,jdbcType=VARCHAR},
      dsr_fr_tel = #{dsrFrTel,jdbcType=VARCHAR},
      dsr_gm_xm = #{dsrGmXm,jdbcType=VARCHAR},
      dsr_gm_xb = #{dsrGmXb,jdbcType=VARCHAR},
      dsr_gm_nl = #{dsrGmNl,jdbcType=VARCHAR},
      dsr_gm_sfz = #{dsrGmSfz,jdbcType=VARCHAR},
      dsr_gm_dz = #{dsrGmDz,jdbcType=VARCHAR},
      dsr_gm_tel = #{dsrGmTel,jdbcType=VARCHAR},
      sajlqm = #{sajlqm,jdbcType=VARCHAR},
      create_time = #{createTime,jdbcType=VARCHAR},
      create_by = #{createBy,jdbcType=VARCHAR},
      ylzd1 = #{ylzd1,jdbcType=VARCHAR},
      ylzd2 = #{ylzd2,jdbcType=VARCHAR},
      ylzd3 = #{ylzd3,jdbcType=VARCHAR},
      ylzd4 = #{ylzd4,jdbcType=VARCHAR},
      ylzd5 = #{ylzd5,jdbcType=VARCHAR},
      state7 = #{state7,jdbcType=VARCHAR},
      creator_name = #{creatorName,jdbcType=VARCHAR},
      ajfl = #{ajfl,jdbcType=VARCHAR},
      ajyx = #{ajyx,jdbcType=VARCHAR},
      is_zdaj = #{isZdaj,jdbcType=VARCHAR},
      ylzd25 = #{ylzd25,jdbcType=VARCHAR},
      execute_condition = #{executeCondition,jdbcType=VARCHAR},
      reconsideration = #{reconsideration,jdbcType=VARCHAR},
      brief = #{brief,jdbcType=VARCHAR},
      sajl = #{sajl,jdbcType=LONGVARCHAR}
    where id = #{id,jdbcType=VARCHAR}
  </update>
  <update id="updateByPrimaryKey" parameterType="com.ruoyi.system.domain.lawcase.CaseLawEnforcement">
    update case_law_enforcement
    set sjqlss = #{sjqlss,jdbcType=VARCHAR},
      ajbm = #{ajbm,jdbcType=VARCHAR},
      ajly_lx = #{ajlyLx,jdbcType=VARCHAR},
      ajly_mc = #{ajlyMc,jdbcType=VARCHAR},
      ajly_dz = #{ajlyDz,jdbcType=VARCHAR},
      ajly_tel = #{ajlyTel,jdbcType=VARCHAR},
      sasj = #{sasj,jdbcType=VARCHAR},
      afsj = #{afsj,jdbcType=VARCHAR},
      afdd = #{afdd,jdbcType=VARCHAR},
      dsr_fr_mc = #{dsrFrMc,jdbcType=VARCHAR},
      dsr_fr_xm = #{dsrFrXm,jdbcType=VARCHAR},
      dsr_fr_zw = #{dsrFrZw,jdbcType=VARCHAR},
      dsr_fr_dz = #{dsrFrDz,jdbcType=VARCHAR},
      dsr_fr_tel = #{dsrFrTel,jdbcType=VARCHAR},
      dsr_gm_xm = #{dsrGmXm,jdbcType=VARCHAR},
      dsr_gm_xb = #{dsrGmXb,jdbcType=VARCHAR},
      dsr_gm_nl = #{dsrGmNl,jdbcType=VARCHAR},
      dsr_gm_sfz = #{dsrGmSfz,jdbcType=VARCHAR},
      dsr_gm_dz = #{dsrGmDz,jdbcType=VARCHAR},
      dsr_gm_tel = #{dsrGmTel,jdbcType=VARCHAR},
      sajlqm = #{sajlqm,jdbcType=VARCHAR},
      create_time = #{createTime,jdbcType=VARCHAR},
      create_by = #{createBy,jdbcType=VARCHAR},
      ylzd1 = #{ylzd1,jdbcType=VARCHAR},
      ylzd2 = #{ylzd2,jdbcType=VARCHAR},
      ylzd3 = #{ylzd3,jdbcType=VARCHAR},
      ylzd4 = #{ylzd4,jdbcType=VARCHAR},
      ylzd5 = #{ylzd5,jdbcType=VARCHAR},
      state7 = #{state7,jdbcType=VARCHAR},
      creator_name = #{creatorName,jdbcType=VARCHAR},
      ajfl = #{ajfl,jdbcType=VARCHAR},
      ajyx = #{ajyx,jdbcType=VARCHAR},
      is_zdaj = #{isZdaj,jdbcType=VARCHAR},
      ylzd25 = #{ylzd25,jdbcType=VARCHAR},
      execute_condition = #{executeCondition,jdbcType=VARCHAR},
      reconsideration = #{reconsideration,jdbcType=VARCHAR},
      brief = #{brief,jdbcType=VARCHAR}
    where id = #{id,jdbcType=VARCHAR}
  </update>
</mapper>