hongjli
2025-05-14 3d191e81842cf3bcd6f841fbe2fc3d451c45ef99
aps-modules/aps-system/src/main/resources/mapper/system/SysConfigMapper.xml
@@ -42,13 +42,13 @@
        <include refid="selectConfigVo"/>
        <where>
         <if test="configName != null and configName != ''">
            AND config_name like concat('%', #{configName}, '%')
            AND config_name like '%' || #{configName} || '%'
         </if>
         <if test="configType != null and configType != ''">
            AND config_type = #{configType}
         </if>
         <if test="configKey != null and configKey != ''">
            AND config_key like concat('%', #{configKey}, '%')
            AND config_key like '%' || #{configKey} || '%'
         </if>
         <if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 -->
            and date_format(create_time,'%Y%m%d') &gt;= date_format(#{params.beginTime},'%Y%m%d')
@@ -85,7 +85,7 @@
         <if test="configType != null and configType != ''">#{configType},</if>
         <if test="createBy != null and createBy != ''">#{createBy},</if>
         <if test="remark != null and remark != ''">#{remark},</if>
          sysdate()
          now()
      )
    </insert>
    
@@ -98,7 +98,7 @@
            <if test="configType != null and configType != ''">config_type = #{configType},</if>
            <if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
            <if test="remark != null">remark = #{remark},</if>
          update_time = sysdate()
          update_time = now()
        </set>
        where config_id = #{configId}
    </update>