hongjli
2025-05-14 3d191e81842cf3bcd6f841fbe2fc3d451c45ef99
aps-modules/aps-system/src/main/resources/mapper/system/SysPostMapper.xml
@@ -26,13 +26,13 @@
       <include refid="selectPostVo"/>
      <where>
         <if test="postCode != null and postCode != ''">
            AND post_code like concat('%', #{postCode}, '%')
            AND post_code like '%' || #{postCode} || '%'
         </if>
         <if test="status != null and status != ''">
            AND status = #{status}
         </if>
         <if test="postName != null and postName != ''">
            AND post_name like concat('%', #{postName}, '%')
            AND post_name like '%' || #{postName} || '%'
         </if>
      </where>
   </select>
@@ -81,7 +81,7 @@
          <if test="status != null and status != ''">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 post_id = #{postId}
   </update>
@@ -104,7 +104,7 @@
          <if test="status != null and status != ''">#{status},</if>
          <if test="remark != null and remark != ''">#{remark},</if>
          <if test="createBy != null and createBy != ''">#{createBy},</if>
          sysdate()
          now()
       )
   </insert>