src/main/resources/mapper/OrderMapper.xml
@@ -64,7 +64,7 @@ update man_order set settle = #{settle} ,update_time = getdate() ,plt_type = #{plt} ,plt_type = #{plt} ,in_time = #{inTime} where 1=1 and id = #{orderId} @@ -88,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>