src/main/resources/mapper/OrderMapper.xml
@@ -52,6 +52,17 @@ where 1=1 and id = #{orderId} </update> <update id="updateSettleByOrderNo"> update man_order set settle = #{status} ,update_time = getdate() <if test="userId != null"> ,update_by = #{userId} </if> where 1=1 and order_no = #{orderNo} and settle != #{status} </update> <select id="selectComplete" resultMap="BaseResultMap"> select