刘小明
2024-08-27 53a365fb64b49ee85f528341c785c4beab1d1f43
pms-parent/pms-global/src/main/resources/mapper/BaLogMapper.xml
@@ -36,7 +36,7 @@
    <!--@mbg.generated-->
    insert into ba_log
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="userId != null and userId !=''">
      <if test="userId != null">
        user_id,
      </if>
      <if test="userName != null and userName !=''">
@@ -56,7 +56,7 @@
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides=",">
      <if test="userId != null and userId !=''">
      <if test="userId != null">
        #{userId,jdbcType=BIGINT},
      </if>
      <if test="userName != null and userName !=''">
@@ -82,7 +82,7 @@
    <include refid="Base_Column_List" />
    from ba_log r
    <trim prefix="where " suffixOverrides="and">
      <if test="userId != null and userId != ''">
      <if test="userId != null">
        user_id = #{userId,jdbcType=BIGINT} and
      </if>
      <if test="userName != null and userName != ''">
@@ -110,7 +110,7 @@
    select count(1)
    from ba_log r
    <trim prefix="where " suffixOverrides="and">
      <if test="userId != null and userId != ''">
      <if test="userId != null">
        user_id = #{userId,jdbcType=BIGINT} and
      </if>
      <if test="userName != null and userName != ''">