src/main/resources/mapper/OrderMapper.xml
@@ -64,9 +64,7 @@ update man_order set settle = #{settle} ,update_time = getdate() <if test="plt != null"> ,plt_type = #{plt} </if> ,plt_type = #{plt} ,in_time = #{inTime} where 1=1 and id = #{orderId} @@ -90,4 +88,13 @@ </if> </select> <select id="selectThreeCode" parameterType="string" resultType="string"> select top 50 three_code from three_code_view where 1=1 <if test="threeCode != null"> and three_code like '%' + #{threeCode} + '%' </if> </select> </mapper>