src/main/resources/mapper/OrderMapper.xml
@@ -42,6 +42,13 @@ </resultMap> <update id="updateTel"> update man_order set tel = #{tel} where 1=1 and id = #{orderId} </update> <update id="updateSettle"> update man_order set settle = #{settle} @@ -53,6 +60,16 @@ and id = #{orderId} </update> <update id="updateSettle2"> update man_order set settle = #{settle} ,update_time = getdate() ,plt_type = #{plt} ,in_time = #{inTime} where 1=1 and id = #{orderId} </update> <select id="selectComplete" resultMap="BaseResultMap"> select TOP 5 * from man_order