sfd
2025-05-15 a8a2ea850139b9cccb756989fc70201f6a2a0550
aps-modules/aps-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
@@ -24,13 +24,13 @@
       <include refid="selectDictTypeVo"/>
      <where>
          <if test="dictName != null and dictName != ''">
            AND dict_name like concat('%', #{dictName}, '%')
            AND dict_name like '%' || #{dictName} || '%'
         </if>
         <if test="status != null and status != ''">
            AND status = #{status}
         </if>
         <if test="dictType != null and dictType != ''">
            AND dict_type like concat('%', #{dictType}, '%')
            AND dict_type like '%' || #{dictType} || '%'
         </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')
@@ -79,7 +79,7 @@
          <if test="status != null">status = #{status},</if>
          <if test="remark != null">remark = #{remark},</if>
          <if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
          update_time = sysdate()
          update_time = now()
       </set>
       where dict_id = #{dictId}
   </update>
@@ -98,7 +98,7 @@
          <if test="status != null">#{status},</if>
          <if test="remark != null and remark != ''">#{remark},</if>
          <if test="createBy != null and createBy != ''">#{createBy},</if>
          sysdate()
          now()
       )
   </insert>