liding
7 天以前 8a535e72a7a0719c3078e9447fe0faefafa27231
ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml
@@ -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>