刘小明
2024-08-26 591e3b8a10ed15023f3ad9e5a72a887ef89b0bb2
pms-parent/pms-global/src/main/resources/mapper/OthFileMapper.xml
@@ -42,48 +42,48 @@
    <!--@mbg.generated-->
    insert into oth_file
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="id != null">
      <if test="id != null and id !=''">
        id,
      </if>
      <if test="orgName != null">
      <if test="orgName!= null and orgName !=''">
        org_name,
      </if>
      <if test="extName != null">
      <if test="extName!= null and extName !=''">
        ext_name,
      </if>
      <if test="newName != null">
      <if test="newName!= null and newName !=''">
        new_name,
      </if>
      <if test="hash != null">
      <if test="hash!= null and hash !=''">
        hash,
      </if>
      <if test="filePath != null">
      <if test="filePath!= null and filePath !=''">
        file_path,
      </if>
      <if test="dt != null">
      <if test="dt != null and dt !=''">
        dt,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides=",">
      <if test="id != null">
      <if test="id != null and id !=''">
        #{id},
      </if>
      <if test="orgName != null">
      <if test="orgName!= null and orgName !=''">
        #{orgName},
      </if>
      <if test="extName != null">
      <if test="extName!= null and extName !=''">
        #{extName},
      </if>
      <if test="newName != null">
      <if test="newName!= null and newName !=''">
        #{newName},
      </if>
      <if test="hash != null">
      <if test="hash!= null and hash !=''">
        #{hash},
      </if>
      <if test="filePath != null">
      <if test="filePath!= null and filePath !=''">
        #{filePath},
      </if>
      <if test="dt != null">
      <if test="dt != null and dt !=''">
        #{dt},
      </if>
    </trim>
@@ -92,22 +92,22 @@
    <!--@mbg.generated-->
    update oth_file
    <set>
      <if test="orgName != null">
      <if test="orgName!= null and orgName !=''">
        org_name = #{orgName},
      </if>
      <if test="extName != null">
      <if test="extName!= null and extName !=''">
        ext_name = #{extName},
      </if>
      <if test="newName != null">
      <if test="newName!= null and newName !=''">
        new_name = #{newName},
      </if>
      <if test="hash != null">
      <if test="hash!= null and hash !=''">
        hash = #{hash},
      </if>
      <if test="filePath != null">
      <if test="filePath!= null and filePath !=''">
        file_path = #{filePath},
      </if>
      <if test="dt != null">
      <if test="dt != null and dt !=''">
        dt = #{dt},
      </if>
    </set>