src/main/resources/mapper/OrderMapper.xml
@@ -46,7 +46,9 @@ update man_order set settle = #{settle} ,update_time = getdate() ,update_by = #{userId} <if test="userId != null"> ,update_by = #{userId} </if> where 1=1 and id = #{orderId} </update>